![]() |
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. | |
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 Attributes | |
| DtEnvValueList | myValues |
| The list of values. | |
Friends | |
| class | DtEnvironment |
DtEnvList is a list of DtEnvValue pointers.
Which themselves can be any type.
| DtEnvList::DtEnvList | ( | const DtString & | value | ) | [explicit, protected] |
CTOR.
| virtual void DtEnvList::append | ( | DtEnvValueSP | ) | [protected, virtual] |
Append a child into the list.
Reimplemented in DtEnvObject.
| static DtEnvList* DtEnvList::castToList | ( | const DtEnvValueSP & | value | ) | [static] |
Cast a value to a list.
| NULL | If object is not a list. |
| virtual DtEnvValue* DtEnvList::clone | ( | ) | const [protected, virtual] |
Create a deep copy.
Reimplemented from DtEnvValue.
Reimplemented in DtEnvObject, and DtEnvNamedList.
| virtual void DtEnvList::cloneChildren | ( | DtEnvList * | list | ) | const [protected, virtual] |
Duplicate children in object.
| virtual DtEnvValueSP DtEnvList::first | ( | ) | const [virtual] |
Get the first value in the list.
Reimplemented in DtEnvNamedList, and DtEnvObject.
| static bool DtEnvList::isList | ( | const DtEnvValueSP & | ) | [static] |
Check to see if a value is a list.
| virtual DtEnvValueSP DtEnvList::last | ( | ) | const [virtual] |
Get the last value in the list.
| virtual DtEnvValueSP DtEnvList::next | ( | DtEnvValueSP | ) | const [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)) { ... }
| virtual void DtEnvList::remove | ( | DtEnvValueSP | ) | [protected, virtual] |
Remove a child from the list.
Reimplemented in DtEnvObject.
friend class DtEnvironment [friend] |
Reimplemented from DtEnvValue.
Reimplemented in DtEnvObject, and DtEnvNamedList.
DtEnvValueList DtEnvList::myValues [protected] |
The list of values.