error_instance Class Reference

Instance of a single error containing a descriptive error message and the location in the file that the error took place. More...

#include <error.h>

List of all members.

Public Member Functions

 error_instance ()
 error_instance (const error_instance &a_e)
 error_instance (const std::string a_what, const std::string a_file, const uint16 a_line)
void clear (void)
void set (void)
void set (const error_instance &a_e)
void set (const std::string a_what, const std::string a_file, const uint16 a_line)
const std::string what (void) const
const std::string file (void) const
const uint16 line (void) const
error_instanceoperator= (const error_instance &a_e)

Private Attributes

std::string m_what
std::string m_file
uint16 m_line

Detailed Description

Instance of a single error containing a descriptive error message and the location in the file that the error took place.

Definition at line 17 of file error.h.


Constructor & Destructor Documentation

error_instance::error_instance (  ) 

Definition at line 29 of file error.cc.

References clear().

Here is the call graph for this function:

error_instance::error_instance ( const error_instance a_e  ) 

Definition at line 34 of file error.cc.

error_instance::error_instance ( const std::string  a_what,
const std::string  a_file,
const uint16  a_line 
)

Definition at line 39 of file error.cc.


Member Function Documentation

void error_instance::clear ( void   ) 

Definition at line 58 of file error.cc.

References internal_TRY_nomem, m_file, m_line, and m_what.

Referenced by error_instance(), and set().

const std::string error_instance::file ( void   )  const

Definition at line 116 of file error.cc.

References m_file.

Referenced by set(), and test1().

const uint16 error_instance::line ( void   )  const

Definition at line 121 of file error.cc.

References m_line.

Referenced by set(), and test1().

error_instance & error_instance::operator= ( const error_instance a_e  ) 

Definition at line 126 of file error.cc.

void error_instance::set ( const std::string  a_what,
const std::string  a_file,
const uint16  a_line 
)

Definition at line 73 of file error.cc.

References clear(), internal_TRY_nomem, m_file, m_line, and m_what.

Here is the call graph for this function:

void error_instance::set ( const error_instance a_e  ) 

Definition at line 92 of file error.cc.

References clear(), file(), internal_TRY_nomem, line(), m_file, m_line, m_what, and what().

Here is the call graph for this function:

void error_instance::set ( void   ) 

Definition at line 68 of file error.cc.

References clear().

Here is the call graph for this function:

const std::string error_instance::what ( void   )  const

Definition at line 104 of file error.cc.

References m_what.

Referenced by set(), and test1().


Member Data Documentation

std::string error_instance::m_file [private]

Definition at line 59 of file error.h.

Referenced by clear(), file(), and set().

Definition at line 60 of file error.h.

Referenced by clear(), line(), and set().

std::string error_instance::m_what [private]

Definition at line 55 of file error.h.

Referenced by clear(), set(), and what().


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Thu Sep 30 14:09:27 2010 for rvm by  doxygen 1.6.1