~ubuntu-branches/ubuntu/jaunty/speech-tools/jaunty

« back to all changes in this revision

Viewing changes to include/EST_Features.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Urlichs
  • Date: 2004-07-16 09:25:39 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040716092539-5p1tzif55b8j924e
Tags: 1:1.2.3-8
Added alaw processing code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
111
111
 
112
112
    /** Look up feature name, which may be simple feature or path.
113
113
     */
114
 
    const EST_Val &f(const EST_String &path) { return val_path(path); }
 
114
    const EST_Val &f(const EST_String &path) const
 
115
       { return val_path(path); }
115
116
 
116
117
    /** Look up feature name, which may be simple feature or path,
117
118
        returning <parameter>def</paramater> if not found
118
119
     */
119
 
    const EST_Val &f(const EST_String &path,const EST_Val &def) 
 
120
    const EST_Val &f(const EST_String &path, const EST_Val &def) const
120
121
       { return val_path(path,def); }
121
122
    //@}
122
123
 
123
124
    /**@name Access functions which return types. 
124
125
       These functions cast
125
 
       their EST_Val return value to a requested type, eithe float,
 
126
       their EST_Val return value to a requested type, either float,
126
127
       int, string or features (A). In all cases the name can be a
127
128
       simple feature or a path, in which case their name is a dot
128
129
       separated string of concatenated attributes