|
HL-HDF
|
Private functions for working with HL_Node's. More...
Go to the source code of this file.
Functions | |
| void | HLNodePrivate_setData (HL_Node *node, size_t datasize, unsigned char *data) |
| Sets data and datasize in the node. | |
| void | HLNodePrivate_setRawdata (HL_Node *node, size_t datasize, unsigned char *data) |
| Sets rawdata and rawdatasize in the node. | |
| int | HLNodePrivate_setTypeIdAndDeriveFormat (HL_Node *node, hid_t typid) |
| Copies the typid and sets it in the node and also atempts to derive the format name. | |
| void | HLNodePrivate_setHdfID (HL_Node *node, hid_t hdfid) |
| Sets the HDF identifier. | |
| hid_t | HLNodePrivate_getHdfID (HL_Node *node) |
| Returns the HDF identifier. | |
| const hsize_t * | HLNodePrivate_getDims (HL_Node *node) |
| Returns an internal pointer to the dimensions. | |
| hid_t | HLNodePrivate_getTypeId (HL_Node *node) |
| Returns the internal type id. | |
Private functions for working with HL_Node's.
| const hsize_t * HLNodePrivate_getDims | ( | HL_Node * | node | ) |
Returns an internal pointer to the dimensions.
| [in] | node | the node |
| hid_t HLNodePrivate_getHdfID | ( | HL_Node * | node | ) |
Returns the HDF identifier.
| [in] | node | the node |
| hid_t HLNodePrivate_getTypeId | ( | HL_Node * | node | ) |
Returns the internal type id.
| [in] | node | the node |
| void HLNodePrivate_setData | ( | HL_Node * | node, |
| size_t | datasize, | ||
| unsigned char * | data ) |
Sets data and datasize in the node.
When this function has been called, responsibility for the data has been taken over so do not release that memory.
| [in] | node | the node (MAY NOT BE NULL) |
| [in] | datasize | the size of the data type as get by H5Tget_size. |
| [in] | data | the data (responsibility taken over so do not release after call). |
| void HLNodePrivate_setHdfID | ( | HL_Node * | node, |
| hid_t | hdfid ) |
Sets the HDF identifier.
| [in] | node | the node |
| [in] | hdfid | the hdf id. (The responsibility is taken over so do not delete) |
| void HLNodePrivate_setRawdata | ( | HL_Node * | node, |
| size_t | datasize, | ||
| unsigned char * | data ) |
Sets rawdata and rawdatasize in the node.
When this function has been called, responsibility for the data has been taken over so do not release that memory.
| [in] | node | the node (MAY NOT BE NULL) |
| [in] | datasize | the size of the data type as get by H5Tget_size. |
| [in] | data | the data (responsibility taken over so do not release after call). |
| int HLNodePrivate_setTypeIdAndDeriveFormat | ( | HL_Node * | node, |
| hid_t | typid ) |
Copies the typid and sets it in the node and also atempts to derive the format name.
| [in] | node | the node |
| [in] | typid | the type identifier |