Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ErrorMessage Class Reference
[Exceptions]

#include <lemon/error.h>

List of all members.


Detailed Description

Helper class which provides a convenient ostream-like (operator << based) interface to create a string message. Mostly useful in exception classes (therefore the name).

Definition at line 43 of file error.h.

Public Member Functions

 ErrorMessage () throw ()
 
 ErrorMessage (const char *message) throw ()
 
 ErrorMessage (const std::string &message) throw ()
 
template<typename T>
ErrorMessageoperator<< (const T &t) throw ()
 
const char * message () throw ()
 

Protected Member Functions

bool init () throw ()
 

Protected Attributes

std::auto_ptr< std::ostringstream > buf


Member Data Documentation

std::auto_ptr<std::ostringstream> buf [mutable, protected]
 

todo 34

Definition at line 48 of file error.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 21 15:02:31 2005 for LEMON by  doxygen 1.4.1