VERB_code_2.2  2
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
error_msg Class Reference

#include <error.h>

Public Member Functions

 error_msg ()
 Constructor. More...
 
 error_msg (char *code)
 
 error_msg (const char *code, const char *msg,...)
 
void add (single_error err)
 
void add (string code)
 
void add (string code, string msg)
 
string what ()
 

Public Attributes

vector< single_errorerrors_stack
 Stack of errors. More...
 

Detailed Description

Error message - stack of single_error s.

Definition at line 54 of file error.h.

Constructor & Destructor Documentation

error_msg::error_msg ( )

Constructor.

error_msg::error_msg ( char *  code)
inline

Constructor. one message added to the stack.

Definition at line 64 of file error.h.

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 75 of file error.h.

Member Function Documentation

void error_msg::add ( single_error  err)
inline

Add one error message to the stack.

Definition at line 96 of file error.h.

void error_msg::add ( string  code)
inline

Add one error message to the stack.

Definition at line 103 of file error.h.

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

Add one error message to the stack.

Definition at line 110 of file error.h.

string error_msg::what ( )
inline

Return all messages as a text.

Definition at line 117 of file error.h.

Member Data Documentation

vector<single_error> error_msg::errors_stack

Stack of errors.

Definition at line 57 of file error.h.


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