libccmio

Home Modules Examples

/u/xeona04/people/prewett/src/libccmio/libccmio/ccmiocore.h File Reference

Go to the source code of this file.

Core functions

The minimal set of functions.

CCMIOError CCMIOOpen (char const *filename, CCMIOIOType mode, CCMIONode *root)
 Opens the data file.

CCMIOError CCMIOClose (CCMIONode root)
 Closes the data file.

CCMIOError CCMIOGetNode (CCMIOError *err, CCMIONode parent, char const *path, CCMIONode *node)
 Finds a node, given a node path.

CCMIOError CCMIOGetNumberOfChildren (CCMIOError *err, CCMIONode parent, int *n)
 Returns the number of children in the parent node.

CCMIOError CCMIOGetNextChild (CCMIOError *err, CCMIONode parent, int *n, CCMIONode *child)
 Returns the next child node.

CCMIOError CCMIOGetName (CCMIOError *err, CCMIONode node, char *name)
 Returns the name of the node.

CCMIOError CCMIOSetName (CCMIOError *err, CCMIONode node, char const *name)
 Sets the name of an existing node.

CCMIOError CCMIOGetLabel (CCMIOError *err, CCMIONode node, char *label)
 Returns the label of the node.

CCMIOError CCMIOSetLabel (CCMIOError *err, CCMIONode node, char const *label)
 Sets the label of an existing node.

CCMIOError CCMIOCreateNode (CCMIOError *err, CCMIONode parent, int openDup, char const *name, char const *label, CCMIONode *node)
 Creates a new node.

CCMIOError CCMIOCreateLink (CCMIOError *err, CCMIONode parent, char const *name, char const *filename, char const *destName, CCMIONode *node)
 Creates a new link.

CCMIOError CCMIODeleteNode (CCMIOError *err, CCMIONode node)
 Deletes the node.

CCMIOError CCMIODeleteAllChildren (CCMIOError *err, CCMIONode node)
 Deletes all children of the node, but not the node itself.

CCMIOError CCMIOMoveNode (CCMIOError *err, CCMIONode node, CCMIONode newParent)
 Moves the node underneath newParent.

CCMIOError CCMIOGetDimensions (CCMIOError *err, CCMIONode node, int *nDims, CCMIOIndex **dims)
 Returns the number of items in the node's data.

CCMIOError CCMIOGetDataSize (CCMIOError *err, CCMIONode node, CCMIOSize *bytes)
 Returns the number of bytes of the data.

CCMIOError CCMIOGetDataType (CCMIOError *err, CCMIONode node, CCMIODataType *type)
 Returns the data type for the node.

CCMIOError CCMIOSetDataType (CCMIOError *err, CCMIONode node, CCMIODataType type,...)
 Sets the datatype of the node.

CCMIOError CCMIOvSetDataType (CCMIOError *err, CCMIONode node, CCMIODataType type, va_list args)
 Opens the data file.

CCMIOError CCMIOSetDataTypev (CCMIOError *err, CCMIONode node, CCMIODataType type, int nDims, CCMIOIndex const *dims)
 Opens the data file.

int CCMIOAreNodesEqual (CCMIONode node1, CCMIONode node2)
 Returns all the data in the node.

CCMIOError CCMIOGetRootNode (CCMIOError *err, CCMIONode node, CCMIONode *root)
 Returns the root node, or kCCMIOBadParameterErr if 'node' is not valid.


Generated on Mon Jun 5 17:16:02 2006 for libccmio by doxygen1.2.18