|
| Attribute (const Attribute &original) |
| Copy constructor: makes a copy of the original Attribute object. More...
|
|
| Attribute () |
| Default constructor: Creates a stub attribute. More...
|
|
| Attribute (const hid_t attr_id) |
| Creates an Attribute object using the id of an existing attribute. More...
|
|
virtual void | close () |
| Closes this attribute. More...
|
|
H5std_string | getFileName () const |
| Gets the name of the file, in which this attribute belongs. More...
|
|
ssize_t | getName (char *attr_name, size_t buf_size=0) const |
| Gets the name of this attribute, returning its length. More...
|
|
H5std_string | getName (size_t len) const |
| This is an overloaded member function, provided for convenience. It differs from the above function in that it takes an integer specifying a desired length to be retrieved of the name. More...
|
|
H5std_string | getName () const |
| Returns the name of this attribute as an H5std_string. More...
|
|
ssize_t | getName (H5std_string &attr_name, size_t len=0) const |
| Gets the name of this attribute, returning its length. More...
|
|
ssize_t | getName (size_t buf_size, H5std_string &attr_name) const |
|
virtual DataSpace | getSpace () const |
| Gets a copy of the dataspace for this attribute. More...
|
|
virtual hsize_t | getStorageSize () const |
| Returns the amount of storage size required for this attribute. More...
|
|
virtual size_t | getInMemDataSize () const |
| Gets the size in memory of the attribute's data. More...
|
|
void | read (const DataType &mem_type, void *buf) const |
| Reads data from this attribute. More...
|
|
void | read (const DataType &mem_type, H5std_string &strg) const |
| This is an overloaded member function, provided for convenience. It reads a H5std_string from this attribute. More...
|
|
void | write (const DataType &mem_type, const void *buf) const |
| Writes data to this attribute. More...
|
|
void | write (const DataType &mem_type, const H5std_string &strg) const |
| This is an overloaded member function, provided for convenience. It writes a H5std_string to this attribute. More...
|
|
void | flush (H5F_scope_t scope) const |
| Flushes all buffers associated with a file specified by this attribute, to disk. More...
|
|
virtual H5std_string | fromClass () const |
| Returns this class name. More...
|
|
virtual hid_t | getId () const |
| Get the id of this attribute. More...
|
|
virtual | ~Attribute () |
| Properly terminates access to this attribute. More...
|
|
DataType | getDataType () const |
| Returns the generic datatype of this abstract dataset, which can be a dataset or an attribute. More...
|
|
ArrayType | getArrayType () const |
| Returns the array datatype of this abstract dataset which can be a dataset or an attribute. More...
|
|
CompType | getCompType () const |
| Returns the compound datatype of this abstract dataset which can be a dataset or an attribute. More...
|
|
EnumType | getEnumType () const |
| Returns the enumeration datatype of this abstract dataset which can be a dataset or an attribute. More...
|
|
IntType | getIntType () const |
| Returns the integer datatype of this abstract dataset which can be a dataset or an attribute. More...
|
|
FloatType | getFloatType () const |
| Returns the floating-point datatype of this abstract dataset, which can be a dataset or an attribute. More...
|
|
StrType | getStrType () const |
| Returns the string datatype of this abstract dataset which can be a dataset or an attribute. More...
|
|
VarLenType | getVarLenType () const |
| Returns the floating-point datatype of this abstract dataset, which can be a dataset or an attribute. More...
|
|
H5T_class_t | getTypeClass () const |
| Creates an AbstractDs instance using an existing id. More...
|
|
virtual | ~AbstractDs () |
| Noop destructor. More...
|
|
void | incRefCount (const hid_t obj_id) const |
| Increment reference counter for a given id. More...
|
|
void | incRefCount () const |
| Increment reference counter for the id of this object. More...
|
|
void | decRefCount (const hid_t obj_id) const |
| Decrement reference counter for a given id. More...
|
|
void | decRefCount () const |
| Decrement reference counter for the id of this object. More...
|
|
int | getCounter (const hid_t obj_id) const |
| Returns the reference counter for a given id. More...
|
|
int | getCounter () const |
| Returns the reference counter for the id of this object. More...
|
|
H5I_type_t | getHDFObjType () const |
| Returns the type of the object. It is an overloaded function of the above function. More...
|
|
IdComponent & | operator= (const IdComponent &rhs) |
| Assignment operator. More...
|
|
void | setId (const hid_t new_id) |
| Sets the identifier of this object to a new value. More...
|
|
| IdComponent (const hid_t h5_id) |
|
virtual | ~IdComponent () |
| Noop destructor. More...
|
|
An attribute has many characteristics similar to a dataset, thus both Attribute and DataSet are derivatives of AbstractDs. Attribute also inherits from IdComponent because an attribute is an HDF5 component that is identified by an identifier.