Config object for a single feature. More...
#include <boonconfig.h>
Public Member Functions | |
| CFeatureConfig (const CFeatureConfig &SourceFeatureConfig) | |
| Initialize feature config with object. | |
| CFeatureConfig (float MinVal=-1, float MaxVal=-1, uint16_t Weight=1, const char *Label=nullptr) | |
| Initialize feature config with values. | |
| void | CopyFrom (const CFeatureConfig &Other) |
| Copy feature config into current object. | |
| std::string | GetStatusString (int CurrentIndent=0, int AdditionalIndent=4) const |
| Print string of object. | |
| bool | Serialize (const char *VarPath, const char *ThisVarName, struct archive *Archive, bool IsLoading) |
Public Attributes | |
| char | m_Label [MAX_FEATURE_LABEL_LENGTH] |
| Feature label. | |
| float | m_MaxVal |
| Feature maximum bound. | |
| float | m_MinVal |
| Feature minimum bound. | |
| uint16_t | m_Weight |
| Feature weight. | |
Reminder: one feature would be one column in a spreadsheet or one element in a vector