Exception Class Template Reference

#include <ExceptionImpl.h>

List of all members.

Public Member Functions

virtual ~Exception () throw ()
 Exception (const std::string initMessage)
 Exception ()
 Exception (const Exception< S > &source)
Exception< S > & operator= (const Exception< S > &source)
virtual const char * what () const throw ()
virtual std::string getParameterString (const std::string &name) const
virtual u32 getParameterNumber (const std::string &name) const
virtual void setMessageString (const std::string &newMsgString)
virtual void setParameter (const std::string &name, const std::string &value)
virtual void setParameter (const std::string &name, const u32 value)

Private Attributes

std::string messageStr
std::string outputStr
std::map< std::string, std::string > r_ptrStrMap
std::map< std::string, u32r_ptrNumMap


Detailed Description

template<class S>
class smbios::Exception< S >

Definition at line 60 of file ExceptionImpl.h.


Constructor & Destructor Documentation

virtual ~Exception (  )  throw () [inline, virtual]

Definition at line 64 of file ExceptionImpl.h.

Exception ( const std::string  initMessage  )  [inline]

Definition at line 66 of file ExceptionImpl.h.

Exception (  )  [inline]

Definition at line 67 of file ExceptionImpl.h.

Exception ( const Exception< S > &  source  )  [inline]

Definition at line 89 of file ExceptionImpl.h.

References Exception::setParameter().


Member Function Documentation

Exception< S > & operator= ( const Exception< S > &  source  )  [inline]

Definition at line 110 of file ExceptionImpl.h.

References Exception::messageStr, Exception::outputStr, Exception::r_ptrNumMap, Exception::r_ptrStrMap, and Exception::setParameter().

const char * what (  )  const throw () [inline, virtual]

Definition at line 137 of file ExceptionImpl.h.

References Exception::getParameterNumber(), Exception::getParameterString(), Exception::messageStr, and Exception::outputStr.

Referenced by testStandalone::testException().

std::string getParameterString ( const std::string &  name  )  const [inline, virtual]

Definition at line 242 of file ExceptionImpl.h.

References Exception::r_ptrStrMap.

Referenced by Exception::what().

u32 getParameterNumber ( const std::string &  name  )  const [inline, virtual]

Definition at line 235 of file ExceptionImpl.h.

References Exception::r_ptrNumMap.

Referenced by Exception::what().

void setMessageString ( const std::string &  newMsgString  )  [inline, virtual]

Definition at line 215 of file ExceptionImpl.h.

References Exception::messageStr.

Referenced by testStandalone::testException().

void setParameter ( const std::string &  name,
const std::string &  value 
) [inline, virtual]

Definition at line 222 of file ExceptionImpl.h.

References Exception::r_ptrStrMap.

Referenced by Exception::Exception(), Exception::operator=(), and testStandalone::testException().

void setParameter ( const std::string &  name,
const u32  value 
) [inline, virtual]

Definition at line 228 of file ExceptionImpl.h.

References Exception::r_ptrNumMap.


Member Data Documentation

std::string messageStr [private]

Definition at line 80 of file ExceptionImpl.h.

Referenced by Exception::operator=(), Exception::setMessageString(), and Exception::what().

std::string outputStr [mutable, private]

Definition at line 81 of file ExceptionImpl.h.

Referenced by Exception::operator=(), and Exception::what().

std::map< std::string, std::string > r_ptrStrMap [private]

Definition at line 83 of file ExceptionImpl.h.

Referenced by Exception::getParameterString(), Exception::operator=(), and Exception::setParameter().

std::map< std::string, u32 > r_ptrNumMap [private]

Definition at line 84 of file ExceptionImpl.h.

Referenced by Exception::getParameterNumber(), Exception::operator=(), and Exception::setParameter().


The documentation for this class was generated from the following file:
Generated on Sat Apr 21 11:36:11 2007 for SMBIOS Library by  doxygen 1.5.2