RAVE
rave_legend.c File Reference

Used for managing attributes and handle different versions. More...

#include "rave_attribute.h"
#include "rave_legend.h"
#include "rave_object.h"
#include "raveobject_list.h"
#include "rave_debug.h"
#include "rave_alloc.h"
#include <string.h>
#include <stdio.h>

Classes

struct  _RaveLegend_t
 Represents one scan in a volume. More...
 

Functions

int RaveLegend_addValue (RaveLegend_t *self, const char *key, const char *value)
 
int RaveLegend_size (RaveLegend_t *self)
 
int RaveLegend_exists (RaveLegend_t *self, const char *key)
 
const char * RaveLegend_getValue (RaveLegend_t *self, const char *key)
 
const char * RaveLegend_getValueAt (RaveLegend_t *self, int index)
 
const char * RaveLegend_getNameAt (RaveLegend_t *self, int index)
 
int RaveLegend_clear (RaveLegend_t *self)
 
int RaveLegend_remove (RaveLegend_t *self, const char *key)
 
int RaveLegend_removeAt (RaveLegend_t *self, int index)
 
int RaveLegend_maxKeyLength (RaveLegend_t *self)
 
int RaveLegend_maxValueLength (RaveLegend_t *self)
 

Variables

RaveCoreObjectType RaveLegend_TYPE
 Type definition to use when creating a rave object.
 

Detailed Description

Used for managing attributes and handle different versions.

This object supports RAVE_OBJECT_CLONE.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2022-03-30

Variable Documentation

◆ RaveLegend_TYPE

RaveCoreObjectType RaveLegend_TYPE
Initial value:
= {
"RaveLegend",
sizeof(RaveLegend_t),
RaveLegend_constructor,
RaveLegend_destructor,
RaveLegend_copyconstructor
}
struct _RaveLegend_t RaveLegend_t
Defines a attribute tablee.
Definition rave_legend.h:35

Type definition to use when creating a rave object.