The class DummyFeatures implements features that only know the number of feature objects (but don't actually contain any).
This is used in the CCustomKernel.
Definition at line 24 of file DummyFeatures.h.
Public Member Functions | |
CDummyFeatures (void) | |
CDummyFeatures (int32_t num) | |
CDummyFeatures (const CDummyFeatures &orig) | |
virtual | ~CDummyFeatures () |
virtual int32_t | get_num_vectors () |
virtual int32_t | get_size () |
virtual CFeatures * | duplicate () const |
EFeatureType | get_feature_type () |
virtual EFeatureClass | get_feature_class () |
virtual const char * | get_name () const |
Protected Attributes | |
int32_t | num_vectors |
CDummyFeatures | ( | void | ) |
default constructor
Definition at line 33 of file DummyFeatures.h.
CDummyFeatures | ( | int32_t | num | ) |
constructor
num | number of feature vectors |
Definition at line 43 of file DummyFeatures.h.
CDummyFeatures | ( | const CDummyFeatures & | orig | ) |
copy constructor
Definition at line 49 of file DummyFeatures.h.
virtual ~CDummyFeatures | ( | ) | [virtual] |
destructor
Definition at line 56 of file DummyFeatures.h.
virtual CFeatures* duplicate | ( | ) | const [virtual] |
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
EFeatureType get_feature_type | ( | ) | [virtual] |
virtual const char* get_name | ( | void | ) | const [virtual] |
virtual int32_t get_num_vectors | ( | ) | [virtual] |
virtual int32_t get_size | ( | ) | [virtual] |
get size of features (always 1)
Implements CFeatures.
Definition at line 67 of file DummyFeatures.h.
int32_t num_vectors [protected] |
number of feature vectors
Definition at line 95 of file DummyFeatures.h.