SMBIOS Library
Public Member Functions | Private Attributes | List of all members
Exception< S > Class Template Reference

#include <ExceptionImpl.h>

Collaboration diagram for Exception< S >:
Collaboration graph

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

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)

Definition at line 89 of file ExceptionImpl.h.

References Exception< S >::r_ptrNumMap, and Exception< S >::setParameter().

Here is the call graph for this function:

Member Function Documentation

u32 getParameterNumber ( const std::string &  name) const
virtual

Definition at line 235 of file ExceptionImpl.h.

References Exception< S >::r_ptrNumMap.

Referenced by Exception< S >::what().

std::string getParameterString ( const std::string &  name) const
virtual

Definition at line 242 of file ExceptionImpl.h.

References Exception< S >::r_ptrStrMap.

Referenced by Exception< S >::what().

Exception< S > & operator= ( const Exception< S > &  source)
void setMessageString ( const std::string &  newMsgString)
virtual

Definition at line 215 of file ExceptionImpl.h.

References Exception< S >::messageStr.

Referenced by testStandalone::testException().

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

Definition at line 228 of file ExceptionImpl.h.

References Exception< S >::r_ptrNumMap.

const char * what ( ) const throw ()
virtual

Member Data Documentation

std::string messageStr
private
std::string outputStr
mutableprivate

Definition at line 81 of file ExceptionImpl.h.

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

std::map< std::string, u32 > r_ptrNumMap
private
std::map< std::string, std::string > r_ptrStrMap
private

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