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 21 of file DummyFeatures.h.
Public Member Functions | |
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::CDummyFeatures | ( | int32_t | num | ) |
constructor
num | number of feature vectors |
Definition at line 28 of file DummyFeatures.h.
CDummyFeatures::CDummyFeatures | ( | const CDummyFeatures & | orig | ) |
copy constructor
Definition at line 33 of file DummyFeatures.h.
virtual CDummyFeatures::~CDummyFeatures | ( | ) | [virtual] |
destructor
Definition at line 39 of file DummyFeatures.h.
virtual CFeatures* CDummyFeatures::duplicate | ( | ) | const [virtual] |
virtual EFeatureClass CDummyFeatures::get_feature_class | ( | ) | [virtual] |
EFeatureType CDummyFeatures::get_feature_type | ( | ) | [virtual] |
virtual const char* CDummyFeatures::get_name | ( | ) | const [virtual] |
virtual int32_t CDummyFeatures::get_num_vectors | ( | ) | [virtual] |
virtual int32_t CDummyFeatures::get_size | ( | ) | [virtual] |
get size of features (always 1)
Implements CFeatures.
Definition at line 50 of file DummyFeatures.h.
int32_t CDummyFeatures::num_vectors [protected] |
number of feature vectors
Definition at line 78 of file DummyFeatures.h.