|
RAVE
|
Type definitions for RAVE. More...
#include "rave_types.h"#include "rave_alloc.h"#include "rave_debug.h"#include "string.h"#include "stdlib.h"#include <stdio.h>Classes | |
| struct | RaveTypes_ProductMapping |
| Mapping between a product type and the corresponding string. More... | |
| struct | RaveIO_ObjectTypeMapping |
| Mapping between a object type and the corresponding string. More... | |
Functions | |
| int | get_ravetype_size (RaveDataType type) |
| Returns the size of the datatype. | |
| Rave_ProductType | RaveTypes_getProductTypeFromString (const char *name) |
| Translates the string representation of the product type into the enum. | |
| const char * | RaveTypes_getStringFromProductType (Rave_ProductType type) |
| Returns the string representation of the product type. | |
| Rave_ObjectType | RaveTypes_getObjectTypeFromString (const char *name) |
| Translates the string representation of the object type into the enum. | |
| const char * | RaveTypes_getStringFromObjectType (Rave_ObjectType type) |
| Returns the string representation of the object type. | |
| void | RaveTypes_FreePolarObservationLinkedList (PolarObservationLinkedList *obs) |
| Deallocates this linked list and all its children. | |
| PolarObservation * | RaveTypes_PolarObservationLinkedListToArray (PolarObservationLinkedList *llobs, int *nritems) |
| Creates an array of PolarObservations from a PolarObservationLinkedList. | |
| PolarObservation * | RaveTypes_FilterPolarObservationDataValues (PolarObservation *observations, int nobservations, int *ndataobservations) |
| Removes all items that are not data-values in the observation array. | |
| void | RaveTypes_SortPolarObservations (PolarObservation *observations, int nobservations) |
| Sorts the array of observations. | |
Type definitions for RAVE.
| int get_ravetype_size | ( | RaveDataType | type | ) |
Returns the size of the datatype.
| [in] | type | - the rave data type |
| PolarObservation * RaveTypes_FilterPolarObservationDataValues | ( | PolarObservation * | observations, |
| int | nobservations, | ||
| int * | ndataobservations ) |
Removes all items that are not data-values in the observation array.
| [in] | observations | - the array to be filtered |
| [in] | nobservations | - number of observations |
| [out] | ndataobservations | - the number of returned observations containing data values |
| void RaveTypes_FreePolarObservationLinkedList | ( | PolarObservationLinkedList * | obs | ) |
Deallocates this linked list and all its children.
| [in] | obs | - the observation to release |
| Rave_ObjectType RaveTypes_getObjectTypeFromString | ( | const char * | name | ) |
Translates the string representation of the object type into the enum.
| [in] | name | - the string representation of the object type |
| Rave_ProductType RaveTypes_getProductTypeFromString | ( | const char * | name | ) |
Translates the string representation of the product type into the enum.
| [in] | name | - the string representation of the product type |
| const char * RaveTypes_getStringFromObjectType | ( | Rave_ObjectType | type | ) |
Returns the string representation of the object type.
| [in] | type | - the object type |
| const char * RaveTypes_getStringFromProductType | ( | Rave_ProductType | type | ) |
Returns the string representation of the product type.
| [in] | type | - the product type |
| PolarObservation * RaveTypes_PolarObservationLinkedListToArray | ( | PolarObservationLinkedList * | obs, |
| int * | nritems ) |
Creates an array of PolarObservations from a PolarObservationLinkedList.
| [in] | obs | - the linked list to be transformed into an array |
| [out] | nritems | - the number of items in the array |
| void RaveTypes_SortPolarObservations | ( | PolarObservation * | observations, |
| int | nobservations ) |
Sorts the array of observations.
All observations that are not data will be places furthest down in the array.
| [in] | observations | - the observations to be sorted |
| [in] | nobservations | - number of observations to be sorted |