RAVE
|
Provides support for property handling. More...
#include "rave_properties.h"
#include "rave_debug.h"
#include "rave_alloc.h"
#include "raveobject_hashtable.h"
#include "odim_sources.h"
#include <string.h>
Classes | |
struct | _RaveProperties_t |
Represents the registry. More... | |
Functions | |
int | RaveProperties_set (RaveProperties_t *self, const char *name, RaveValue_t *value) |
Simplified loading function, takes filename and a projection registry. | |
RaveValue_t * | RaveProperties_get (RaveProperties_t *self, const char *name) |
Returns the value with specified name. | |
int | RaveProperties_hasProperty (RaveProperties_t *self, const char *name) |
Returns if the set contains the specified property. | |
void | RaveProperties_remove (RaveProperties_t *self, const char *name) |
Removes the property from the set. | |
int | RaveProperties_size (RaveProperties_t *self) |
Returns the number of properties. | |
void | RaveProperties_setOdimSources (RaveProperties_t *self, OdimSources_t *sources) |
Sets the odim sources to the rave properties. | |
OdimSources_t * | RaveProperties_getOdimSources (RaveProperties_t *self) |
Variables | |
RaveCoreObjectType | RaveProperties_TYPE |
Type definition to use when creating a rave object. | |
Provides support for property handling.
RaveValue_t * RaveProperties_get | ( | RaveProperties_t * | self, |
const char * | name ) |
Returns the value with specified name.
[in] | self | - self |
[in] | name | - name of property |
OdimSources_t * RaveProperties_getOdimSources | ( | RaveProperties_t * | self | ) |
[in] | self | - self |
int RaveProperties_hasProperty | ( | RaveProperties_t * | self, |
const char * | name ) |
Returns if the set contains the specified property.
[in] | self | - self |
[in] | name | - name of property |
void RaveProperties_remove | ( | RaveProperties_t * | self, |
const char * | name ) |
Removes the property from the set.
[in] | self | - self |
[in] | name | - name of property |
int RaveProperties_set | ( | RaveProperties_t * | self, |
const char * | name, | ||
RaveValue_t * | value ) |
Simplified loading function, takes filename and a projection registry.
[in] | filename | - the area file name |
[in] | pRegistry | - the projection registry |
[in] | self | - self |
[in] | name | - name of property |
[in] | value | - the value |
void RaveProperties_setOdimSources | ( | RaveProperties_t * | self, |
OdimSources_t * | sources ) |
Sets the odim sources to the rave properties.
[in] | self | - self |
[in] | sources | - the odim sources |
int RaveProperties_size | ( | RaveProperties_t * | self | ) |
Returns the number of properties.
[in] | self | - self |
RaveCoreObjectType RaveProperties_TYPE |
Type definition to use when creating a rave object.