#include <HDFfile.hxx>
Public Member Functions | |
HDFfile (char *name) | |
void | CreateOnDisk () |
void | OpenOnDisk (hdf_access_mode acess_mode) |
void | CloseOnDisk () |
hdf_access_mode | GetAccessMode () |
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 () |
char * | GetAttributeName (unsigned idx) |
void | AddSon (HDFinternalObject *son) |
HDFinternalObject * | GetFirstSon () |
HDFinternalObject * | GetLastSon () |
int | nSons () |
HDFinternalObject * | GetPreviousBrother () |
HDFinternalObject * | GetNextBrother () |
void | SetPreviousBrother (HDFinternalObject *previous) |
void | SetNextBrother (HDFinternalObject *next) |
hdf_idt | GetId () |
char * | GetName () |
Protected Attributes | |
char * | _name |
hdf_idt | _id |
Private Attributes | |
hdf_access_mode | _access_mode |
char * | _attribute |
HDFfile::HDFfile | ( | char * | name | ) |
References _attribute.
|
inherited |
void HDFfile::CloseOnDisk | ( | ) |
References HDFobject::_id, and HDFfileClose().
Referenced by HDFascii::ConvertFromASCIIToHDF(), HDFascii::ConvertFromHDFToASCII(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), SALOMEDSImpl_StudyManager::Open(), Salome_file_i::save(), and Salome_file_i::save_all().
void HDFfile::CreateOnDisk | ( | ) |
References HDFobject::_id, HDFobject::_name, and HDFfileCreate().
Referenced by HDFascii::ConvertFromASCIIToHDF(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), main(), Salome_file_i::save(), and Salome_file_i::save_all().
int HDFfile::ExistInternalObject | ( | const char * | object_name | ) |
References HDF_NAME_MAX_LEN, InternalObjectIndentify(), and nInternalObjects().
Referenced by main(), and SALOMEDSImpl_StudyManager::Open().
hdf_access_mode HDFfile::GetAccessMode | ( | ) |
References _access_mode.
char * HDFfile::GetAttributeName | ( | unsigned | idx | ) |
References _attribute, HDFobject::_id, file_attr(), and nAttributes().
Referenced by HDFascii::ConvertFromHDFToASCII().
|
inherited |
References HDFcontainerObject::_firstson.
Referenced by HDFexplorer::HDFexplorer(), and HDFexplorer::Reset().
|
inherited |
References HDFobject::_id.
Referenced by CreateDatasetFromASCII(), HDFarray::HDFarray(), HDFattribute::HDFattribute(), HDFdataset::HDFdataset(), and HDFgroup::HDFgroup().
|
inherited |
References HDFcontainerObject::_lastson.
Referenced by HDFexplorer::HDFexplorer(), and HDFexplorer::Reset().
|
inherited |
References HDFobject::_name.
Referenced by BuildTree(), main(), ReadAttributes(), SaveAttributeInASCIIfile(), SaveDatasetInASCIIfile(), and SaveGroupInASCIIfile().
|
inherited |
References HDFinternalObject::_nextbrother.
Referenced by HDFexplorer::Next(), and HDFcontainerObject::~HDFcontainerObject().
|
virtual |
|
inherited |
References HDFinternalObject::_previousbrother.
|
virtual |
Reimplemented from HDFcontainerObject.
References HDFobject::_id, and HDFobjectIdentify().
Referenced by HDFascii::ConvertFromHDFToASCII(), ExistInternalObject(), and main().
hdf_object_type HDFfile::InternalObjectType | ( | char * | object_name | ) |
References HDFobject::_id, and HDFobjectType().
Referenced by HDFascii::ConvertFromHDFToASCII(), and main().
int HDFfile::nAttributes | ( | ) |
References HDFobject::_id.
Referenced by HDFascii::ConvertFromHDFToASCII(), and GetAttributeName().
|
virtual |
Reimplemented from HDFcontainerObject.
References HDFobject::_id, and HDFnObjects().
Referenced by HDFascii::ConvertFromHDFToASCII(), ExistInternalObject(), and main().
|
inherited |
References HDFcontainerObject::_nsons.
Referenced by HDFexplorer::HDFexplorer(), and HDFexplorer::Reset().
void HDFfile::OpenOnDisk | ( | hdf_access_mode | acess_mode | ) |
References _access_mode, HDFobject::_id, HDFobject::_name, HDF_RDONLY, HDF_RDWR, HDFfileCreate(), and HDFfileOpen().
Referenced by HDFascii::ConvertFromHDFToASCII(), Salome_file_i::load(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), and SALOMEDSImpl_StudyManager::Open().
|
inherited |
References HDFinternalObject::_nextbrother.
Referenced by HDFcontainerObject::AddSon().
|
inherited |
References HDFinternalObject::_previousbrother.
Referenced by HDFcontainerObject::AddSon().
|
private |
Referenced by GetAccessMode(), and OpenOnDisk().
|
private |
Referenced by GetAttributeName(), and HDFfile().
|
protectedinherited |
Referenced by CloseOnDisk(), HDFgroup::CloseOnDisk(), HDFattribute::CloseOnDisk(), HDFarray::CloseOnDisk(), HDFdataset::CloseOnDisk(), CreateOnDisk(), HDFgroup::CreateOnDisk(), HDFattribute::CreateOnDisk(), HDFarray::CreateOnDisk(), HDFdataset::CreateOnDisk(), GetAttributeName(), HDFgroup::GetAttributeName(), HDFdataset::GetAttributeName(), HDFarray::GetDataType(), HDFarray::GetDim(), HDFdataset::GetDim(), HDFobject::GetId(), HDFdataset::GetOrder(), HDFattribute::GetSize(), HDFdataset::GetSize(), HDFattribute::GetType(), HDFdataset::GetType(), HDFarray::HDFarray(), HDFobject::HDFobject(), InternalObjectIndentify(), InternalObjectType(), HDFgroup::InternalObjectType(), nAttributes(), HDFgroup::nAttributes(), HDFdataset::nAttributes(), HDFarray::nDim(), HDFdataset::nDim(), nInternalObjects(), OpenOnDisk(), HDFgroup::OpenOnDisk(), HDFattribute::OpenOnDisk(), HDFdataset::OpenOnDisk(), HDFattribute::ReadFromDisk(), HDFdataset::ReadFromDisk(), HDFattribute::WriteOnDisk(), and HDFdataset::WriteOnDisk().
|
protectedinherited |
Referenced by CreateOnDisk(), HDFgroup::CreateOnDisk(), HDFattribute::CreateOnDisk(), HDFdataset::CreateOnDisk(), HDFgroup::FileMount(), HDFgroup::FileUnMount(), HDFobject::GetName(), HDFobject::HDFobject(), HDFgroup::InternalObjectIndentify(), HDFgroup::nInternalObjects(), OpenOnDisk(), HDFgroup::OpenOnDisk(), HDFattribute::OpenOnDisk(), HDFdataset::OpenOnDisk(), and HDFobject::~HDFobject().