NASA_ODL::ITEM Class Reference

Item, consisting of name and sequence/set of values. More...

#include <mi32/nasaodl.h>

List of all members.

Public Member Functions

 ITEM (const char *name)
 ~ITEM ()
const char * GetName () const
int GetNumValues () const
const char * GetString (int index=0) const
double GetValue (int index=0) const

Detailed Description

Item, consisting of name and sequence/set of values.


Constructor & Destructor Documentation

NASA_ODL::ITEM::ITEM ( const char *  name  )  [explicit]

Construct item with no assigned values.

NASA_ODL::ITEM::~ITEM (  ) 

Destructor.


Member Function Documentation

const char* NASA_ODL::ITEM::GetName (  )  const [inline]

Get item name.

int NASA_ODL::ITEM::GetNumValues (  )  const [inline]

Get number of values for item.

const char* NASA_ODL::ITEM::GetString ( int  index = 0  )  const

Get item string.

Returns:
NULL if no string for specified index.
Parameters:
index Value index starting at 0
double NASA_ODL::ITEM::GetValue ( int  index = 0  )  const

Get item value as number (double).

Returns:
Value, 0.0 if could not convert.
Parameters:
index Value index starting at 0

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