![]() |
VR-Link API Documentation for HLA Evolved
|
The high level object specialization of a named list. More...
Inheritance diagram for DtEnvObject:
Collaboration diagram for DtEnvObject:Public Member Functions | |
| virtual DtString | type () const |
| virtual DtString | name () const |
| Get the name of the list. | |
| virtual DtEnvValueSP | first () const |
| Get the first child in the list. | |
| virtual void | setType (const DtString &type) |
| virtual void | setName (const DtString &type) |
| Set the name of the list. | |
| DtEnvValueSP | attribute (const DtString &name) const |
| DtString | attributeValue (const DtString &name) const |
| virtual DtEnvObjectSync * | sync () const |
| Get sync object. | |
Public Member Functions inherited from DtEnvNamedList | |
| virtual | ~DtEnvNamedList () |
| DTOR. | |
Public Member Functions inherited from DtEnvList | |
| virtual DtEnvValueSP | last () const |
| Get the last value in the list. | |
| virtual DtEnvValueSP | next (DtEnvValueSP) const |
| Get the next value after the value passed in. | |
Public Member Functions inherited from DtEnvValue | |
| DtEnvValue (const DtString &value) | |
| virtual | ~DtEnvValue () |
| virtual DtString | value () const |
| Get the object's value. | |
| virtual void | setValue (const DtString &value) |
| Sets the object's value. | |
| virtual DtEnvValueSP | parent () const |
| Get the parent of the object. | |
| virtual void | setParent (DtEnvValueSP parent) |
| Set the parent of the object. | |
| DtEnvValueFormat | format () const |
| Get the format of the object. | |
Static Public Member Functions | |
| static bool | isObject (DtEnvValueSP) |
| static bool | isObject (DtEnvValueSP, const DtString &type) |
| static bool | isObject (DtEnvValueSP, const DtString &name, const DtString &type) |
| static DtEnvObject * | castToObject (DtEnvValueSP) |
Static Public Member Functions inherited from DtEnvNamedList | |
| static bool | isNamedList (DtEnvValueSP) |
| Check whether a value is a named list. | |
| static DtEnvNamedList * | castToNamedList (DtEnvValueSP value) |
| Cast the value to a named list. | |
Static Public Member Functions inherited from DtEnvList | |
| static bool | isList (const DtEnvValueSP &) |
| Check to see if a value is a list. | |
| static DtEnvList * | castToList (const DtEnvValueSP &value) |
| Cast a value to a list. | |
Protected Types | |
| typedef std::map< DtString, DtEnvValueWP > | DtEnvAttributeMap |
Protected Member Functions | |
| DtEnvObject (const DtString &objName, const DtString &objType, const DtString &objValue) | |
| virtual DtEnvValue * | clone () const |
| Clone the DtEnvObject and its children, but not the DtEnvObjectSync. | |
| virtual void | valueChanged () |
| Value changed callback, calls sync callback. | |
| virtual void | childChanged (DtEnvValue *) |
| Child value changed callback, calls sync callback. | |
| virtual void | append (DtEnvValueSP) |
| Append child value, calls sync callback. | |
| virtual void | remove (DtEnvValueSP) |
| Remove child value, calls sync callback. | |
| virtual void | setSync (DtEnvObjectSync *sync) |
| Set sync object, to remove, set to NULL. | |
Protected Member Functions inherited from DtEnvNamedList | |
| DtEnvNamedList (const DtString &name, const DtString &value) | |
Protected Member Functions inherited from DtEnvList | |
| DtEnvList (const DtString &value) | |
| CTOR. | |
| virtual void | cloneChildren (DtEnvList *list) const |
| Duplicate children in object. | |
Protected Member Functions inherited from DtEnvValue | |
| void | addFormat (DtEnvValueFormat format) |
| void | setLocation (const DtEnvValueList::iterator &location) |
| DtEnvValueList::iterator | nextIter () const |
| DtEnvValue (const DtString &value, DtEnvValueFormat format) | |
Protected Attributes | |
| DtEnvAttributeMap | myAttributes |
| DtEnvObjectSync * | mySyncObject |
Friends | |
| class | DtEnvironment |
| class | DtEnvObjectSync |
Additional Inherited Members | |
Public Types inherited from DtEnvValue | |
| enum | DtEnvValueFormat { Value = 0, Listed = 1, Named = RESERVED_VALUE(1), Typed = RESERVED_VALUE(2), Native = RESERVED_VALUE(3), NamedListed = Named | Listed, NamedTypedListed = Named | Typed | Listed } |
The high level object specialization of a named list.
|
protected |
|
protected |
|
protectedvirtual |
Append child value, calls sync callback.
Reimplemented from DtEnvList.
| DtEnvValueSP DtEnvObject::attribute | ( | const DtString & | name | ) | const |
|
static |
|
protectedvirtual |
Child value changed callback, calls sync callback.
Reimplemented from DtEnvValue.
|
protectedvirtual |
Clone the DtEnvObject and its children, but not the DtEnvObjectSync.
Reimplemented from DtEnvNamedList.
|
virtual |
Get the first child in the list.
Reimplemented from DtEnvNamedList.
|
static |
|
static |
|
static |
|
virtual |
Get the name of the list.
Reimplemented from DtEnvNamedList.
|
protectedvirtual |
Remove child value, calls sync callback.
Reimplemented from DtEnvList.
|
virtual |
Set the name of the list.
Reimplemented from DtEnvNamedList.
|
protectedvirtual |
Set sync object, to remove, set to NULL.
|
virtual |
|
virtual |
Get sync object.
|
virtual |
|
protectedvirtual |
Value changed callback, calls sync callback.
Reimplemented from DtEnvValue.
|
friend |
|
friend |
|
protected |
|
protected |