#include <string>
#include <list>
#include <map>
#include <iostream>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdint.h>
#include <stdio.h>
Go to the source code of this file.
Namespaces | |
namespace | RIFF |
Classes | |
class | RIFF::Chunk |
Provides convenient methods to access data of RIFF chunks in general. More... | |
class | RIFF::List |
Provides convenient methods to access data of RIFF list chunks and their subchunks. More... | |
class | RIFF::File |
Parses arbitrary RIFF files and provides together with it's base classes convenient methods to walk through the RIFF tree. More... | |
class | RIFF::Exception |
Will be thrown whenever an error occurs while parsing a RIFF file. More... | |
Defines | |
#define | POSIX 1 |
#define | DEBUG 0 |
#define | CHUNK_ID_RIFF 0x46464952 |
#define | CHUNK_ID_RIFX 0x58464952 |
#define | CHUNK_ID_LIST 0x5453494C |
#define | CHUNK_HEADER_SIZE 8 |
#define | LIST_HEADER_SIZE 12 |
#define | RIFF_HEADER_SIZE 12 |
Typedefs | |
typedef std::string | String |
Enumerations | |
enum | stream_state_t { stream_ready = 0, stream_end_reached = 1, stream_closed = 2 } |
Current state of the file stream. More... | |
enum | stream_whence_t { stream_start = 0, stream_curpos = 1, stream_backward = 2, stream_end = 3 } |
File stream position dependent to these relations. More... |
|
Definition at line 64 of file RIFF.h. Referenced by RIFF::List::LoadSubChunks(), and RIFF::List::ReadHeader(). |
|
Definition at line 61 of file RIFF.h. Referenced by RIFF::List::CountSubLists(), and PrintChunkList(). |
|
Definition at line 59 of file RIFF.h. Referenced by PrintChunkList(). |
|
|
|
|
|
Definition at line 65 of file RIFF.h. Referenced by RIFF::List::LoadSubChunks(). |
|
|
|
|
|
|
|
Current state of the file stream.
Definition at line 79 of file RIFF.h. Referenced by RIFF::Chunk::GetState(). |
|
File stream position dependent to these relations.
|