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

DtMtlParameterDbEntry; record in a DtMtlParameterDb. More...

Inheritance diagram for DtMtlParameterDbEntry:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtMtlParameterDbEntry ()
virtual ~DtMtlParameterDbEntry ()
 destructor
virtual DtVrfObjectParametersload ()
 Loads entry from disk.
virtual DtVrfObjectParametersloadFromFile (const DtFilename &filename)
virtual DtVrfObjectParametersreadParameterEntry (FILE *fp)
virtual DtVrfObjectParametersloadParameters (DtlObjPtr arg)
virtual DtString uniqueIdentifier () const
 Returns a string identifier that uniquely identifies this item.
virtual void setPath (const DtFilename &path)
 Set the path to filename (will be concatenated with filename if filename is relative).
virtual const DtFilename & path () const
virtual void setVersion (int version)
 Set version number of parameter database file so we'll know where to set the search path for legacy parameter database files.
virtual void setVariableBindings (const DtVariableBindingsSharedPtr &bindings)
virtual DtVariableBindingsSharedPtr variableBindings ()
virtual void setFilename (const DtFilename &filename)
 Filename of an object parameter entry file (*.ope) from which a DtVrfObjectParameter object can be loaded.
virtual const DtFilename & filename ()
 Filename of an object parameter entry file (*.ope) from which a DtVrfObjectParameter object can be loaded.

Protected Member Functions

 DtMtlParameterDbEntry (const DtMtlParameterDbEntry &orig)
 copy constructor - not implemented
DtMtlParameterDbEntryoperator= (const DtMtlParameterDbEntry &orig)
 assignment operator - not implemented

Protected Attributes

DtFilename myFilename
DtFilename myPath
int myVersion
DtVariableBindingsSharedPtr myVariableBindings

Detailed Description

DtMtlParameterDbEntry; record in a DtMtlParameterDb.

Instances of DtMtlParameterDbEntry are the data records used in a DtMtlParameterDb parameter database. It holds a DtVrfObjectParameter* object and the name of a parameter entry file (*.ope) from which a DtVrfObjectParameter object can be loaded.


Constructor & Destructor Documentation

destructor

copy constructor - not implemented


Member Function Documentation

virtual void DtMtlParameterDbEntry::setFilename ( const DtFilename &  filename) [virtual]

Filename of an object parameter entry file (*.ope) from which a DtVrfObjectParameter object can be loaded.

virtual const DtFilename& DtMtlParameterDbEntry::filename ( ) [virtual]

Filename of an object parameter entry file (*.ope) from which a DtVrfObjectParameter object can be loaded.

Loads entry from disk.

Currently no-op at this level (simply returns myParameters pointer)

Reimplemented from DtVrfParameterDbEntry.

virtual DtVrfObjectParameters* DtMtlParameterDbEntry::loadFromFile ( const DtFilename &  filename) [virtual]
virtual DtVrfObjectParameters* DtMtlParameterDbEntry::loadParameters ( DtlObjPtr  arg) [virtual]

Returns a string identifier that uniquely identifies this item.

This item returns the filename

Reimplemented from DtVrfParameterDbEntry.

virtual void DtMtlParameterDbEntry::setPath ( const DtFilename &  path) [virtual]

Set the path to filename (will be concatenated with filename if filename is relative).

virtual const DtFilename& DtMtlParameterDbEntry::path ( ) const [virtual]
virtual void DtMtlParameterDbEntry::setVersion ( int  version) [virtual]

Set version number of parameter database file so we'll know where to set the search path for legacy parameter database files.

virtual void DtMtlParameterDbEntry::setVariableBindings ( const DtVariableBindingsSharedPtr bindings) [virtual]
DtMtlParameterDbEntry& DtMtlParameterDbEntry::operator= ( const DtMtlParameterDbEntry orig) [protected]

assignment operator - not implemented


Member Data Documentation

DtFilename DtMtlParameterDbEntry::myFilename [protected]
DtFilename DtMtlParameterDbEntry::myPath [protected]

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)