MultiAgentDecisionProcess  Release 0.2.1
E Class Reference

E is a class that represents a basic exception. More...

#include <E.h>

+ Inheritance diagram for E:
+ Collaboration diagram for E:

Public Member Functions

 E (const char *arg)
 Constructor with a C-style string.
 E (std::string arg)
 Constructor with an STL string.
 E (const std::stringstream &arg)
 Constructor with an STL stringstream.
void Print () const
 Prints the error message to cout.
std::string SoftPrint () const
 Returns the error message.
virtual ~E ()
 Destructor.

Public Attributes

std::string _m_error
 The error message for this particular exception.

Detailed Description

E is a class that represents a basic exception.

Definition at line 38 of file E.h.

Constructor & Destructor Documentation

E::E ( const char *  arg)
inline

Constructor with a C-style string.

Definition at line 52 of file E.h.

E::E ( std::string  arg)
inline

Constructor with an STL string.

Definition at line 54 of file E.h.

E::E ( const std::stringstream &  arg)
inline

Constructor with an STL stringstream.

Definition at line 56 of file E.h.

virtual E::~E ( )
inlinevirtual

Destructor.

Definition at line 59 of file E.h.

Member Function Documentation

void E::Print ( ) const
inline

Prints the error message to cout.

Definition at line 64 of file E.h.

References _m_error.

Referenced by PlanningUnitMADPDiscrete::Initialize().

std::string E::SoftPrint ( ) const
inline

Returns the error message.

Definition at line 62 of file E.h.

References _m_error.

Member Data Documentation

std::string E::_m_error

The error message for this particular exception.

Definition at line 47 of file E.h.

Referenced by Print(), and SoftPrint().


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