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
DtVrfDatabaseEventParam Class Referenceabstract

Abstract base class to store the parameter for a DtVrfDatabaseEvent.

Inheritance diagram for DtVrfDatabaseEventParam:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtVrfDatabaseEventParam ()
 
DtVrfDatabaseEventParamoperator= (const DtVrfDatabaseEventParam &)
 
virtual std::string paramName (unsigned subParamIndex=0) const =0
 
virtual std::string paramType (unsigned subParamIndex=0) const =0
 
virtual std::string paramValueString (unsigned subParamIndex=0) const =0
 
virtual unsigned numberOfSubParams () const
 
virtual bool isPrimaryKey () const =0
 
virtual DtVrfDatabaseEventParamclone ()=0
 
 DtVrfDatabaseEventParam ()
 
 DtVrfDatabaseEventParam (const DtVrfDatabaseEventParam &other)
 

Constructor & Destructor Documentation

DtVrfDatabaseEventParam::DtVrfDatabaseEventParam ( )
inline

Constructor.

DtVrfDatabaseEventParam::DtVrfDatabaseEventParam ( const DtVrfDatabaseEventParam other)
inline

Constructor.

virtual DtVrfDatabaseEventParam::~DtVrfDatabaseEventParam ( )
inlinevirtual

Destructor.

Member Function Documentation

DtVrfDatabaseEventParam& DtVrfDatabaseEventParam::operator= ( const DtVrfDatabaseEventParam )
inline

Assignment operator.

virtual std::string DtVrfDatabaseEventParam::paramName ( unsigned  subParamIndex = 0) const
pure virtual

Returns the name of the parameter. The subParamIndex is not necessary for most parameters, but some params end up translating into multiple parameters in the database. If numberOfSubParams() returns a value greater than 0, then specifying this will return the name of that specific sub-parameter.

Implemented in DtTemplatedDatabaseEventParam< T >.

virtual std::string DtVrfDatabaseEventParam::paramType ( unsigned  subParamIndex = 0) const
pure virtual

Returns the string of the type of this parameter. The subParamIndex is not necessary for most parameters, but some params end up translating into multiple parameters in the database. If numberOfSubParams() returns a value greater than 0, then specifying this will return the type of that specific sub-parameter.

Implemented in DtTemplatedDatabaseEventParam< T >.

virtual std::string DtVrfDatabaseEventParam::paramValueString ( unsigned  subParamIndex = 0) const
pure virtual

Returns a stringified version of the value of this parameter. The subParamIndex is not necessary for most parameters, but some params end up translating into multiple parameters in the database. If numberOfSubParams() returns a value greater than 0, then specifying this will return the vale of that specific sub-parameter.

Implemented in DtTemplatedDatabaseEventParam< T >.

virtual unsigned DtVrfDatabaseEventParam::numberOfSubParams ( ) const
inlinevirtual

For most parameters, this is just one, as there is one DtVrfDatabaseEventParam per database parameter. However, some DtVrfDatabaseEventParam may translate to multiple database parameters. These event parameters are then broken into multiple sub-parameters.

Reimplemented in DtTemplatedDatabaseEventParam< T >.

virtual bool DtVrfDatabaseEventParam::isPrimaryKey ( ) const
pure virtual

Returns true if this parameter is the primary key of the table.

Implemented in DtTemplatedDatabaseEventParam< T >.

virtual DtVrfDatabaseEventParam* DtVrfDatabaseEventParam::clone ( )
pure virtual

Makes a new copy of this parameter.

Implemented in DtTemplatedDatabaseEventParam< T >.


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)