|
RAVE
|
File Object ODIM IO functions. More...
#include "file_object_odim_io.h"#include "rave_hlhdf_utilities.h"#include "rave_debug.h"#include "rave_alloc.h"#include <string.h>#include "odim_io_utilities.h"#include "lazy_dataset.h"#include <math.h>Classes | |
| struct | _FileObjectOdimIO_t |
| The Polar ODIM IO adaptor. More... | |
Functions | |
| void | FileObjectOdimIO_setVersion (FileObjectOdimIO_t *self, RaveIO_ODIM_Version version) |
| Sets the version that this io class should handle. | |
| RaveIO_ODIM_Version | FileObjectOdimIO_getVersion (FileObjectOdimIO_t *self) |
| Returns the version that this io class handles. | |
| void | FileObjectOdimIO_setStrict (FileObjectOdimIO_t *self, int strict) |
| If writing should be done strictly. | |
| int | FileObjectOdimIO_isStrict (FileObjectOdimIO_t *self) |
| If writing should be done strictly. | |
| const char * | FileObjectOdimIO_getErrorMessage (FileObjectOdimIO_t *self) |
| If an error occurs during writing, you might get an indication for why by checking the error message. | |
| FileObject_t * | FileObjectOdimIO_read (FileObjectOdimIO_t *self, LazyNodeListReader_t *lazyReader) |
| Reads a scan from the nodelist and sets the data in the scan. | |
| int | FileObjectOdimIO_fill (FileObjectOdimIO_t *self, FileObject_t *fobj, HL_NodeList *nodelist) |
| Fills a nodelist with information about a file object. | |
Variables | |
| RaveCoreObjectType | FileObjectOdimIO_TYPE |
| Type definition to use when creating a rave object. | |
File Object ODIM IO functions.
| int FileObjectOdimIO_fill | ( | FileObjectOdimIO_t * | self, |
| FileObject_t * | fobj, | ||
| HL_NodeList * | nodelist ) |
Fills a nodelist with information about a file object.
| [in] | self | - self |
| [in] | fobj | - the file object |
| [in] | nodelist | - the hlhdf nodelist to fill |
| const char * FileObjectOdimIO_getErrorMessage | ( | FileObjectOdimIO_t * | self | ) |
If an error occurs during writing, you might get an indication for why by checking the error message.
| [in] | raveio | - rave io |
| RaveIO_ODIM_Version FileObjectOdimIO_getVersion | ( | FileObjectOdimIO_t * | self | ) |
Returns the version that this io class handles.
| [in] | self | - self |
| int FileObjectOdimIO_isStrict | ( | FileObjectOdimIO_t * | self | ) |
If writing should be done strictly.
From ODIM H5 2.4 several how-attributes are mandatory. If any of these are missing and strict is set to true, then the writing will fail.
| [in] | self | - self |
| FileObject_t * FileObjectOdimIO_read | ( | FileObjectOdimIO_t * | self, |
| LazyNodeListReader_t * | lazyReader ) |
Reads a scan from the nodelist and sets the data in the scan.
| [in] | self | - self |
| [in] | nodelist | - the hdf5 node list |
| void FileObjectOdimIO_setStrict | ( | FileObjectOdimIO_t * | self, |
| int | strict ) |
If writing should be done strictly.
From ODIM H5 2.4 several how-attributes are mandatory. If any of these are missing and strict is set to true, then the writing will fail.
| [in] | self | - self |
| [in] | strict | - if writing should be performed strictly or not |
| void FileObjectOdimIO_setVersion | ( | FileObjectOdimIO_t * | self, |
| RaveIO_ODIM_Version | version ) |
Sets the version that this io class should handle.
| [in] | self | - self |
| [in] | version | - the odim version |
| RaveCoreObjectType FileObjectOdimIO_TYPE |
Type definition to use when creating a rave object.