libccmio

Home Modules Examples

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

Go to the source code of this file.

Utility functions

Condenses common tasks

CCMIOError CCMIOWriteNodei (CCMIOError *err, CCMIONode parent, char const *name, int value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWriteNodef (CCMIOError *err, CCMIONode parent, char const *name, float value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWriteNoded (CCMIOError *err, CCMIONode parent, char const *name, double value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWriteNodestr (CCMIOError *err, CCMIONode parent, char const *name, char const *value)
 Creates a child node of parent with given name and string value.

CCMIOError CCMIOReadNodei (CCMIOError *err, CCMIONode parent, char const *name, int *value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOReadNodef (CCMIOError *err, CCMIONode parent, char const *name, float *value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOReadNoded (CCMIOError *err, CCMIONode parent, char const *name, double *value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOReadNodestr (CCMIOError *err, CCMIONode parent, char const *name, char **value)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead1i (CCMIOError *err, CCMIONode node, int *data, CCMIOIndex start, CCMIOIndex end)
 Reads the entire contents of the node into the array provided.

CCMIOError CCMIORead1f (CCMIOError *err, CCMIONode node, float *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead1d (CCMIOError *err, CCMIONode node, double *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead2i (CCMIOError *err, CCMIONode node, int *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead2f (CCMIOError *err, CCMIONode node, float *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead2d (CCMIOError *err, CCMIONode node, double *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead3i (CCMIOError *err, CCMIONode node, int *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead3f (CCMIOError *err, CCMIONode node, float *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIORead3d (CCMIOError *err, CCMIONode node, double *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite1i (CCMIOError *err, CCMIONode node, CCMIOIndex n, int const *data, CCMIOIndex start, CCMIOIndex end)
 Writes the entire array to the node.

CCMIOError CCMIOWrite1f (CCMIOError *err, CCMIONode node, CCMIOIndex n, float const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite1d (CCMIOError *err, CCMIONode node, CCMIOIndex n, double const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite2i (CCMIOError *err, CCMIONode node, CCMIOIndex x, CCMIOIndex y, int const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite2f (CCMIOError *err, CCMIONode node, CCMIOIndex x, CCMIOIndex y, float const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite2d (CCMIOError *err, CCMIONode node, CCMIOIndex x, CCMIOIndex y, double const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite3i (CCMIOError *err, CCMIONode node, CCMIOIndex x, CCMIOIndex y, CCMIOIndex z, int const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite3f (CCMIOError *err, CCMIONode node, CCMIOIndex x, CCMIOIndex y, CCMIOIndex z, float const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOWrite3d (CCMIOError *err, CCMIONode node, CCMIOIndex x, CCMIOIndex y, CCMIOIndex z, double const *data, CCMIOIndex start, CCMIOIndex end)
 Creates a child node of parent with given name and value.

CCMIOError CCMIOOldReadf (CCMIOError *err, CCMIONode node, int dimension, int swapDims, float *data, CCMIOIndex start, CCMIOIndex end)
CCMIOError CCMIOOldReadd (CCMIOError *err, CCMIONode node, int dimension, int swapDims, double *data, CCMIOIndex start, CCMIOIndex end)
CCMIOError CCMIOOldReadi (CCMIOError *err, CCMIONode node, int dimension, int swapDims, int *data, CCMIOIndex start, CCMIOIndex end)
CCMIOError CCMIOCopyNode (CCMIOError *err, CCMIONode origNode, CCMIONode copyNode, int copyExists)
 Recursively copies a node.

CCMIOError CCMIOGetNextChildWithLabel (CCMIOError *err, CCMIONode parent, char const *label, int *n, CCMIONode *child)
 Same as CCMIOGetNextChild() (particularly with respect to the parameter n) except that it only returns children with the specified label.

CCMIOError CCMIOCompress (CCMIOError *err, char *filename)
 Compresses the CCMIO file specified.


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