Public Member Functions | List of all members
iipr::IFeaturesConsumer Class Referenceabstract

Common interface for a features container consuming feature objects. More...

#include <IFeaturesConsumer.h>

Inheritance diagram for iipr::IFeaturesConsumer:
istd::IChangeable istd::IPolymorphic iipr::CFeaturesContainer iipr::CSingleFeatureConsumer

Public Member Functions

virtual void ResetFeatures ()=0
 Remove all features from this container. More...
 
virtual bool AddFeature (const imeas::INumericValue *featurePtr, bool *isFullPtr=NULL)=0
 Add new feature to the set of features. More...
 

Detailed Description

Common interface for a features container consuming feature objects.

Definition at line 17 of file IFeaturesConsumer.h.

Member Function Documentation

virtual bool iipr::IFeaturesConsumer::AddFeature ( const imeas::INumericValue featurePtr,
bool *  isFullPtr = NULL 
)
pure virtual

Add new feature to the set of features.

Parameters
featurePtrinstance of feature object. Please note, that the container takes controll over this object, so you cannot destroy this object manually. It cannot be NULL.
isFullPtrIf it isn't NULL this paramster is used to get info whether the added feature satisfy search constraints and no additionally features should be added
Returns
true if the pushed feature is valid for this container and was inserted correctly.

Implemented in iipr::CSingleFeatureConsumer, and iipr::CFeaturesContainer.

virtual void iipr::IFeaturesConsumer::ResetFeatures ( )
pure virtual

Remove all features from this container.

Implemented in iipr::CSingleFeatureConsumer, and iipr::CFeaturesContainer.


The documentation for this class was generated from the following file:

© 2007-2011 Witold Gantzke and Kirill Lepskiy