#include <FeatureFileList.h>


Public Member Functions | |
| FeatureFileList (const XLine &l, const Config &c) | |
| ~FeatureFileList () | |
| unsigned long | size () const |
| real_t | getSampleRate () const |
| unsigned long | getVectSize () const |
| const FeatureFlags & | getFeatureFlags () const |
| unsigned long | getFeatureCount () const |
| unsigned long | getFeatureCount (unsigned long fileIdx) const |
| unsigned long | getFeatureCount (const FileName &) const |
| unsigned long | getIndexOfFirstFeature (unsigned long fileIdx) const |
| unsigned long | getIndexOfFirstFeature (const FileName &) const |
| const String & | getFileName (unsigned long fileIdx) const |
| unsigned long | getFileIndex (const FileName &) const |
| unsigned long | getFileIndex (unsigned long featureNbr) const |
| virtual String | getClassName () const |
Private Member Functions | |
| bool | operator== (const FeatureFileList &) const |
| bool | operator!= (const FeatureFileList &) const |
| const FeatureFileList & | operator= (const FeatureFileList &) |
| FeatureFileList (const FeatureFileList &) | |
Private Attributes | |
| const XLine | _fileNameVect |
| ULongVector | _featureFirst |
| const Config & | _config |
| unsigned long | _vectSize |
| bool | _vectSizeDefined |
| real_t | _sampleRate |
| bool | _sampleRateDefined |
| FeatureFlags | _featureFlags |
| bool | _featureFlagsDefined |
| ULongVector | _featureCount |
| unsigned long | _featureCountTot |
| bool | _featureCountDefined |
| FloatVector | _buffer |
Convenient class for storing features files. INTERNAL USAGE ***
Definition at line 85 of file FeatureFileList.h.
Definition at line 64 of file FeatureFileList.cpp.
| FeatureFileList::~FeatureFileList | ( | ) |
Definition at line 222 of file FeatureFileList.cpp.
| alize::FeatureFileList::FeatureFileList | ( | const FeatureFileList & | ) | [private] |
Not implemented
| String FeatureFileList::getClassName | ( | ) | const [virtual] |
Returns the name of the class
Implements alize::Object.
Definition at line 220 of file FeatureFileList.cpp.
| unsigned long FeatureFileList::getFeatureCount | ( | ) | const |
Definition at line 124 of file FeatureFileList.cpp.
References _config, _featureCount, _featureCountDefined, _featureCountTot, _featureFirst, _featureFlags, _featureFlagsDefined, _fileNameVect, _sampleRate, _sampleRateDefined, _vectSize, _vectSizeDefined, alize::ULongVector::addValue(), alize::XLine::getElement(), alize::XLine::getElementCount(), alize::FeatureFileReader::getFeatureCount(), and size().
Referenced by getFeatureCount(), and getIndexOfFirstFeature().
| unsigned long FeatureFileList::getFeatureCount | ( | unsigned long | fileIdx ) | const |
Definition at line 167 of file FeatureFileList.cpp.
References _featureCount, _featureCountDefined, and getFeatureCount().
| unsigned long FeatureFileList::getFeatureCount | ( | const FileName & | f ) | const |
Definition at line 174 of file FeatureFileList.cpp.
References _featureCount, _featureCountDefined, _fileNameVect, alize::XLine::getElement(), alize::XLine::getElementCount(), getFeatureCount(), and size().
| const FeatureFlags & FeatureFileList::getFeatureFlags | ( | ) | const |
Definition at line 107 of file FeatureFileList.cpp.
References _config, _featureFlags, _featureFlagsDefined, _fileNameVect, _sampleRate, _sampleRateDefined, _vectSize, _vectSizeDefined, and alize::XLine::getElement().
| unsigned long FeatureFileList::getFileIndex | ( | const FileName & | f ) | const |
Definition at line 192 of file FeatureFileList.cpp.
References _fileNameVect, alize::XLine::getElement(), alize::XLine::getElementCount(), and size().
Referenced by getIndexOfFirstFeature().
| unsigned long FeatureFileList::getFileIndex | ( | unsigned long | featureNbr ) | const |
Definition at line 205 of file FeatureFileList.cpp.
References _fileNameVect, alize::XLine::getElementCount(), getIndexOfFirstFeature(), and size().
| const String & FeatureFileList::getFileName | ( | unsigned long | fileIdx ) | const |
Definition at line 189 of file FeatureFileList.cpp.
References _fileNameVect, and alize::XLine::getElement().
| unsigned long FeatureFileList::getIndexOfFirstFeature | ( | unsigned long | fileIdx ) | const |
Definition at line 155 of file FeatureFileList.cpp.
References _featureCountDefined, _featureFirst, and getFeatureCount().
Referenced by getFileIndex(), and getIndexOfFirstFeature().
| unsigned long FeatureFileList::getIndexOfFirstFeature | ( | const FileName & | f ) | const |
Definition at line 163 of file FeatureFileList.cpp.
References getFileIndex(), and getIndexOfFirstFeature().
| real_t FeatureFileList::getSampleRate | ( | ) | const |
Definition at line 90 of file FeatureFileList.cpp.
References _config, _featureFlags, _featureFlagsDefined, _fileNameVect, _sampleRate, _sampleRateDefined, _vectSize, _vectSizeDefined, and alize::XLine::getElement().
| unsigned long FeatureFileList::getVectSize | ( | ) | const |
Definition at line 72 of file FeatureFileList.cpp.
References _config, _featureFlags, _featureFlagsDefined, _fileNameVect, _sampleRate, _sampleRateDefined, _vectSize, _vectSizeDefined, alize::BIGENDIAN_AUTO, alize::BUFFER_USERDEFINE, alize::XLine::getElement(), and NULL.
| bool alize::FeatureFileList::operator!= | ( | const FeatureFileList & | ) | const [private] |
Not implemented
| const FeatureFileList& alize::FeatureFileList::operator= | ( | const FeatureFileList & | ) | [private] |
Not implemented
| bool alize::FeatureFileList::operator== | ( | const FeatureFileList & | ) | const [private] |
| unsigned long FeatureFileList::size | ( | ) | const |
Definition at line 69 of file FeatureFileList.cpp.
References _fileNameVect, and alize::XLine::getElementCount().
Referenced by getFeatureCount(), and getFileIndex().
FloatVector alize::FeatureFileList::_buffer [private] |
Definition at line 125 of file FeatureFileList.h.
const Config& alize::FeatureFileList::_config [private] |
Definition at line 115 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
ULongVector alize::FeatureFileList::_featureCount [mutable, private] |
Definition at line 122 of file FeatureFileList.h.
Referenced by getFeatureCount().
bool alize::FeatureFileList::_featureCountDefined [mutable, private] |
Definition at line 124 of file FeatureFileList.h.
Referenced by getFeatureCount(), and getIndexOfFirstFeature().
unsigned long alize::FeatureFileList::_featureCountTot [mutable, private] |
Definition at line 123 of file FeatureFileList.h.
Referenced by getFeatureCount().
ULongVector alize::FeatureFileList::_featureFirst [mutable, private] |
Definition at line 114 of file FeatureFileList.h.
Referenced by getFeatureCount(), and getIndexOfFirstFeature().
FeatureFlags alize::FeatureFileList::_featureFlags [mutable, private] |
Definition at line 120 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
bool alize::FeatureFileList::_featureFlagsDefined [mutable, private] |
Definition at line 121 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
const XLine alize::FeatureFileList::_fileNameVect [private] |
Definition at line 113 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getFileIndex(), getFileName(), getSampleRate(), getVectSize(), and size().
real_t alize::FeatureFileList::_sampleRate [mutable, private] |
Definition at line 118 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
bool alize::FeatureFileList::_sampleRateDefined [mutable, private] |
Definition at line 119 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
unsigned long alize::FeatureFileList::_vectSize [mutable, private] |
Definition at line 116 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
bool alize::FeatureFileList::_vectSizeDefined [mutable, private] |
Definition at line 117 of file FeatureFileList.h.
Referenced by getFeatureCount(), getFeatureFlags(), getSampleRate(), and getVectSize().
1.7.2