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 Member Functions

void allocateMaps ()
void deAllocateMaps ()

Private Attributes

std::string messageStr
std::string outputStr
void * ptrStrMap
void * ptrNumMap


Detailed Description

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

Definition at line 56 of file ExceptionImpl.h.


Constructor & Destructor Documentation

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

Definition at line 60 of file ExceptionImpl.h.

References Exception::deAllocateMaps().

Exception const std::string  initMessage  )  [inline]
 

Definition at line 62 of file ExceptionImpl.h.

References Exception::allocateMaps().

Exception  )  [inline]
 

Definition at line 63 of file ExceptionImpl.h.

References Exception::allocateMaps().

Exception const Exception< S > &  source  ) 
 

Definition at line 90 of file ExceptionImpl.h.

References Exception::allocateMaps(), and Exception::setParameter().


Member Function Documentation

void allocateMaps  )  [private]
 

Definition at line 166 of file ExceptionImpl.h.

References Exception::deAllocateMaps(), Exception::ptrNumMap, and Exception::ptrStrMap.

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

void deAllocateMaps  )  [private]
 

Definition at line 190 of file ExceptionImpl.h.

References Exception::ptrNumMap, and Exception::ptrStrMap.

Referenced by Exception::allocateMaps(), Exception::operator=(), and Exception::~Exception().

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

Definition at line 319 of file ExceptionImpl.h.

References Exception::ptrNumMap.

Referenced by Exception::what().

std::string getParameterString const std::string &  name  )  const [virtual]
 

Definition at line 336 of file ExceptionImpl.h.

References Exception::ptrStrMap.

Referenced by Exception::what().

Exception< S > & operator= const Exception< S > &  source  ) 
 

Definition at line 126 of file ExceptionImpl.h.

References Exception::allocateMaps(), Exception::deAllocateMaps(), Exception::messageStr, Exception::outputStr, Exception::ptrNumMap, Exception::ptrStrMap, and Exception::setParameter().

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

Definition at line 293 of file ExceptionImpl.h.

References Exception::messageStr.

Referenced by testSmbiosXml::testException().

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

Definition at line 309 of file ExceptionImpl.h.

References Exception::ptrNumMap.

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

Definition at line 300 of file ExceptionImpl.h.

References Exception::ptrStrMap.

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

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

Definition at line 215 of file ExceptionImpl.h.

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

Referenced by testSmbiosXml::testException().


Member Data Documentation

std::string messageStr [private]
 

Definition at line 78 of file ExceptionImpl.h.

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

std::string outputStr [mutable, private]
 

Definition at line 79 of file ExceptionImpl.h.

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

void* ptrNumMap [private]
 

Definition at line 84 of file ExceptionImpl.h.

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

void* ptrStrMap [private]
 

Definition at line 83 of file ExceptionImpl.h.

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


The documentation for this class was generated from the following file:
Generated on Tue Jan 17 02:59:09 2006 for SMBIOS Library by  doxygen 1.4.6