VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
DtStatementFactory Class Reference

class DtStatementFactory:

DtStatementFactory is a hashlist of DtStatementEntrys, indexed by the string type that represents the type of resource to create.

Inheritance diagram for DtStatementFactory:
Inheritance graph
[legend]

Public Member Functions

 DtStatementFactory ()
 
 DtStatementFactory (const DtStatementFactory &orig)
 
const DtStatementFactoryoperator= (const DtStatementFactory &orig)
 
virtual ~DtStatementFactory ()
 
virtual void addCreatorFcn (const DtString &type, const int intType, DtStatementCreatorFcn fcn)
 
virtual DtSimStatementcreateStatement (const DtString &type, DtReaderWriterRegistry *parentRegistry)
 
virtual DtSimStatementcreateStatement (int type, DtReaderWriterRegistry *parentRegistry)
 

Static Public Member Functions

static DtStatementFactorycreate ()
 

Protected Attributes

DtHashlist myStringTypeHashlist
 
DtHashlist myIntTypeHashlist
 

Constructor & Destructor Documentation

DtStatementFactory::DtStatementFactory ( )

constructor

DtStatementFactory::DtStatementFactory ( const DtStatementFactory orig)

copy constructor

virtual DtStatementFactory::~DtStatementFactory ( )
virtual

Destructor: deletes factory and any entries on the factory.

Member Function Documentation

const DtStatementFactory& DtStatementFactory::operator= ( const DtStatementFactory orig)

assignment operator

virtual void DtStatementFactory::addCreatorFcn ( const DtString type,
const int  intType,
DtStatementCreatorFcn  fcn 
)
virtual

Add a creator function to the factory.

virtual DtSimStatement* DtStatementFactory::createStatement ( const DtString type,
DtReaderWriterRegistry parentRegistry 
)
virtual
virtual DtSimStatement* DtStatementFactory::createStatement ( int  type,
DtReaderWriterRegistry parentRegistry 
)
virtual
static DtStatementFactory* DtStatementFactory::create ( )
static

Member Data Documentation

DtHashlist DtStatementFactory::myStringTypeHashlist
protected
DtHashlist DtStatementFactory::myIntTypeHashlist
protected

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

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)