#include <HDFdataset.hxx>
Public Member Functions | |
HDFdataset (const char *name, HDFcontainerObject *father, hdf_type type, hdf_size dim[], int dimsize, hdf_byte_order order=H5T_ORDER_NONE) | |
HDFdataset (const char *name, HDFcontainerObject *father) | |
virtual | ~HDFdataset () |
void | CreateOnDisk () |
void | OpenOnDisk () |
void | CloseOnDisk () |
void | WriteOnDisk (void *values) |
void | ReadFromDisk (void *values) |
HDFcontainerObject * | GetFather () |
hdf_type | GetType () |
int | nDim () |
void | GetDim (hdf_size dim[]) |
hdf_size | GetSize () |
hdf_object_type | GetObjectType () |
hdf_byte_order | GetOrder () |
void | SetArrayId (hdf_idt arrayId) |
int | nAttributes () |
char * | GetAttributeName (unsigned idx) |
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 | |
HDFcontainerObject * | _father |
hdf_idt | _fid |
hdf_type | _type |
hdf_size * | _dim |
hdf_byte_order | _byte_order |
hdf_size | _size |
int | _ndim |
char * | _attribute |
hdf_idt | _arrayId |
HDFdataset::HDFdataset | ( | const char * | name, |
HDFcontainerObject * | father, | ||
hdf_type | type, | ||
hdf_size | dim[], | ||
int | dimsize, | ||
hdf_byte_order | order = H5T_ORDER_NONE |
||
) |
References _arrayId, _attribute, _byte_order, _dim, _father, _fid, _ndim, _size, _type, HDFcontainerObject::AddSon(), and HDFobject::GetId().
HDFdataset::HDFdataset | ( | const char * | name, |
HDFcontainerObject * | father | ||
) |
References _arrayId, _attribute, _byte_order, _dim, _father, _fid, _ndim, _size, _type, HDFcontainerObject::AddSon(), HDFobject::GetId(), and HDF_NONE.
|
virtual |
References _dim.
void HDFdataset::CloseOnDisk | ( | ) |
References HDFobject::_id, and HDFdatasetClose().
Referenced by CreateDatasetFromASCII(), HDFConvert::FromAscii(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyManager::Impl_SaveProperties(), Salome_file_i::load(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), ReadAttributes(), ReadNoteBookVariables(), SaveAttributes(), and SaveDatasetInASCIIfile().
void HDFdataset::CreateOnDisk | ( | ) |
References _arrayId, _byte_order, _dim, _fid, HDFobject::_id, HDFobject::_name, _ndim, _type, and HDFdatasetCreate().
Referenced by CreateDatasetFromASCII(), HDFConvert::FromAscii(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyManager::Impl_SaveProperties(), main(), and SaveAttributes().
char * HDFdataset::GetAttributeName | ( | unsigned | idx | ) |
References _attribute, HDFobject::_id, dataset_attr(), and nAttributes().
Referenced by SaveDatasetInASCIIfile().
void HDFdataset::GetDim | ( | hdf_size | dim[] | ) |
References _dim, HDFobject::_id, _ndim, HDFdatasetGetDim(), and HDFdatasetGetnDim().
Referenced by main(), and SaveDatasetInASCIIfile().
HDFcontainerObject * HDFdataset::GetFather | ( | ) |
References _father.
|
inherited |
References HDFobject::_id.
Referenced by CreateDatasetFromASCII(), HDFarray::HDFarray(), HDFattribute::HDFattribute(), HDFdataset(), and HDFgroup::HDFgroup().
|
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 |
Reimplemented from HDFobject.
References HDF_DATASET.
hdf_byte_order HDFdataset::GetOrder | ( | ) |
References _byte_order, HDFobject::_id, and HDFdatasetGetOrder().
Referenced by SaveDatasetInASCIIfile().
|
inherited |
References HDFinternalObject::_previousbrother.
hdf_size HDFdataset::GetSize | ( | ) |
References HDFobject::_id, _size, _type, HDF_FLOAT64, HDF_INT32, HDF_INT64, HDF_NONE, HDFdatasetGetSize(), and HDFdatasetGetType().
Referenced by Salome_file_i::load(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), ReadAttributes(), ReadNoteBookVariables(), and SaveDatasetInASCIIfile().
hdf_type HDFdataset::GetType | ( | ) |
References HDFobject::_id, _type, HDF_NONE, and HDFdatasetGetType().
Referenced by main(), and SaveDatasetInASCIIfile().
int HDFdataset::nAttributes | ( | ) |
References HDFobject::_id.
Referenced by GetAttributeName(), and SaveDatasetInASCIIfile().
int HDFdataset::nDim | ( | ) |
References HDFobject::_id, _ndim, and HDFdatasetGetnDim().
Referenced by main(), and SaveDatasetInASCIIfile().
void HDFdataset::OpenOnDisk | ( | ) |
References _fid, HDFobject::_id, HDFobject::_name, and HDFdatasetOpen().
Referenced by Salome_file_i::load(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), ReadAttributes(), ReadNoteBookVariables(), and SaveDatasetInASCIIfile().
void HDFdataset::ReadFromDisk | ( | void * | values | ) |
References HDFobject::_id, and HDFdatasetRead().
Referenced by Salome_file_i::load(), SALOMEDSImpl_StudyBuilder::LoadWith(), main(), ReadAttributes(), ReadNoteBookVariables(), and WriteSimpleData().
void HDFdataset::SetArrayId | ( | hdf_idt | arrayId | ) |
References _arrayId.
Referenced by CreateDatasetFromASCII().
|
inherited |
References HDFinternalObject::_nextbrother.
Referenced by HDFcontainerObject::AddSon().
|
inherited |
References HDFinternalObject::_previousbrother.
Referenced by HDFcontainerObject::AddSon().
void HDFdataset::WriteOnDisk | ( | void * | values | ) |
References HDFobject::_id, and HDFdatasetWrite().
Referenced by CreateDatasetFromASCII(), HDFConvert::FromAscii(), SALOMEDSImpl_StudyManager::Impl_SaveAs(), SALOMEDSImpl_StudyManager::Impl_SaveProperties(), main(), and SaveAttributes().
|
private |
Referenced by CreateOnDisk(), HDFdataset(), and SetArrayId().
|
private |
Referenced by GetAttributeName(), and HDFdataset().
|
private |
Referenced by CreateOnDisk(), GetOrder(), and HDFdataset().
|
private |
Referenced by CreateOnDisk(), GetDim(), HDFdataset(), and ~HDFdataset().
|
private |
Referenced by GetFather(), and HDFdataset().
|
private |
Referenced by CreateOnDisk(), HDFdataset(), and OpenOnDisk().
|
protectedinherited |
Referenced by HDFfile::CloseOnDisk(), HDFgroup::CloseOnDisk(), HDFattribute::CloseOnDisk(), HDFarray::CloseOnDisk(), CloseOnDisk(), HDFfile::CreateOnDisk(), HDFgroup::CreateOnDisk(), HDFattribute::CreateOnDisk(), HDFarray::CreateOnDisk(), CreateOnDisk(), HDFfile::GetAttributeName(), HDFgroup::GetAttributeName(), GetAttributeName(), HDFarray::GetDataType(), HDFarray::GetDim(), GetDim(), HDFobject::GetId(), GetOrder(), HDFattribute::GetSize(), GetSize(), HDFattribute::GetType(), GetType(), HDFarray::HDFarray(), HDFobject::HDFobject(), HDFfile::InternalObjectIndentify(), HDFfile::InternalObjectType(), HDFgroup::InternalObjectType(), HDFfile::nAttributes(), HDFgroup::nAttributes(), nAttributes(), HDFarray::nDim(), nDim(), HDFfile::nInternalObjects(), HDFfile::OpenOnDisk(), HDFgroup::OpenOnDisk(), HDFattribute::OpenOnDisk(), OpenOnDisk(), HDFattribute::ReadFromDisk(), ReadFromDisk(), HDFattribute::WriteOnDisk(), and WriteOnDisk().
|
protectedinherited |
Referenced by HDFfile::CreateOnDisk(), HDFgroup::CreateOnDisk(), HDFattribute::CreateOnDisk(), CreateOnDisk(), HDFgroup::FileMount(), HDFgroup::FileUnMount(), HDFobject::GetName(), HDFobject::HDFobject(), HDFgroup::InternalObjectIndentify(), HDFgroup::nInternalObjects(), HDFfile::OpenOnDisk(), HDFgroup::OpenOnDisk(), HDFattribute::OpenOnDisk(), OpenOnDisk(), and HDFobject::~HDFobject().
|
private |
Referenced by CreateOnDisk(), GetDim(), HDFdataset(), and nDim().
|
private |
Referenced by GetSize(), and HDFdataset().
|
private |
Referenced by CreateOnDisk(), GetSize(), GetType(), and HDFdataset().