libsff

Home Modules Examples

/home/pinky2/mattijs/OpenFOAM/OpenFOAM-1.0/applications/utilities/mesh/conversion/ccm24ToFoam/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, const char *name, int value)
 Creates a child node of parent with given name and value.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CCMIOError CCMIOGetNextChildWithLabel (CCMIOError *err, CCMIONode parent, const char *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 Dec 13 16:20:26 2004 for libccmio by doxygen 1.3.6