|
libgig
3.3.0
|
#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.
Classes | |
| class | RIFF::Chunk |
| Ordinary RIFF Chunk. More... | |
| class | RIFF::List |
| RIFF List Chunk. More... | |
| class | RIFF::File |
| RIFF File. More... | |
| class | RIFF::Exception |
| Will be thrown whenever an error occurs while handling a RIFF file. More... | |
Namespaces | |
| RIFF | |
| RIFF specific classes and definitions. | |
Macros | |
| #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 | RIFF::String |
Enumerations | |
| enum | RIFF::stream_mode_t { RIFF::stream_mode_read = 0, RIFF::stream_mode_read_write = 1, RIFF::stream_mode_closed = 2 } |
| Whether file stream is open in read or in read/write mode. More... | |
| enum | RIFF::stream_state_t { RIFF::stream_ready = 0, RIFF::stream_end_reached = 1, RIFF::stream_closed = 2 } |
| Current state of the file stream. More... | |
| enum | RIFF::stream_whence_t { RIFF::stream_start = 0, RIFF::stream_curpos = 1, RIFF::stream_backward = 2, RIFF::stream_end = 3 } |
| File stream position dependent to these relations. More... | |
| enum | RIFF::endian_t { RIFF::endian_little = 0, RIFF::endian_big = 1, RIFF::endian_native = 2 } |
| Alignment of data bytes in memory (system dependant). More... | |
Functions | |
| String | RIFF::libraryName () |
| Returns the name of this C++ library. More... | |
| String | RIFF::libraryVersion () |
| Returns version of this C++ library. More... | |
| #define CHUNK_HEADER_SIZE 8 |
Definition at line 86 of file RIFF.h.
Referenced by RIFF::List::AddSubChunk(), RIFF::Chunk::Chunk(), RIFF::List::LoadSubChunks(), RIFF::List::ReadHeader(), RIFF::Chunk::WriteChunk(), and RIFF::List::WriteHeader().
| #define CHUNK_ID_LIST 0x5453494C |
Definition at line 83 of file RIFF.h.
Referenced by RIFF::List::AddSubList(), RIFF::List::CountSubLists(), RIFF::List::GetFirstSubList(), RIFF::List::GetNextSubList(), RIFF::List::GetSubList(), and RIFF::List::LoadSubChunks().
| #define CHUNK_ID_RIFF 0x46464952 |
Definition at line 81 of file RIFF.h.
Referenced by RIFF::Chunk::Chunk(), RIFF::File::File(), RIFF::Chunk::ReadHeader(), and RIFF::Chunk::WriteHeader().
| #define CHUNK_ID_RIFX 0x58464952 |
Definition at line 82 of file RIFF.h.
Referenced by RIFF::File::File(), RIFF::Chunk::ReadHeader(), and RIFF::Chunk::WriteHeader().
| #define LIST_HEADER_SIZE 12 |
Definition at line 87 of file RIFF.h.
Referenced by RIFF::List::AddSubList(), RIFF::List::List(), RIFF::List::LoadSubChunks(), DLS::Sample::Sample(), and RIFF::List::WriteChunk().
| #define RIFF_HEADER_SIZE 12 |
Definition at line 88 of file RIFF.h.
Referenced by RIFF::File::File(), and RIFF::File::Save().