![]() |
VR-Link API Documentation for HLA 1.3
|
DtEnvList is a list of DtEnvValue pointers. More...
Inheritance diagram for DtEnvList:
Collaboration diagram for DtEnvList:Public Member Functions | |
| virtual DtEnvValueSP | first () const |
| Get the first value in the list. | |
| 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 DtString | unmodifiedValue () const |
| Get the object's value without environmental expansion. | |
| 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 | 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 Member Functions | |
| DtEnvList (const DtString &value) | |
| CTOR. | |
| virtual DtEnvValue * | clone () const |
| Create a deep copy. | |
| virtual void | cloneChildren (DtEnvList *list) const |
| Duplicate children in object. | |
| virtual void | append (DtEnvValueSP) |
| Append a child into the list. | |
| virtual void | remove (DtEnvValueSP) |
| Remove a child from the list. | |
Protected Member Functions inherited from DtEnvValue | |
| virtual void | valueChanged () |
| virtual void | childChanged (DtEnvValue *) |
| void | addFormat (DtEnvValueFormat format) |
| DtEnvValue (const DtString &value, DtEnvValueFormat format) | |
Protected Attributes | |
| DtEnvValueList | myValues |
| The list of values. | |
Protected Attributes inherited from DtEnvValue | |
| DtEnvValueFormat | myFormat |
| DtEnvValueType | myValue |
| DtEnvValueType | myUnmodifiedValue |
| DtEnvValueWP | myParent |
Friends | |
| class | DtEnvironment |
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 } |
DtEnvList is a list of DtEnvValue pointers.
Which themselves can be any type.
|
explicitprotected |
CTOR.
|
protectedvirtual |
Append a child into the list.
Reimplemented in DtEnvObject.
|
static |
Cast a value to a list.
| NULL | If object is not a list. |
|
protectedvirtual |
Create a deep copy.
Reimplemented from DtEnvValue.
Reimplemented in DtEnvObject, and DtEnvNamedList.
|
protectedvirtual |
Duplicate children in object.
|
virtual |
Get the first value in the list.
Reimplemented in DtEnvNamedList, and DtEnvObject.
|
static |
Check to see if a value is a list.
|
virtual |
Get the last value in the list.
|
virtual |
Get the next value after the value passed in.
Returns null if there is no next child.
for(DtEnvValueSP child = list.first();child;child = child->next(child)) { ... }
|
protectedvirtual |
Remove a child from the list.
Reimplemented in DtEnvObject.
|
friend |
|
protected |
The list of values.