![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRIFF.h>
Public Member Functions | |
cRIFFList (FOURCC nTypeList, FOURCC nTypeChunk, RIFF_SIZE_t nDataSize) | |
virtual | ~cRIFFList () |
virtual bool | isListType () const |
cRIFFChunk * | EnumChunk (int i) const |
cRIFFChunk * | FindChunkId (FOURCC nTypeChunk) const |
![]() | |
cRIFFBlock (FOURCC nTypeChunk, RIFF_SIZE_t nSize) | |
virtual | ~cRIFFBlock () |
HRESULT | WriteStream (cStreamOutput *pFile) const |
![]() | |
cRefBase (int iRefCount=0) noexcept | |
virtual | ~cRefBase () |
int | get_RefCount () const noexcept |
HASHCODE_t | get_HashCode () const noexcept |
STDMETHOD_ (HASHCODE_t, get_HashCodeX)() const noexcept | |
virtual void | onFinalRelease () |
bool | isValidObj () const noexcept |
STDMETHOD_ (ULONG, AddRef)(void) override | |
STDMETHOD_ (ULONG, Release)(void) override | |
STDMETHOD() | QueryInterface (const IID &riid, void __RPC_FAR *__RPC_FAR *ppvObject) override |
void | IncRefCount () |
void | DecRefCount () |
bool | isStaticConstruct () const noexcept |
void | StaticConstruct () |
void | StaticDestruct () |
bool | isDestructing () noexcept |
void | SetDestructing () |
![]() | |
cRIFFHead (FOURCC nTypeChunk=FOURCC_0, RIFF_SIZE_t nDataSize=0) | |
bool | isListType () const |
bool | isPadded () const |
RIFF_SIZE_t | get_RawSize () const |
RIFF_SIZE_t | get_DataSize () const |
HRESULT | WriteChunk (cStreamOutput *pOut) const |
HRESULT | ReadChunk (cStreamInput &stmIn) |
Public Attributes | |
cFourCC | m_nTypeList |
What type of RIFF or LIST block is this? e.g. "WAVE". More... | |
cArrayRef< cRIFFBlock > | m_aList |
list of child chunks in this. More... | |
![]() | |
FOURCC | m_nTypeChunk |
chunk ID. i.e. 'RIFF','LIST','FORM' FOURCC_RIFF or 'data' for non list (MMCKINFO ckid) More... | |
RIFF_SIZE_t | m_nDataSize |
chunk size (bytes) including m_nTypeList not including align/pad byte. (MMCKINFO cksize) More... | |
Protected Member Functions | |
virtual HRESULT | ReadStreamBody (cStreamInput &strIn) |
virtual HRESULT | WriteStreamBody (cStreamOutput *pFile) const |
Additional Inherited Members | |
![]() | |
static HRESULT GRAYCALL | ReadStreamUnk (cStreamInput &strIn, cRefPtr< cRIFFBlock > *ppRet) |
A RIFF or LIST chunk type. has no data, just child chunks.
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inlinevirtual |
This chunk type has children?
Implements GrayLib::cRIFFBlock.
|
protectedvirtual |
Implements GrayLib::cRIFFBlock.
|
protectedvirtual |
Implements GrayLib::cRIFFBlock.
cArrayRef<cRIFFBlock> GrayLib::cRIFFList::m_aList |
list of child chunks in this.
cFourCC GrayLib::cRIFFList::m_nTypeList |
What type of RIFF or LIST block is this? e.g. "WAVE".