RAVE
lazy_nodelist_reader.h
1/*
2 * lazy_nodelist_io.h
3 *
4 * Created on: Nov 4, 2020
5 * Author: anders
6 */
7
8#ifndef LAZY_NODELIST_IO_H_
9#define LAZY_NODELIST_IO_H_
10#include "rave_object.h"
11#include "rave_types.h"
12#include "hlhdf_nodelist.h"
13#include "hlhdf_node.h"
14#include "rave_data2d.h"
15#include "rave_legend.h"
16#include "rave_alloc.h"
17#include "rave_list.h"
18#include "rave_attribute.h"
19
24
28extern RaveCoreObjectType LazyNodeListReader_TYPE;
29
38int LazyNodeListReader_init(LazyNodeListReader_t* self, HL_NodeList* nodelist);
39
45int LazyNodeListReader_preload(LazyNodeListReader_t* self);
46
55int LazyNodeListReader_preloadQuantities(LazyNodeListReader_t* self, const char* quantities);
56
63RaveData2D_t* LazyNodeListReader_getDataset(LazyNodeListReader_t* self, const char* datasetname);
64
71RaveLegend_t* LazyNodeListReader_getLegend(LazyNodeListReader_t* self, const char* datasetname);
72
79RaveAttribute_t* LazyNodeListReader_getAttribute(LazyNodeListReader_t* self, const char* attributename);
80
87int LazyNodeListReader_isLoaded(LazyNodeListReader_t* self, const char* name);
88
95int LazyNodeListReader_exists(LazyNodeListReader_t* self, const char* name);
96
102HL_NodeList* LazyNodeListReader_getHLNodeList(LazyNodeListReader_t* self);
103
109RaveList_t* LazyNodeListReader_getNodeNames(LazyNodeListReader_t* self);
110
117LazyNodeListReader_t* LazyNodeListReader_create(HL_NodeList* nodelist);
118
119
127LazyNodeListReader_t* LazyNodeListReader_read(const char* filename);
128
134LazyNodeListReader_t* LazyNodeListReader_readPreloaded(const char* filename);
135
136#endif /* LAZY_NODELIST_IO_H_ */
Allocation routines for keeping track on memory.
Used for keeping track on attributes.
Represents a 2-dimensional data array.
Used for defining a legend that can be added to a parameter.
Implementation of a simple list.
Generic implementation of an object that is used within rave.
Type definitions for RAVE.
Represents the lazy nodelist loader.
Definition lazy_nodelist_reader.c:21
RAVE_OBJECT_HEAD HL_NodeList * nodelist
Always on top.
Definition lazy_nodelist_reader.c:23
Represents one scan in a volume.
Definition rave_attribute.c:46
Represents a date time instance.
Definition rave_data2d.c:38
Represents one scan in a volume.
Definition rave_legend.c:39
Represents a list.
Definition rave_list.c:36
The rave object type definition.
Definition rave_object.h:52