VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
DtVrfObjectParametersDB Class Reference

Instances of DtVrfObjectParametersDB are the database of DtVrfBaseObjectParameter objects, keyed on DtObjectType. More...

Inheritance diagram for DtVrfObjectParametersDB:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtVrfObjectParametersDB (const DtString &writeName, DtReaderWriterRegistry *const parentRegistry=0)
 constructor
virtual ~DtVrfObjectParametersDB ()
virtual bool init ()
virtual bool createParametersList ()
 Called by init.
virtual void addParameters (DtVrfObjectParameters *parameters)
virtual DtVrfObjectParameterslookupParameters (const DtObjectType &objectType, DtObjectType *matchingType) const
 Looks up a DtVrfObjectParameters object, given a DtObjectType.
virtual void removeParameters (const DtObjectType &objectType)
 Will only remove parameters if an exact match is found.
virtual bool readParameterFile (const DtString &filename)
virtual bool writeParameterFile (const DtString &filename)
virtual void removeAndDeleteAll ()
 Removes and deletes all parameter entries.

Protected Member Functions

 DtVrfObjectParametersDB ()
 default constructor
 DtVrfObjectParametersDB (const DtVrfObjectParametersDB &orig)
 copy constructor - not implemented - do not call
const DtVrfObjectParametersDBoperator= (const DtVrfObjectParametersDB &orig)
 assignment operator - not implemented - do not call

Protected Attributes

DtVrfObjectParametersListmyParametersList

Detailed Description

Instances of DtVrfObjectParametersDB are the database of DtVrfBaseObjectParameter objects, keyed on DtObjectType.


Constructor & Destructor Documentation

default constructor

DtVrfObjectParametersDB::DtVrfObjectParametersDB ( const DtString writeName,
DtReaderWriterRegistry *const  parentRegistry = 0 
)

constructor

copy constructor - not implemented - do not call


Member Function Documentation

const DtVrfObjectParametersDB& DtVrfObjectParametersDB::operator= ( const DtVrfObjectParametersDB orig) [protected]

assignment operator - not implemented - do not call

virtual bool DtVrfObjectParametersDB::init ( ) [virtual]

Called by init.

Override these to create derived classes of DtVrfObjectParametersList if needed.

virtual void DtVrfObjectParametersDB::addParameters ( DtVrfObjectParameters parameters) [virtual]
virtual DtVrfObjectParameters* DtVrfObjectParametersDB::lookupParameters ( const DtObjectType objectType,
DtObjectType matchingType 
) const [virtual]

Looks up a DtVrfObjectParameters object, given a DtObjectType.

Returns the type of the closest match found in the database.

virtual void DtVrfObjectParametersDB::removeParameters ( const DtObjectType objectType) [virtual]

Will only remove parameters if an exact match is found.

virtual bool DtVrfObjectParametersDB::readParameterFile ( const DtString filename) [virtual]
virtual bool DtVrfObjectParametersDB::writeParameterFile ( const DtString filename) [virtual]
virtual void DtVrfObjectParametersDB::removeAndDeleteAll ( ) [virtual]

Removes and deletes all parameter entries.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)