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

IFactory Class Reference

Base class for all Abstract Factories. More...

#include <IFactory.h>

Inheritance diagram for IFactory:

CmosRWFactory TFactory< factory::IFactory > MemoryFactory RbuFactory SmbiosFactory TokenTableFactory SmiFactory SmbiosXmlFactory List of all members.

Public Types

enum  { AutoDetectMode, UnitTestMode }
enum  { defaultMode = AutoDetectMode }

Public Member Functions

virtual ~IFactory ()
virtual void setParameter (const std::string name, const std::string value)=0
virtual void setParameter (const std::string name, const u32 value)=0
virtual void setMode (const int mode)=0
virtual void reset ()=0
virtual std::string getParameterString (const std::string name) const=0
virtual u32 getParameterNum (const std::string name) const=0
virtual int getMode () const=0

Protected Member Functions

 IFactory ()

Detailed Description

Base class for all Abstract Factories.

Definition at line 39 of file IFactory.h.


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
AutoDetectMode 
UnitTestMode 

Definition at line 57 of file IFactory.h.

anonymous enum
 

Enumeration values:
defaultMode 

Definition at line 58 of file IFactory.h.


Constructor & Destructor Documentation

~IFactory  )  [virtual]
 

Definition at line 27 of file Observer.cpp.

IFactory  )  [protected]
 

Definition at line 28 of file Observer.cpp.


Member Function Documentation

virtual int getMode  )  const [pure virtual]
 

Implemented in TFactory< factory::IFactory >.

virtual u32 getParameterNum const std::string  name  )  const [pure virtual]
 

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

virtual void reset  )  [pure virtual]
 

Implemented in TFactory< factory::IFactory >.

Referenced by testStandalone::testNonXml().

virtual void setMode const int  mode  )  [pure virtual]
 

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

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

Implemented in TFactory< factory::IFactory >.

Referenced by testPlatform::testConstructionOffset2(), and testStandalone::testMemoryBadFiles().


The documentation for this class was generated from the following files:
Generated on Wed Apr 11 16:25:11 2007 for SMBIOS Library by doxygen 1.3.5