#include <mi32/hdf4.h>

Public Member Functions | |
| HDF4_GROUP () | |
| virtual | ~HDF4_GROUP () |
| void | Close () |
| virtual int | FindAttrib (const char *name) const |
| int | FindObject (HDF4_OBJTYPE type, const char *path) const |
| int | FindObjectByClass (HDF4_OBJTYPE type, const char *classname) const |
| virtual ERRVALUE | GetAttrib (int index, HDF4_ATTRIB &attrib) const |
| ERRVALUE | GetClass (HDF4_NAME &classname) const |
| virtual ERRVALUE | GetName (HDF4_NAME &name) const |
| virtual int | GetNumAttribs () const |
| ERRVALUE | GetObjIdxs (HDF4_OBJTYPE objtype, SIMPLE_ARRAY< INT32 > &objidxs) const |
| ERRVALUE | Open (const HDF4_FILE &file, int index) |
| ERRVALUE | OpenRoot (const HDF4_FILE &file) |
| HDF4_GROUP::HDF4_GROUP | ( | ) |
Default constructor.
| virtual HDF4_GROUP::~HDF4_GROUP | ( | ) | [virtual] |
Destructor.
| void HDF4_GROUP::Close | ( | ) |
Close group.
| virtual int HDF4_GROUP::FindAttrib | ( | const char * | name | ) | const [virtual] |
Find attribute index by name.
| name | Attribute name to search for |
Implements HDF4_OBJECT.
| int HDF4_GROUP::FindObject | ( | HDF4_OBJTYPE | type, | |
| const char * | path | |||
| ) | const |
Find object by type and path.
Items in the path are separated by '/' with the last item being the object name.
| type | HDF object type | |
| path | Path to search |
| int HDF4_GROUP::FindObjectByClass | ( | HDF4_OBJTYPE | type, | |
| const char * | classname | |||
| ) | const |
Find first object having specified 'class' name.
Items in the path are separated by '/' with the last item being the 'class' name.
| type | HDF object type (Group, Table only) | |
| classname | Object 'class' name |
| virtual ERRVALUE HDF4_GROUP::GetAttrib | ( | int | index, | |
| HDF4_ATTRIB & | attrib | |||
| ) | const [virtual] |
Get specific attribute.
| index | Attribute index within group | |
| attrib | Attribute instance returned |
Implements HDF4_OBJECT.
Get 'class' name.
| classname | Class name returned |
| virtual int HDF4_GROUP::GetNumAttribs | ( | ) | const [virtual] |
Get number of attributes in this object.
Implements HDF4_OBJECT.
| ERRVALUE HDF4_GROUP::GetObjIdxs | ( | HDF4_OBJTYPE | objtype, | |
| SIMPLE_ARRAY< INT32 > & | objidxs | |||
| ) | const |
Get array of object indices for group.
Note that a specific object can be contained in multiple groups.
| objtype | Object type | |
| objidxs | Object index array returned |
Open group.
| file | Open HDF4 file | |
| index | Group index (reference number) |
1.6.1