27#ifndef PROJECTIONREGISTRY_H
28#define PROJECTIONREGISTRY_H
struct _Projection_t Projection_t
Defines a transformer.
Definition projection.h:35
RaveCoreObjectType ProjectionRegistry_TYPE
Type definition to use when creating a rave object.
Definition projectionregistry.c:361
int ProjectionRegistry_size(ProjectionRegistry_t *self)
Returns the number of projections in this registry.
Definition projectionregistry.c:239
Projection_t * ProjectionRegistry_get(ProjectionRegistry_t *self, int index)
Returns the projection at specified position.
Definition projectionregistry.c:245
struct _ProjectionRegistry_t ProjectionRegistry_t
Defines the projection registry.
Definition projectionregistry.h:35
int ProjectionRegistry_add(ProjectionRegistry_t *self, Projection_t *proj)
Adds a projection to the registry.
Definition projectionregistry.c:229
ProjectionRegistry_t * ProjectionRegistry_load(const char *filename)
Loads a registry from an xml file.
Definition projectionregistry.c:191
void ProjectionRegistry_remove(ProjectionRegistry_t *self, int index)
Removes the projection at the specified index.
Definition projectionregistry.c:271
void ProjectionRegistry_removeByName(ProjectionRegistry_t *self, const char *pcsid)
Removes the projection with the specified pcs id.
Definition projectionregistry.c:277
Projection_t * ProjectionRegistry_getByName(ProjectionRegistry_t *self, const char *pcsid)
Returns the projection with the specified pcs id.
Definition projectionregistry.c:251
int ProjectionRegistry_write(ProjectionRegistry_t *self, const char *filename)
Writes the current registry to a xml file.
Definition projectionregistry.c:296
Generic implementation of an object that is used within rave.
struct _raveobjecttype RaveCoreObjectType
The rave object type definition.
Represents the registry.
Definition projectionregistry.c:36