BALTRAD PPC
ppc_options.h
Go to the documentation of this file.
1/* --------------------------------------------------------------------
2Copyright (C) 2019 Swedish Meteorological and Hydrological Institute, SMHI,
3
4This file is part of baltrad-ppc.
5
6baltrad-ppc 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
11baltrad-ppc 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 baltrad-ppc. If not, see <http://www.gnu.org/licenses/>.
18------------------------------------------------------------------------*/
26#ifndef PPC_OPTIONS_H
27#define PPC_OPTIONS_H
28#include "ppc_radar_options.h"
29#include <raveobject_hashtable.h>
30
35
39extern RaveCoreObjectType PpcOptions_TYPE;
40
41PpcOptions_t* PpcOptions_load(const char* filename);
42
48int PpcOptions_exists(PpcOptions_t* self, const char* name);
49
56
64
70RaveObjectHashTable_t* PpcOptions_options(PpcOptions_t* self);
71
72#endif /* PPC_OPTIONS_H_ */
RaveObjectHashTable_t * PpcOptions_options(PpcOptions_t *self)
Returns a list of options in the repository.
Definition ppc_options.c:657
RaveCoreObjectType PpcOptions_TYPE
Type definition to use when creating a rave object.
Definition ppc_options.c:665
int PpcOptions_addRadarOptions(PpcOptions_t *self, PpcRadarOptions_t *options)
Adds one radar option to the option table.
Definition ppc_options.c:645
int PpcOptions_exists(PpcOptions_t *self, const char *name)
Definition ppc_options.c:629
PpcRadarOptions_t * PpcOptions_getRadarOptions(PpcOptions_t *self, const char *name)
Definition ppc_options.c:635
Keeps one radar options setup This object does support #RAVE_OBJECT_CLONE.
The ppc class.
Definition ppc_options.c:39
RAVE_OBJECT_HEAD char * filename
Always on top.
Definition ppc_options.c:41
The radar options class.
Definition ppc_radar_options.c:39