RAVE
|
A filter for matching composite arguments. More...
#include "compositefilter.h"
#include "compositearguments.h"
#include "composite_utils.h"
#include "rave_attribute.h"
#include "rave_debug.h"
#include "rave_alloc.h"
#include "rave_list.h"
#include "rave_object.h"
#include "rave_types.h"
#include "raveobject_hashtable.h"
#include "raveobject_list.h"
#include <string.h>
#include <strings.h>
#include <stdio.h>
Classes | |
struct | _CompositeFilter_t |
Represents the area. More... | |
Functions | |
int | CompositeFilter_setProductsArray (CompositeFilter_t *filter, const char *products[], int nrproducts) |
Sets the products that this filter should match. | |
int | CompositeFilter_setProductsList (CompositeFilter_t *filter, RaveList_t *products) |
Sets the products that this filter should match. | |
int | CompositeFilter_getProductCount (CompositeFilter_t *filter) |
Returns the number of products set in filter. | |
const char * | CompositeFilter_getProduct (CompositeFilter_t *filter, int index) |
Returns the product string at specified position. | |
int | CompositeFilter_setQuantitiesArray (CompositeFilter_t *filter, const char *quantities[], int nrquantities) |
Sets the quantities that this filter should match. | |
int | CompositeFilter_setQuantitiesList (CompositeFilter_t *filter, RaveList_t *quantities) |
Sets the quantities that this filter should match. | |
int | CompositeFilter_getQuantityCount (CompositeFilter_t *filter) |
Returns the number of quantities set in filter. | |
const char * | CompositeFilter_getQuantity (CompositeFilter_t *filter, int index) |
Returns the quantity string at specified position. | |
int | CompositeFilter_setInterpolationMethodsArray (CompositeFilter_t *filter, const char *methods[], int nrmethods) |
Sets the interpolation methods that this filter should match. | |
int | CompositeFilter_setInterpolationMethodsList (CompositeFilter_t *filter, RaveList_t *methods) |
Sets the interpolation methods that this filter should match. | |
int | CompositeFilter_getInterpolationMethodCount (CompositeFilter_t *filter) |
Returns the number of interpolation methods set in filter. | |
const char * | CompositeFilter_getInterpolationMethod (CompositeFilter_t *filter, int index) |
Returns the interpolation method at specified position. | |
int | CompositeFilter_match (CompositeFilter_t *filter, CompositeArguments_t *arguments) |
Matches the filter against the arguments. | |
Variables | |
RaveCoreObjectType | CompositeFilter_TYPE |
Type definition to use when creating a rave object. | |
A filter for matching composite arguments.
const char * CompositeFilter_getInterpolationMethod | ( | CompositeFilter_t * | filter, |
int | index ) |
Returns the interpolation method at specified position.
[in] | filter | - self |
[in] | index | - the index |
int CompositeFilter_getInterpolationMethodCount | ( | CompositeFilter_t * | filter | ) |
Returns the number of interpolation methods set in filter.
[in] | filter | - self |
const char * CompositeFilter_getProduct | ( | CompositeFilter_t * | filter, |
int | index ) |
Returns the product string at specified position.
[in] | filter | - self |
[in] | index | - the index |
int CompositeFilter_getProductCount | ( | CompositeFilter_t * | filter | ) |
Returns the number of products set in filter.
[in] | filter | - self |
const char * CompositeFilter_getQuantity | ( | CompositeFilter_t * | filter, |
int | index ) |
Returns the quantity string at specified position.
[in] | filter | - self |
[in] | index | - the index |
int CompositeFilter_getQuantityCount | ( | CompositeFilter_t * | filter | ) |
Returns the number of quantities set in filter.
[in] | filter | - self |
int CompositeFilter_match | ( | CompositeFilter_t * | filter, |
CompositeArguments_t * | arguments ) |
Matches the filter against the arguments.
[in] | filter | - self |
[in] | arguments | - the arguments |
Always assume that we have a match, then if set it to False on failure.
int CompositeFilter_setInterpolationMethodsArray | ( | CompositeFilter_t * | filter, |
const char * | methods[], | ||
int | nrmethods ) |
Sets the interpolation methods that this filter should match.
[in] | filter | - self |
[in] | methods | - an array of interpolation methods |
[in] | nrmethods | - the number of interpolation methods in array |
int CompositeFilter_setInterpolationMethodsList | ( | CompositeFilter_t * | filter, |
RaveList_t * | methods ) |
Sets the interpolation methods that this filter should match.
[in] | filter | - self |
[in] | methods | - a list of interpolation methods |
int CompositeFilter_setProductsArray | ( | CompositeFilter_t * | filter, |
const char * | products[], | ||
int | nrproducts ) |
Sets the products that this filter should match.
[in] | filter | - self |
[in] | products | - an array of product strings |
[in] | nrproducts | - the number of products in array |
int CompositeFilter_setProductsList | ( | CompositeFilter_t * | filter, |
RaveList_t * | products ) |
Sets the products that this filter should match.
[in] | filter | - self |
[in] | products | - the list of strings |
int CompositeFilter_setQuantitiesArray | ( | CompositeFilter_t * | filter, |
const char * | quantities[], | ||
int | nrquantities ) |
Sets the quantities that this filter should match.
[in] | filter | - self |
[in] | quantities | - an array of quantities |
[in] | nrquantities | - the number of quantities in array |
int CompositeFilter_setQuantitiesList | ( | CompositeFilter_t * | filter, |
RaveList_t * | quantities ) |
Sets the quantities that this filter should match.
[in] | filter | - self |
[in] | quantities | - a list of quantities |
RaveCoreObjectType CompositeFilter_TYPE |
Type definition to use when creating a rave object.