Version: 7.8.0
HDFgroup Class Reference

#include <HDFgroup.hxx>

Inheritance diagram for HDFgroup:

Public Member Functions

 HDFgroup (const char *name, HDFcontainerObject *father)
 
void CreateOnDisk ()
 
void OpenOnDisk ()
 
void CloseOnDisk ()
 
void FileMount (char *file, hdf_access_mode mode)
 
void FileUnMount ()
 
HDFcontainerObjectGetFather ()
 
hdf_object_type GetObjectType ()
 
int nInternalObjects ()
 
void InternalObjectIndentify (int rank, char *object_name)
 
int ExistInternalObject (const char *object_name)
 
hdf_object_type InternalObjectType (char *object_name)
 
int nAttributes ()
 
charGetAttributeName (unsigned idx)
 
void AddSon (HDFinternalObject *son)
 
HDFinternalObjectGetFirstSon ()
 
HDFinternalObjectGetLastSon ()
 
int nSons ()
 
HDFinternalObjectGetPreviousBrother ()
 
HDFinternalObjectGetNextBrother ()
 
void SetPreviousBrother (HDFinternalObject *previous)
 
void SetNextBrother (HDFinternalObject *next)
 
hdf_idt GetId ()
 
charGetName ()
 

Protected Attributes

char_name
 
hdf_idt _id
 

Private Attributes

HDFcontainerObject_father
 
hdf_idt _fid
 
hdf_idt _mid
 
char_attribute
 

Constructor & Destructor Documentation

HDFgroup::HDFgroup ( const char name,
HDFcontainerObject father 
)

Member Function Documentation

int HDFgroup::ExistInternalObject ( const char object_name)
void HDFgroup::FileMount ( char file,
hdf_access_mode  mode 
)

References _fid, _mid, HDFobject::_name, HDFfileMount(), and HDFfileOpen().

Referenced by main().

void HDFgroup::FileUnMount ( )

References _fid, _mid, HDFobject::_name, HDFfileClose(), and HDFfileUmount().

Referenced by main().

char * HDFgroup::GetAttributeName ( unsigned  idx)
HDFcontainerObject * HDFgroup::GetFather ( )

References _father.

HDFinternalObject * HDFcontainerObject::GetFirstSon ( )
inherited
HDFinternalObject * HDFcontainerObject::GetLastSon ( )
inherited
HDFinternalObject * HDFinternalObject::GetNextBrother ( )
inherited
hdf_object_type HDFgroup::GetObjectType ( )
virtual

Reimplemented from HDFobject.

References HDF_GROUP.

HDFinternalObject * HDFinternalObject::GetPreviousBrother ( )
inherited
void HDFgroup::InternalObjectIndentify ( int  rank,
char object_name 
)
virtual
hdf_object_type HDFgroup::InternalObjectType ( char object_name)
int HDFgroup::nAttributes ( )

References HDFobject::_id.

Referenced by GetAttributeName(), and SaveGroupInASCIIfile().

int HDFgroup::nInternalObjects ( )
virtual
int HDFcontainerObject::nSons ( )
inherited
void HDFinternalObject::SetNextBrother ( HDFinternalObject next)
inherited
void HDFinternalObject::SetPreviousBrother ( HDFinternalObject previous)
inherited

Field Documentation

char* HDFgroup::_attribute
private

Referenced by GetAttributeName(), and HDFgroup().

HDFcontainerObject* HDFgroup::_father
private

Referenced by GetFather(), and HDFgroup().

hdf_idt HDFgroup::_mid
private

Referenced by FileMount(), FileUnMount(), and HDFgroup().