Index  Source Files  Annotated Class List  Alphabetical Class List  Class Hierarchy  Graphical Class Hierarchy 

FIX::CallStack::Context Class Reference

A single CallStack context (thread of execution). More...

#include <CallStack.h>

List of all members.

Public Member Functions

 Context ()
void caught (std::exception &)
void caught ()

Public Attributes

std::string exception
bool ignore

Detailed Description

A single CallStack context (thread of execution).

Definition at line 66 of file CallStack.h.


Constructor & Destructor Documentation

FIX::CallStack::Context::Context (  )  [inline]

Definition at line 69 of file CallStack.h.

00069 : ignore(false) {}


Member Function Documentation

void FIX::CallStack::Context::caught (  ) 

Definition at line 135 of file CallStack.cpp.

References exception.

00136   {
00137     exception = "unknown exception";
00138   }

void FIX::CallStack::Context::caught ( std::exception &  e  ) 

Definition at line 121 of file CallStack.cpp.

References exception.

Referenced by FIX::CallStack::caught().

00122   {
00123 #if TYPEINFO_IN_STD
00124     const std::type_info&
00125 #else
00126     const type_info&
00127 #endif
00128     type = typeid(e);
00129 
00130     std::stringstream s;
00131     s << type.name() << ": " << std::string(e.what());
00132     exception = s.str();
00133   }


Member Data Documentation

Definition at line 73 of file CallStack.h.

Referenced by caught(), and FIX::CallStack::output().


The documentation for this class was generated from the following files:

Generated on Mon Apr 5 20:59:58 2010 for QuickFIX by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2001