NASA_ODL::OBJECT Class Reference
Object consisting of name, list of objects, list of items.
More...
#include <mi32/nasaodl.h>
List of all members.
Detailed Description
Object consisting of name, list of objects, list of items.
Constructor & Destructor Documentation
| NASA_ODL::OBJECT::OBJECT |
( |
const char * |
name |
) |
[explicit] |
Construct with specified name.
| virtual NASA_ODL::OBJECT::~OBJECT |
( |
|
) |
[virtual] |
Member Function Documentation
| const ITEM* NASA_ODL::OBJECT::FindItem |
( |
const char * |
path |
) |
const |
Find item given dot-separated path.
- Parameters:
-
| path | Path, last name is treated as item name |
| const OBJECT* NASA_ODL::OBJECT::FindObject |
( |
const char * |
path |
) |
const |
Find object by dot-separated path name.
| const ITEMLIST& NASA_ODL::OBJECT::GetItemList |
( |
|
) |
const [inline] |
Get list of items contained in this node.
| const char* NASA_ODL::OBJECT::GetItemString |
( |
const char * |
path, |
|
|
int |
index = 0 | |
|
) |
| | const |
Find item and retrieve item string.
- Returns:
- String pointer or NULL if could not find.
- Parameters:
-
| path | Path with object names separated by '.' |
| index | Value index starting at 0 |
| bool NASA_ODL::OBJECT::GetItemValue |
( |
const char * |
path, |
|
|
double & |
value, |
|
|
int |
index = 0 | |
|
) |
| | const |
Find item and retrieve item value.
- Returns:
- 'true' if object was found, 'false' if not
- Parameters:
-
| path | Path with object names separated by '.' |
| value | Value returned |
| index | Value index starting at 0 |
| const char* NASA_ODL::OBJECT::GetName |
( |
|
) |
const [inline] |
| const OBJECTLIST& NASA_ODL::OBJECT::GetObjectList |
( |
|
) |
const [inline] |
Get list of objects contained in this object.
The documentation for this class was generated from the following file: