RAVE
|
This is a wrapper around a lazy nodelist reader used for fetching data from a HL_NodeList. More...
#include "rave_object.h"
#include "rave_types.h"
#include "rave_data2d.h"
#include "rave_alloc.h"
#include "rave_list.h"
#include "rave_attribute.h"
#include "lazy_nodelist_reader.h"
Go to the source code of this file.
Typedefs | |
typedef struct _LazyDataset_t | LazyDataset_t |
Defines a LazyNodeListReader instance. | |
Functions | |
int | LazyDataset_init (LazyDataset_t *self, LazyNodeListReader_t *reader, const char *nodename) |
Initializes this object with the reader and the name of the node to fetch. | |
RaveData2D_t * | LazyDataset_get (LazyDataset_t *self) |
Load the data upon request. | |
long | LazyDataset_getXsize (LazyDataset_t *self) |
long | LazyDataset_getYsize (LazyDataset_t *self) |
RaveDataType | LazyDataset_getDataType (LazyDataset_t *self) |
const char * | LazyDataset_getNodeName (LazyDataset_t *self) |
Variables | |
RaveCoreObjectType | LazyDataset_TYPE |
Type definition to use when creating a rave object. | |
This is a wrapper around a lazy nodelist reader used for fetching data from a HL_NodeList.
This does not support RAVE_OBJECT_CLONE.
typedef struct _LazyDataset_t LazyDataset_t |
Defines a LazyNodeListReader instance.
RaveData2D_t * LazyDataset_get | ( | LazyDataset_t * | self | ) |
Load the data upon request.
int LazyDataset_init | ( | LazyDataset_t * | self, |
LazyNodeListReader_t * | reader, | ||
const char * | nodename ) |
Initializes this object with the reader and the name of the node to fetch.
The nodename must exist within the available names in the reader otherwise initialization will fail.
[in] | self | - self |
[in] | reader | - the node list reader |
[in] | nodename | - the name of the node |
|
extern |
Type definition to use when creating a rave object.