40 #ifndef __EST_FeatureData_H__ 
   41 #define __EST_FeatureData_H__ 
   44 #include "EST_TVector.h" 
   45 #include "EST_TList.h" 
   46 #include "EST_rw_status.h" 
   47 #include "EST_types.h" 
   48 #include "EST_Features.h" 
   75     void free_internals();
 
   76     void alloc_internals();
 
   95     {return EST_ValVector::a(field);}
 
   97     const EST_Val &a(int field) const
 
   98     {return EST_ValVector::a(field);}
 
  100     EST_Val &a(const EST_String &name)
 
  101     {return EST_ValVector::a(info().field_index(name));}
 
  103     const EST_Val &a(const EST_String &name) const
 
  104     {return EST_ValVector::a(info().field_index(name));}
 
  107 //      const EST_Val &operator () (int sample, const EST_String &field);
 
  109       EST_Val &operator () (const EST_String &field);
 
  110       EST_Val &operator () (int field);
 
  112     EST_FeatureSample &EST_FeatureSample::operator=
 
  113     (const EST_FeatureSample &f);
 
  115   friend ostream& operator << (ostream &st, const EST_FeatureSample &a);
 
  128     void free_internals();
 
  129     void alloc_internals();
 
  142     int num_samples() 
const;
 
  143     int num_features() 
const;
 
  145     void resize(
int num_samples, 
int num_columns, 
bool preserve = 1);
 
  146     void resize(
int num_samples, 
EST_Features &f, 
bool preserve = 1);
 
  148     void set_num_samples(
int num_samples, 
bool preserve=1);
 
  160     int update_values(
const EST_String &feature_name, 
int max);
 
  162     int feature_position(
const EST_String &feature_name);
 
  170     EST_Val &a(
int sample, 
int field);
 
  172     const EST_Val &a(
int sample, 
int field) 
const;