#include <FeatureFileReaderSPro4.h>
List of all members.
Public Member Functions |
| | FeatureFileReaderSPro4 (const FileName &f, const Config &c, LabelServer *ls=NULL, BigEndian=BIGENDIAN_AUTO, BufferUsage b=BUFFER_AUTO, unsigned long bufferSize=0, HistoricUsage=ALL_FEATURES, unsigned long historicSize=0) |
| virtual | ~FeatureFileReaderSPro4 () |
| virtual unsigned long | getFeatureCount () |
| virtual unsigned long | getVectSize () |
| virtual const FeatureFlags & | getFeatureFlags () |
| virtual real_t | getSampleRate () |
| virtual String | getClassName () const |
Static Public Member Functions |
| static FeatureFileReaderSPro4 & | create (const FileName &, const Config &c, LabelServer *ls=NULL, BigEndian=BIGENDIAN_AUTO, BufferUsage b=BUFFER_AUTO, unsigned long bufferSize=0, HistoricUsage=ALL_FEATURES, unsigned long historicSize=0) |
Private Member Functions |
| void | readParams () |
| bool | readHeader () |
| virtual unsigned long | getHeaderLength () |
| bool | operator== (const FeatureFileReaderSPro4 &) const |
| bool | operator!= (const FeatureFileReaderSPro4 &) const |
| const FeatureFileReaderSPro4 & | operator= (const FeatureFileReaderSPro4 &) |
| | FeatureFileReaderSPro4 (const FeatureFileReaderSPro4 &) |
Private Attributes |
| bool | _paramDefined |
Friends |
| class | TestFeatureFileReaderSPro4 |
Detailed Description
Convenient class for reading features from a S-PRO 4 file The file is opened only after calling one of the methods readFeature, get FeatureCount, getVectSize, getFeatureFlags
- Author:
- Frederic Wils frederic.wils@lia.univ-avignon.fr
- Version:
- 1.0
- Date:
- 2003
Definition at line 86 of file FeatureFileReaderSPro4.h.
Constructor & Destructor Documentation
Creates a reader for a SPro 4.x feature file.
- Parameters:
-
| f | a file to read. No path is required. It uses the parameter "featureFilesPath" of the configuration. |
| c | the configuration to use |
| ls | address of a label server. can be NULL. |
| be | big endian ? Can be BIGENDIAN_AUTO, BIGENDIAN_TRUE or BIGENDIAN_FALSE |
| virtual alize::FeatureFileReaderSPro4::~FeatureFileReaderSPro4 |
( |
) |
[virtual] |
Member Function Documentation
See constructor with same parameters
| virtual String alize::FeatureFileReaderSPro4::getClassName |
( |
) |
const [virtual] |
| virtual unsigned long alize::FeatureFileReaderSPro4::getFeatureCount |
( |
) |
[virtual] |
Returns the number of features in the file
- Returns:
- the number of features in the file
- Exceptions:
-
Implements alize::FeatureInputStream.
| virtual const FeatureFlags& alize::FeatureFileReaderSPro4::getFeatureFlags |
( |
) |
[virtual] |
Returns the feature flags of this file
- Returns:
- the feature flags of this file
- Exceptions:
-
Implements alize::FeatureInputStream.
| virtual unsigned long alize::FeatureFileReaderSPro4::getHeaderLength |
( |
) |
[private, virtual] |
| virtual real_t alize::FeatureFileReaderSPro4::getSampleRate |
( |
) |
[virtual] |
| virtual unsigned long alize::FeatureFileReaderSPro4::getVectSize |
( |
) |
[virtual] |
Returns the size of the vector inside the features of this file
- Returns:
- the size of the vector inside the features of this file
- Exceptions:
-
Implements alize::FeatureInputStream.
| bool alize::FeatureFileReaderSPro4::readHeader |
( |
) |
[private] |
| void alize::FeatureFileReaderSPro4::readParams |
( |
) |
[private] |
Friends And Related Function Documentation
friend class TestFeatureFileReaderSPro4 [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: