94 Feature->
Type = FeatureDesc;
110 (NumFeatures - 1) *
sizeof (
FEATURE));
162 if (
tfscanf(File,
"%d", &NumFeatures) != 1 || NumFeatures < 0)
166 for (i = 0; i < NumFeatures; i++)
208 for (
int i = 0; i < FeatureSet->
NumFeatures; i++) {
232 fprintf (File,
"%d\n", FeatureDesc->
NumParams);
233 for (i = 0; i < FeatureDesc->
NumParams; i++) {
235 fprintf (File,
"circular ");
237 fprintf (File,
"linear ");
240 fprintf (File,
"non-essential ");
242 fprintf (File,
"essential ");
244 fprintf (File,
"%f %f\n",
int tfscanf(FILE *stream, const char *format,...)
FEATURE_SET NewFeatureSet(int NumFeatures)
void WriteOldParamDesc(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
void add_str_int(const char *str, int number)
FEATURE ReadFeature(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
void FreeFeatureSet(FEATURE_SET FeatureSet)
void WriteFeatureSet(FEATURE_SET FeatureSet, STRING *str)
const PARAM_DESC * ParamDesc
const FEATURE_DESC_STRUCT * Type
#define ILLEGAL_FEATURE_PARAM
void add_str_double(const char *str, double number)
FEATURE NewFeature(const FEATURE_DESC_STRUCT *FeatureDesc)
FEATURE_SET_STRUCT * FEATURE_SET
#define ILLEGAL_NUM_FEATURES
void FreeFeature(FEATURE Feature)
FEATURE_SET ReadFeatureSet(FILE *File, const FEATURE_DESC_STRUCT *FeatureDesc)
void DoError(int Error, const char *Message)
void WriteFeature(FEATURE Feature, STRING *str)
BOOL8 AddFeature(FEATURE_SET FeatureSet, FEATURE Feature)