![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRIFFFormat.h>
Public Member Functions | |
| cRIFFReader (cStreamInput &s) | |
| HRESULT | Ascend (cRIFFHeadX *pChunk) |
| HRESULT | DescendRIFF (cRIFFHeadX *pChunkList, FOURCC nTypeList) |
| HRESULT | DescendLIST (cRIFFHeadX *pChunk, const cRIFFHeadX *pChunkList, FOURCC nTypeList) |
| HRESULT | DescendChunk (cRIFFHeadX *pChunk, const cRIFFHeadX *pChunkList, FOURCC nTypeChunk=FOURCC_0) |
Public Attributes | |
| cStreamInput & | m_rInp |
| File or memory stream input. More... | |
Allow the application to manually walk/read the RIFF file/memory stream without storing everything.
|
inline |
| HRESULT GrayLib::cRIFFReader::Ascend | ( | cRIFFHeadX * | pChunk | ) |
Seek back to my parent chunk. fill in the data size if the chunk required it. (writing) like "::mmioAscend( m_hmmFile, pInfo, 0 ));"
| HRESULT GrayLib::cRIFFReader::DescendChunk | ( | cRIFFHeadX * | pChunk, |
| const cRIFFHeadX * | pChunkList, | ||
| FOURCC | nTypeChunk = FOURCC_0 |
||
| ) |
find/seek a particular chunk type.
| HRESULT GrayLib::cRIFFReader::DescendLIST | ( | cRIFFHeadX * | pChunk, |
| const cRIFFHeadX * | pChunkList, | ||
| FOURCC | nTypeList | ||
| ) |
find/seek a particular LIST type inside a RIFF or other LIST. Expect Ascend() to be called for pChunk
| HRESULT GrayLib::cRIFFReader::DescendRIFF | ( | cRIFFHeadX * | pChunkList, |
| FOURCC | nTypeList | ||
| ) |
from the current pos. find the RIFF chunk Expect Ascend() to be called for pChunk
| cStreamInput& GrayLib::cRIFFReader::m_rInp |
File or memory stream input.