HL-HDF
hlhdf_node_private.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2009 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of HLHDF.
5
6HLHDF is free software: you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
10
11HLHDF is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License
17along with HLHDF. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
19
26#ifndef HLHDF_NODE_PRIVATE_H
27#define HLHDF_NODE_PRIVATE_H
28
36void HLNodePrivate_setData(HL_Node* node, size_t datasize, unsigned char* data);
37
45void HLNodePrivate_setRawdata(HL_Node* node, size_t datasize, unsigned char* data);
46
55
61void HLNodePrivate_setHdfID(HL_Node* node, hid_t hdfid);
62
69
75const hsize_t* HLNodePrivate_getDims(HL_Node* node);
76
83
84#endif /* HLHDF_NODE_PRIVATE_H */
void HLNodePrivate_setHdfID(HL_Node *node, hid_t hdfid)
Sets the HDF identifier.
Definition hlhdf_node.c:131
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.
Definition hlhdf_node.c:109
hid_t HLNodePrivate_getTypeId(HL_Node *node)
Returns the internal type id.
Definition hlhdf_node.c:171
void HLNodePrivate_setData(HL_Node *node, size_t datasize, unsigned char *data)
Sets data and datasize in the node.
Definition hlhdf_node.c:93
void HLNodePrivate_setRawdata(HL_Node *node, size_t datasize, unsigned char *data)
Sets rawdata and rawdatasize in the node.
Definition hlhdf_node.c:101
hid_t HLNodePrivate_getHdfID(HL_Node *node)
Returns the HDF identifier.
Definition hlhdf_node.c:159
const hsize_t * HLNodePrivate_getDims(HL_Node *node)
Returns an internal pointer to the dimensions.
Definition hlhdf_node.c:165
Represents a HDF5 object/attribute/reference/...
Definition hlhdf_node.c:40