RAVE
rave_legend.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2024 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of RAVE.
5
6RAVE is free software: you can redistribute it and/or modify
7it under the terms of the GNU Lesser General Public License as published by
8the Free Software Foundation, either version 3 of the License, or
9(at your option) any later version.
10
11RAVE is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU Lesser General Public License for more details.
15
16You should have received a copy of the GNU Lesser General Public License
17along with RAVE. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
26#ifndef RAVE_LEGEND_H
27#define RAVE_LEGEND_H
28
29#include "rave_object.h"
30#include "rave_types.h"
31
36
41
42int RaveLegend_addValue(RaveLegend_t* self, const char* key, const char* value);
43
44int RaveLegend_size(RaveLegend_t* self);
45
46int RaveLegend_exists(RaveLegend_t* self, const char* key);
47
48const char* RaveLegend_getValue(RaveLegend_t* self, const char* key);
49
50const char* RaveLegend_getValueAt(RaveLegend_t* self, int index);
51
52const char* RaveLegend_getNameAt(RaveLegend_t* self, int index);
53
54int RaveLegend_clear(RaveLegend_t* self);
55
56int RaveLegend_remove(RaveLegend_t* self, const char* key);
57
58int RaveLegend_removeAt(RaveLegend_t* self, int index);
59
60int RaveLegend_maxKeyLength(RaveLegend_t* self);
61
62int RaveLegend_maxValueLength(RaveLegend_t* self);
63
64#endif /* RAVE_ATTRIBUTE_TABLE_H */
RaveCoreObjectType RaveLegend_TYPE
Type definition to use when creating a rave object.
Definition rave_legend.c:267
Generic implementation of an object that is used within rave.
Type definitions for RAVE.
Represents one scan in a volume.
Definition rave_legend.c:39
The rave object type definition.
Definition rave_object.h:52