Version: 9.12.0
HDFarray Class Reference

#include <HDFarray.hxx>

Inheritance diagram for HDFarray:

Public Member Functions

 HDFarray (HDFobject *father, hdf_type dataType, int ndim, hdf_size *dim)
 
 HDFarray (HDFobject *father)
 
virtual ~HDFarray ()
 
virtual hdf_type GetDataType ()
 
virtual hdf_object_type GetObjectType ()
 
void CreateOnDisk ()
 
void CloseOnDisk ()
 
int nDim ()
 
void GetDim (hdf_size dim[])
 
hdf_idt GetId ()
 
char * GetName ()
 

Protected Attributes

HDFobject_father
 
hdf_type _datatype
 
hdf_size_dim
 
int _ndim
 
char * _name
 
hdf_idt _id
 

Constructor & Destructor Documentation

◆ HDFarray() [1/2]

HDFarray::HDFarray ( HDFobject father,
hdf_type  dataType,
int  ndim,
hdf_size dim 
)

References _datatype, _dim, _father, and _ndim.

◆ HDFarray() [2/2]

HDFarray::HDFarray ( HDFobject father)

◆ ~HDFarray()

HDFarray::~HDFarray ( )
virtual

References _dim.

Member Function Documentation

◆ CloseOnDisk()

void HDFarray::CloseOnDisk ( )

References HDFobject::_id, and HDFarrayClose().

Referenced by CreateDatasetFromASCII().

◆ CreateOnDisk()

void HDFarray::CreateOnDisk ( )

◆ GetDataType()

hdf_type HDFarray::GetDataType ( )
virtual

◆ GetDim()

void HDFarray::GetDim ( hdf_size  dim[])

◆ GetId()

◆ GetName()

char * HDFobject::GetName ( )
inherited

◆ GetObjectType()

hdf_object_type HDFarray::GetObjectType ( )
virtual

Reimplemented from HDFobject.

References HDF_ARRAY_TYPE.

◆ nDim()

int HDFarray::nDim ( )

Field Documentation

◆ _datatype

hdf_type HDFarray::_datatype
protected

Referenced by CreateOnDisk(), GetDataType(), and HDFarray().

◆ _dim

hdf_size* HDFarray::_dim
protected

◆ _father

HDFobject* HDFarray::_father
protected

Referenced by HDFarray().

◆ _id

◆ _name

◆ _ndim

int HDFarray::_ndim
protected

Referenced by CreateOnDisk(), GetDim(), HDFarray(), and nDim().