40 #include "EST_features_aux.h" 
   41 #include "EST_Features.h" 
   42 #include "EST_String.h" 
   43 #include "EST_error.h" 
   45 #include "EST_get_function_template.h" 
   49 defineGetFunction(EST_Features, val, 
float, getFloat)
 
   50 defineGetFunction(EST_Features, val, 
int, getInteger)
 
   51 VAL_REGISTER_FUNCPTR(pointer, 
void *)
 
   54 void value_sort(EST_Features &f, const EST_String &field)
 
   63     float p_score, n_score;
 
   68     for (p.
begin(f); p; ++p)
 
   75         if (p->v.type() != val_type_feats)
 
   77         cerr << 
"Not a features in val\n";
 
   80         p_score = feats(p->v)->F(field, 1.0);
 
   81         n_score = feats(n->v)->F(field, 1.0);
 
   82         if (n_score > p_score)