![]() |
VR-Forces 4.1.1 Class Documentation
|
An Attribute Template. More...

Public Types | |
| enum | DtSdcAttributeType { DtSdcAttributeTypeNoValue = 0, DtSdcAttributeValueNumeric = 1, DtSdcAttributeTypeValueBar = 2, DtSdcAttributeTypeValueGraph = 3, DtSdcAttributeTypeBitmap = 4 } |
Public Member Functions | |
| DtSdcAttributeTemplateObject (const DtGlobalObjectDesignator &templateId, const DtString &name, DtSdcAttributeType attributeType) | |
| Construct the Attribute Template. | |
| virtual | ~DtSdcAttributeTemplateObject () |
| DtSdcAttributeTemplateObject (const DtSdcAttributeTemplateObject &orig) | |
| Copy constructor. | |
| DtSdcAttributeTemplateObject & | operator= (const DtSdcAttributeTemplateObject &rhs) |
| Assignment operator. | |
| virtual const DtString & | name () const |
| name accessor | |
| virtual const DtGlobalObjectDesignator & | templateId () const |
| name accessor | |
| virtual DtSdcAttributeType | attributeType () const |
| attribute type accessor | |
| virtual const DtAttributeTemplateStateRecord & | attributeTemplateRecord () const |
Protected Attributes | |
| DtGlobalObjectDesignator | myTemplateId |
| DtString | myName |
| DtSdcAttributeType | myAttributeType |
| DtAttributeTemplateStateRecord | myAttributeTemplateRecord |
Private Member Functions | |
| DtSdcAttributeTemplateObject () | |
| Default constructor. | |
An Attribute Template.
DtSdcAttributeTemplateObject represents a template that defines one type of attribute in an Attribute Group: Specifically the attribute name and type that will appear in a group instance (attribute values are supplied by the the group instance).
| DtSdcAttributeTemplateObject::DtSdcAttributeTemplateObject | ( | const DtGlobalObjectDesignator & | templateId, |
| const DtString & | name, | ||
| DtSdcAttributeType | attributeType | ||
| ) |
Construct the Attribute Template.
| id | Passed to DtSdcObject base (see) |
| templateId | Id of the attribute group template that this attribute template is to be part of |
| name | The name of the attribute template (this is displayed on the left-hand side of the attribute when displaying the attribute in a group instance |
| attributeType | The DtSdcAttributeType this template represents |
|
virtual |
| DtSdcAttributeTemplateObject::DtSdcAttributeTemplateObject | ( | const DtSdcAttributeTemplateObject & | orig | ) |
Copy constructor.
|
private |
Default constructor.
Private and not implemented - you must supply all parameters to create an attribute template
| DtSdcAttributeTemplateObject& DtSdcAttributeTemplateObject::operator= | ( | const DtSdcAttributeTemplateObject & | rhs | ) |
Assignment operator.
|
virtual |
name accessor
Get the attribute group template's name
|
virtual |
name accessor
Get the attribute group template's name
|
virtual |
attribute type accessor
Get the attribute template's type
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |