NASA_ODL::ITEM Class Reference

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

#include <nasaodl.h>

List of all members.

Public Member Functions

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


Detailed Description

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

Definition at line 103 of file nasaodl.h.


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.

Definition at line 116 of file nasaodl.h.

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

Get number of values for item.

Definition at line 120 of file nasaodl.h.

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 Thu Aug 12 06:27:04 2004 for TNTsdk by doxygen 1.3.4-20031026