|
RAVE
|
Functions for managing io cache files like static files. More...
#include <lazy_nodelist_reader.h>#include "rave_iocache.h"#include "rave_debug.h"#include "rave_alloc.h"#include "rave_types.h"#include "rave_utilities.h"#include "rave_data2d.h"#include "hlhdf.h"#include "hlhdf_alloc.h"#include "hlhdf_debug.h"#include "string.h"#include "stdarg.h"#include "raveobject_hashtable.h"#include "raveobject_list.h"#include "polarvolume.h"#include "cartesianvolume.h"#include "rave_field.h"#include "rave_hlhdf_utilities.h"#include "odim_io_utilities.h"Classes | |
| struct | _RaveIOCache_t |
| Defines the structure for the RaveIOCache. More... | |
Functions | |
| RaveField_t * | RaveIOCache_loadField (RaveIOCache_t *iocache, const char *filename, const char *fieldname) |
| Adds a vertical profile to a node list. | |
| int | RaveIOCache_saveField (RaveIOCache_t *iocache, RaveField_t *field, const char *filename) |
| Saves a rave object as specified. | |
| void | RaveIOCache_setCompressionLevel (RaveIOCache_t *iocache, int lvl) |
| Sets the compression level. | |
| int | RaveIOCache_getCompressionLevel (RaveIOCache_t *iocache) |
| Returns the compression level. | |
| void | RaveIOCache_setUserBlock (RaveIOCache_t *iocache, unsigned long long userblock) |
| Sets the user block. | |
| unsigned long long | RaveIOCache_getUserBlock (RaveIOCache_t *iocache) |
| Returns the user block. | |
| void | RaveIOCache_setSizes (RaveIOCache_t *iocache, size_t sz, size_t addr) |
| Sets the sizes. | |
| void | RaveIOCache_getSizes (RaveIOCache_t *iocache, size_t *sz, size_t *addr) |
| Returns the sizes. | |
| void | RaveIOCache_setSymk (RaveIOCache_t *iocache, int ik, int lk) |
| Sets the symk. | |
| void | RaveIOCache_getSymk (RaveIOCache_t *iocache, int *ik, int *lk) |
| Returns the symk. | |
| void | RaveIOCache_setIStoreK (RaveIOCache_t *iocache, long k) |
| Sets the istore_k value. | |
| long | RaveIOCache_getIStoreK (RaveIOCache_t *iocache) |
| Returns the istore_k value. | |
| void | RaveIOCache_setMetaBlockSize (RaveIOCache_t *iocache, long sz) |
| Sets the meta block size. | |
| long | RaveIOCache_getMetaBlockSize (RaveIOCache_t *iocache) |
| Returns the meta block size. | |
| const char * | RaveIOCache_getErrorMessage (RaveIOCache_t *iocache) |
| If an error occurs during writing, you might get an indication for why by checking the error message. | |
Variables | |
| RaveCoreObjectType | RaveIOCache_TYPE |
| Type definition to use when creating a rave object. | |
Functions for managing io cache files like static files.
| int RaveIOCache_getCompressionLevel | ( | RaveIOCache_t * | iocache | ) |
Returns the compression level.
| [in] | iocache- | self |
| const char * RaveIOCache_getErrorMessage | ( | RaveIOCache_t * | iocache | ) |
If an error occurs during writing, you might get an indication for why by checking the error message.
| [in] | iocache | - rave io |
| long RaveIOCache_getIStoreK | ( | RaveIOCache_t * | iocache | ) |
Returns the istore_k value.
| [in] | iocache | - self |
| long RaveIOCache_getMetaBlockSize | ( | RaveIOCache_t * | iocache | ) |
Returns the meta block size.
| [in] | iocache | - self |
| void RaveIOCache_getSizes | ( | RaveIOCache_t * | iocache, |
| size_t * | sz, | ||
| size_t * | addr ) |
Returns the sizes.
| [in] | iocache | - self |
| [in] | sz | - same as sizes.sizeof_size |
| [in] | addr | - same as sizes.sizeof_addr |
| void RaveIOCache_getSymk | ( | RaveIOCache_t * | iocache, |
| int * | ik, | ||
| int * | lk ) |
Returns the symk.
| [in] | iocache | - self |
| [in] | ik | - same as sym_k.ik |
| [in] | lk | - same as sym_k.lk |
| unsigned long long RaveIOCache_getUserBlock | ( | RaveIOCache_t * | iocache | ) |
Returns the user block.
| [in] | iocache | - self |
| RaveField_t * RaveIOCache_loadField | ( | RaveIOCache_t * | iocache, |
| const char * | filename, | ||
| const char * | fieldname ) |
Adds a vertical profile to a node list.
Opens a supported HDF5 file and loads it into the RaveIOCache instance.
| [in] | vp | - the vertical profile to be added to a node list |
| [in] | nodelist | - the nodelist the nodes should be added to |
| int RaveIOCache_saveField | ( | RaveIOCache_t * | iocache, |
| RaveField_t * | obj, | ||
| const char * | filename ) |
Saves a rave object as specified.
| [in] | iocache | - self |
| [in] | obj | - the field to save |
| [in] | filename | - the filename to save with. |
| void RaveIOCache_setCompressionLevel | ( | RaveIOCache_t * | iocache, |
| int | lvl ) |
Sets the compression level.
| [in] | iocache | - self |
| [in] | lvl | - the compression level (0..9) |
| void RaveIOCache_setIStoreK | ( | RaveIOCache_t * | iocache, |
| long | k ) |
Sets the istore_k value.
| [in] | iocache | - self |
| [in] | k | - the istore_k value |
| void RaveIOCache_setMetaBlockSize | ( | RaveIOCache_t * | iocache, |
| long | sz ) |
Sets the meta block size.
| [in] | iocache | - self |
| [in] | sz | - the meta block size |
| void RaveIOCache_setSizes | ( | RaveIOCache_t * | iocache, |
| size_t | sz, | ||
| size_t | addr ) |
Sets the sizes.
| [in] | iocache | - self |
| [in] | sz | - same as sizes.sizeof_size |
| [in] | addr | - same as sizes.sizeof_addr |
| void RaveIOCache_setSymk | ( | RaveIOCache_t * | iocache, |
| int | ik, | ||
| int | lk ) |
Sets the symk.
| [in] | iocache | - self |
| [in] | ik | - same as sym_k.ik |
| [in] | lk | - same as sym_k.lk |
| void RaveIOCache_setUserBlock | ( | RaveIOCache_t * | iocache, |
| unsigned long long | userblock ) |
Sets the user block.
| [in] | iocache | - self |
| [in] | userblock | - the user block |
| RaveCoreObjectType RaveIOCache_TYPE |
Type definition to use when creating a rave object.