NASA_ODL Class Reference

NASA/JPL Object Description Language tree container. More...

#include <mi32/nasaodl.h>

List of all members.

Classes

class  ITEM
 Item, consisting of name and sequence/set of values. More...
class  OBJECT
 Object consisting of name, list of objects, list of items. More...

Public Types

typedef MILIST< ITEM * > ITEMLIST
typedef MILIST< OBJECT * > OBJECTLIST

Public Member Functions

 NASA_ODL ()
 ~NASA_ODL ()
const ITEMFindItem (const char *path) const
const OBJECTFindObject (const char *path) const
const OBJECTGetRootObject () const
ERRVALUE Parse (const char *string)

Detailed Description

NASA/JPL Object Description Language tree container.


Member Typedef Documentation


Constructor & Destructor Documentation

NASA_ODL::NASA_ODL (  ) 

Constructor.

NASA_ODL::~NASA_ODL (  ) 

Destructor.


Member Function Documentation

const ITEM* NASA_ODL::FindItem ( const char *  path  )  const

Find item given dot-separated path.

Returns:
Pointer to ITEM or NULL if item not found.
Parameters:
path Path, name after last '.' (if any) is treated as item name
const OBJECT* NASA_ODL::FindObject ( const char *  path  )  const

Find object given dot-separated path.

Returns:
Pointer to OBJECT or NULL if object not found.
Parameters:
path Path with object names separated by '.'
const OBJECT* NASA_ODL::GetRootObject (  )  const [inline]

Get pointer to root object.

ERRVALUE NASA_ODL::Parse ( const char *  string  ) 

Parse string into ODL hierarchy.

This will replace the existing hierarchy if any.

Parameters:
string Complete ODL string to parse

The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:33:41 2012 for TNTsdk 2012 by  doxygen 1.6.1