Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

ExInfo Class Reference


Detailed Description

Detailed info.

Definition at line 11 of file ExInfo.h.

Public Member Functions

 ExInfo (const std::string &problem) throw ()
 Info about problem.
const char * what () const throw ()
 Return info about problem.
std::string info () const throw ()
ExInfoaddInfo (const std::string &name, const std::string &value) throw ()
 Add more info.
ExInfoaddInfo (const std::string &name, long value) throw ()
 Add more info, numeric value.


Constructor & Destructor Documentation

ExInfo::ExInfo const std::string &  problem  )  throw () [explicit]
 

Info about problem.

Parameters:
problem short info

Definition at line 18 of file ExInfo.cpp.

00019 : m_what(problem)
00020 {
00021     /* empty */
00022 }


Member Function Documentation

ExInfo & ExInfo::addInfo const std::string &  name,
long  value
throw ()
 

Add more info, numeric value.

Parameters:
name description
value value
Returns:
*this

Definition at line 59 of file ExInfo.cpp.

00060 {
00061     m_what.append("; ");
00062     m_what.append(name);
00063     m_what.append("=");
00064     m_what.append(StringTool::toString(value));
00065     return *this;
00066 }

ExInfo & ExInfo::addInfo const std::string &  name,
const std::string &  value
throw ()
 

Add more info.

Parameters:
name description
value value
Returns:
*this

Definition at line 41 of file ExInfo.cpp.

00043 {
00044     m_what.append("; ");
00045     m_what.append(name);
00046     m_what.append("='");
00047     m_what.append(value);
00048     m_what.append("'");
00049     return *this;
00050 }

std::string ExInfo::info  )  const throw () [inline]
 

Definition at line 17 of file ExInfo.h.

00017 { return m_what; }

const char * ExInfo::what  )  const throw ()
 

Return info about problem.

Returns:
pointer to info which is valid only with this ExInfo

Definition at line 29 of file ExInfo.cpp.

00030 {
00031     return m_what.c_str();
00032 }


The documentation for this class was generated from the following files:
Generated on Wed Jun 1 09:55:03 2005 for Fish Fillets - Next Generation by  doxygen 1.4.2