32 virtual std::string paramName(
unsigned subParamIndex = 0)
const = 0;
39 virtual std::string paramType(
unsigned subParamIndex = 0)
const = 0;
46 virtual std::string paramValueString(
unsigned subParamIndex = 0)
const = 0;
55 virtual bool isPrimaryKey()
const = 0;
86 inline virtual std::string
paramName(
unsigned subParamIndex = 0)
const;
89 inline virtual std::string
paramType(
unsigned subParamIndex = 0)
const;
92 inline virtual std::string
paramValueString(
unsigned subParamIndex = 0)
const;
110 #include <vrfMsgTransport/vrfDatabaseEventParam.inl>
DtString myName
Definition: vrfDatabaseEventParam.h:104
DtVrfDatabaseEventParam & operator=(const DtVrfDatabaseEventParam &)
Assignment operator.
Definition: vrfDatabaseEventParam.h:25
Stores the parameter for a DtVrfDatabaseEvent.
Definition: vrfDatabaseEventParam.h:63
virtual std::string paramName(unsigned subParamIndex=0) const
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.
virtual ~DtVrfDatabaseEventParam()
Destructor.
Definition: vrfDatabaseEventParam.h:22
virtual T paramValue() const
The stored value for this parameter.
virtual std::string paramType(unsigned subParamIndex=0) const
Returns the string of the type of this parameter. The subParamIndex is not necessary for most paramet...
virtual bool isPrimaryKey() const
Returns true if this parameter is the primary key of the table.
DtVrfDatabaseEventParam()
Constructor.
Definition: vrfDatabaseEventParam.h:17
Abstract base class to store the parameter for a DtVrfDatabaseEvent.
Definition: vrfDatabaseEventParam.h:11
virtual DtVrfDatabaseEventParam * clone()
Makes a new copy of this parameter.
T myVal
Definition: vrfDatabaseEventParam.h:105
virtual unsigned numberOfSubParams() const
For most parameters, this is just one, as there is one DtVrfDatabaseEventParam per database parameter...
Definition: vrfDatabaseEventParam.h:52
DtTemplatedDatabaseEventParam< T > & operator=(const DtTemplatedDatabaseEventParam< T > &)
Assignment operator.
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfCommunicationManagerDefines.h:26
DtVrfDatabaseEventParam(const DtVrfDatabaseEventParam &other)
Constructor.
Definition: vrfDatabaseEventParam.h:18
bool myIsPrimaryKey
Definition: vrfDatabaseEventParam.h:106
virtual unsigned numberOfSubParams() const
For most parameters, this is just one, as there is one DtVrfDatabaseEventParam per database parameter...
virtual std::string paramValueString(unsigned subParamIndex=0) const
Returns a stringified version of the value of this parameter. The subParamIndex is not necessary for ...