HDF4_ATTRIB Class Reference

#include <mi32/hdf4.h>

List of all members.

Public Member Functions

 HDF4_ATTRIB ()
int GetCount () const
const char * GetName () const
ERRVALUE GetString (SIMPLE_ARRAY< char > &string) const
HDF4_VALTYPE GetType () const
ERRVALUE GetValue (int pos, double &value) const
bool IsNumeric () const
bool IsString () const

Constructor & Destructor Documentation

HDF4_ATTRIB::HDF4_ATTRIB (  ) 

Default constructor.


Member Function Documentation

int HDF4_ATTRIB::GetCount (  )  const [inline]

Get number of attribute values if numeric or number of characters if string.

const char* HDF4_ATTRIB::GetName (  )  const [inline]

Get attribute name.

ERRVALUE HDF4_ATTRIB::GetString ( SIMPLE_ARRAY< char > &  string  )  const

Get attribute value as a string, suitable for character attribute types.

HDF4_VALTYPE HDF4_ATTRIB::GetType (  )  const [inline]

Get attribute type.

ERRVALUE HDF4_ATTRIB::GetValue ( int  pos,
double &  value 
) const

Get attribute value as 'double', suitable for numeric attribute types.

Parameters:
pos Attribute value position
value Value returned
bool HDF4_ATTRIB::IsNumeric (  )  const [inline]

Determine if attribute is numeric.

bool HDF4_ATTRIB::IsString (  )  const [inline]

Determine if attribute is a string.


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

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