error_msg Class Reference

Error message - stack of single_error s. More...

#include <error.h>

List of all members.

Public Member Functions

 error_msg ()
 Constructor.
 error_msg (char *code)
 Constructor.
 error_msg (const char *code, const char *msg,...)
 Constructor.
void add (single_error err)
 Add one error message to the stack.
void add (string code)
 Add one error message to the stack.
void add (string code, string msg)
 Add one error message to the stack.
string what ()
 Return all messages as a text.

Public Attributes

vector< single_errorerrors_stack
 Stack of errors.


Detailed Description

Error message - stack of single_error s.

Definition at line 53 of file error.h.


Constructor & Destructor Documentation

error_msg::error_msg (  ) 

Constructor.

Referenced by error_msg().

Here is the caller graph for this function:

error_msg::error_msg ( char *  code  )  [inline]

Constructor.

one message added to the stack.

Definition at line 63 of file error.h.

References errors_stack.

error_msg::error_msg ( const char *  code,
const char *  msg,
  ... 
) [inline]

Constructor.

one message added to the stack.

!! len = _vscprintf( msg, args ) + 1;

Definition at line 74 of file error.h.

References error_msg(), and errors_stack.

Here is the call graph for this function:


Member Function Documentation

void error_msg::add ( string  code,
string  msg 
) [inline]

Add one error message to the stack.

Definition at line 109 of file error.h.

References errors_stack.

void error_msg::add ( string  code  )  [inline]

Add one error message to the stack.

Definition at line 102 of file error.h.

References errors_stack.

void error_msg::add ( single_error  err  )  [inline]

Add one error message to the stack.

Definition at line 95 of file error.h.

References errors_stack.

Referenced by DiffusionCoefficient::Get().

Here is the caller graph for this function:

string error_msg::what (  )  [inline]

Return all messages as a text.

Definition at line 116 of file error.h.

References errors_stack, and i.

Referenced by DiffusionCoefficient::Get(), and main().

Here is the caller graph for this function:


Member Data Documentation

Stack of errors.

Definition at line 56 of file error.h.

Referenced by add(), error_msg(), and what().


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

Generated on Thu May 27 11:53:19 2010 for VERB_CODE_2.0 by  doxygen 1.5.9