BALTRAD PPC
ppc_options.h File Reference

Main routine for the ppc options loader This object does support #RAVE_OBJECT_CLONE. More...

#include "ppc_radar_options.h"
#include <raveobject_hashtable.h>

Go to the source code of this file.

Typedefs

typedef struct _PpcOptions_t PpcOptions_t
 Defines a transformer.
 

Functions

PpcOptions_tPpcOptions_load (const char *filename)
 
int PpcOptions_exists (PpcOptions_t *self, const char *name)
 
PpcRadarOptions_tPpcOptions_getRadarOptions (PpcOptions_t *self, const char *name)
 
int PpcOptions_addRadarOptions (PpcOptions_t *self, PpcRadarOptions_t *options)
 Adds one radar option to the option table.
 
RaveObjectHashTable_t * PpcOptions_options (PpcOptions_t *self)
 Returns a list of options in the repository.
 

Variables

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

Detailed Description

Main routine for the ppc options loader This object does support #RAVE_OBJECT_CLONE.

Author
Anders Henja (Swedish Meteorological and Hydrological Institute, SMHI)
Date
2019-05-13

Typedef Documentation

◆ PpcOptions_t

typedef struct _PpcOptions_t PpcOptions_t

Defines a transformer.

Function Documentation

◆ PpcOptions_addRadarOptions()

int PpcOptions_addRadarOptions ( PpcOptions_t * self,
PpcRadarOptions_t * options )

Adds one radar option to the option table.

The radar option name must be set.

Parameters
[in]self- self
[in]options- options
Returns
1 on success otherwise 0

◆ PpcOptions_exists()

int PpcOptions_exists ( PpcOptions_t * self,
const char * name )
Returns
if there are options for the specified (node) name.
Parameters
[in]self- self
[in]name- the node name

◆ PpcOptions_getRadarOptions()

PpcRadarOptions_t * PpcOptions_getRadarOptions ( PpcOptions_t * self,
const char * name )
Returns
the options for the specified (node) name.
Parameters
[in]self- self
[in]name- the node name

◆ PpcOptions_options()

RaveObjectHashTable_t * PpcOptions_options ( PpcOptions_t * self)

Returns a list of options in the repository.

Parameters
[in]self- self
Returns
a hashtable with the options. Note, this is cloned and not internal.

Variable Documentation

◆ PpcOptions_TYPE

RaveCoreObjectType PpcOptions_TYPE
extern

Type definition to use when creating a rave object.