|
AudioDataLib
A C++ library of classes supporting a variety of audio-data tasks.
|
This class provides commong RIFF-based parsing support. More...
#include <ChunkParser.h>
Classes | |
| class | Chunk |
Public Member Functions | |
| ChunkParser () | |
| virtual | ~ChunkParser () |
| virtual bool | ParseChunkData (ReadOnlyBufferStream &inputStream, Chunk *chunk, Error &error) |
| void | Clear () |
| void | RegisterSubChunks (const std::string &chunkName) |
| bool | ParseStream (ByteStream &inputStream, Error &error) |
| const Chunk * | FindChunk (const std::string &chunkName, const std::string &formType="", bool caseSensative=true) const |
| void | FindAllChunks (const std::string &chunkName, std::vector< const Chunk * > &chunkArray, bool caseSensative=true) const |
| const Chunk * | GetRootChunk () const |
Public Attributes | |
| ByteSwapper | byteSwapper |
Protected Attributes | |
| uint8_t * | buffer |
| uint32_t | bufferSize |
| Chunk * | rootChunk |
| std::set< std::string > * | subChunkSet |
This class provides commong RIFF-based parsing support.
| ChunkParser::ChunkParser | ( | ) |
|
virtual |
| void ChunkParser::Clear | ( | ) |
| void ChunkParser::FindAllChunks | ( | const std::string & | chunkName, |
| std::vector< const Chunk * > & | chunkArray, | ||
| bool | caseSensative = true ) const |
| const ChunkParser::Chunk * ChunkParser::FindChunk | ( | const std::string & | chunkName, |
| const std::string & | formType = "", | ||
| bool | caseSensative = true ) const |
|
inline |
|
virtual |
Reimplemented in AudioDataLib::AiffFileFormat::AiffChunkParser, and AudioDataLib::WaveFileFormat::WaveChunkParser.
| bool ChunkParser::ParseStream | ( | ByteStream & | inputStream, |
| Error & | error ) |
| void ChunkParser::RegisterSubChunks | ( | const std::string & | chunkName | ) |
|
protected |
|
protected |
| ByteSwapper AudioDataLib::ChunkParser::byteSwapper |
|
protected |
|
protected |