Version: 9.12.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)
 
void GetAllObjects (std::vector< std::string > &object_names)
 
int nAttributes ()
 
char * GetAttributeName (unsigned idx)
 
void AddSon (HDFinternalObject *son)
 
HDFinternalObjectGetFirstSon ()
 
HDFinternalObjectGetLastSon ()
 
int nSons ()
 
HDFinternalObjectGetPreviousBrother ()
 
HDFinternalObjectGetNextBrother ()
 
void SetPreviousBrother (HDFinternalObject *previous)
 
void SetNextBrother (HDFinternalObject *next)
 
hdf_idt GetId ()
 
char * GetName ()
 

Protected Attributes

char * _name
 
hdf_idt _id
 

Private Attributes

HDFcontainerObject_father
 
hdf_idt _fid
 
hdf_idt _mid
 
char * _attribute
 
HDFinternalObject_firstson
 
HDFinternalObject_lastson
 
int _nsons
 
HDFinternalObject_previousbrother
 
HDFinternalObject_nextbrother
 

Constructor & Destructor Documentation

◆ HDFgroup()

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

Member Function Documentation

◆ AddSon()

◆ CloseOnDisk()

◆ CreateOnDisk()

◆ ExistInternalObject()

int HDFgroup::ExistInternalObject ( const char *  object_name)

◆ FileMount()

void HDFgroup::FileMount ( char *  file,
hdf_access_mode  mode 
)

◆ FileUnMount()

void HDFgroup::FileUnMount ( )

◆ GetAllObjects()

void HDFgroup::GetAllObjects ( std::vector< std::string > &  object_names)

◆ GetAttributeName()

char * HDFgroup::GetAttributeName ( unsigned  idx)

◆ GetFather()

HDFcontainerObject * HDFgroup::GetFather ( )

References _father.

◆ GetFirstSon()

HDFinternalObject * HDFcontainerObject::GetFirstSon ( )
inherited

◆ GetId()

◆ GetLastSon()

HDFinternalObject * HDFcontainerObject::GetLastSon ( )
inherited

◆ GetName()

char * HDFobject::GetName ( )
inherited

◆ GetNextBrother()

HDFinternalObject * HDFinternalObject::GetNextBrother ( )
inherited

◆ GetObjectType()

hdf_object_type HDFgroup::GetObjectType ( )
virtual

Reimplemented from HDFobject.

References HDF_GROUP.

◆ GetPreviousBrother()

HDFinternalObject * HDFinternalObject::GetPreviousBrother ( )
inherited

◆ InternalObjectIndentify()

void HDFgroup::InternalObjectIndentify ( int  rank,
char *  object_name 
)
virtual

◆ InternalObjectType()

hdf_object_type HDFgroup::InternalObjectType ( char *  object_name)

◆ nAttributes()

int HDFgroup::nAttributes ( )

References HDFobject::_id.

Referenced by GetAttributeName(), and SaveGroupInASCIIfile().

◆ nInternalObjects()

int HDFgroup::nInternalObjects ( )
virtual

◆ nSons()

int HDFcontainerObject::nSons ( )
inherited

◆ OpenOnDisk()

◆ SetNextBrother()

void HDFinternalObject::SetNextBrother ( HDFinternalObject next)
inherited

◆ SetPreviousBrother()

void HDFinternalObject::SetPreviousBrother ( HDFinternalObject previous)
inherited

Field Documentation

◆ _attribute

char* HDFgroup::_attribute
private

Referenced by GetAttributeName(), and HDFgroup().

◆ _father

HDFcontainerObject* HDFgroup::_father
private

Referenced by GetFather(), and HDFgroup().

◆ _fid

◆ _firstson

◆ _id

◆ _lastson

◆ _mid

hdf_idt HDFgroup::_mid
private

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

◆ _name

◆ _nextbrother

◆ _nsons

int HDFcontainerObject::_nsons
privateinherited

◆ _previousbrother