Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Exception Class Template Reference

#include <ExceptionImpl.h>

List of all members.

Public Methods

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

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


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.

References Exception::messageStr, and Exception::outputStr.

Exception   [inline]
 

Definition at line 67 of file ExceptionImpl.h.

References Exception::messageStr, and Exception::outputStr.

Exception const Exception< S > &    source
 

Definition at line 89 of file ExceptionImpl.h.

References Exception::setParameter().


Member Function Documentation

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

Definition at line 235 of file ExceptionImpl.h.

References Exception::r_ptrNumMap, and u32.

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

Definition at line 242 of file ExceptionImpl.h.

References Exception::r_ptrStrMap.

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

Definition at line 110 of file ExceptionImpl.h.

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

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

Definition at line 215 of file ExceptionImpl.h.

References Exception::messageStr.

Referenced by SMBIOSGetAssetTag(), SMBIOSGetBiosVersion(), SMBIOSGetDellSystemId(), SMBIOSGetNvramStateBytes(), SMBIOSGetServiceTag(), SMBIOSGetSystemName(), SMBIOSGetVendorName(), SMBIOSHasNvramStateBytes(), SMBIOSIsDellSystem(), SMBIOSSetAssetTag(), SMBIOSSetNvramStateBytes(), SMBIOSSetServiceTag(), testStandalone::testException(), and upBootHelper().

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

Definition at line 228 of file ExceptionImpl.h.

References Exception::r_ptrNumMap, and u32.

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

Definition at line 222 of file ExceptionImpl.h.

References Exception::r_ptrStrMap.

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

const char * what   throw () [virtual]
 

Definition at line 137 of file ExceptionImpl.h.

Referenced by SMBIOSGetSysInfoErrorString(), and testStandalone::testException().


Member Data Documentation

std::string messageStr [private]
 

Definition at line 80 of file ExceptionImpl.h.

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

std::string outputStr [private]
 

Definition at line 81 of file ExceptionImpl.h.

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

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().

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().


The documentation for this class was generated from the following file:
Generated on Tue Jul 3 18:35:15 2007 for SMBIOS Library by doxygen1.2.18