![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cRIFF.h>
Public Member Functions | |
cRIFFChunk (FOURCC nTypeChunk, RIFF_SIZE_t nDataSize) | |
virtual | ~cRIFFChunk () |
virtual bool | isListType () const |
void * | get_Data () 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 | |
cHeapBlock | m_Data |
the chunk data payload. 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 chunk/data block. Holds a m_Data payload that is loaded on demand.
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Implements GrayLib::cRIFFBlock.
|
protectedvirtual |
Read data body.
Implements GrayLib::cRIFFBlock.
|
protectedvirtual |
Implements GrayLib::cRIFFBlock.
cHeapBlock GrayLib::cRIFFChunk::m_Data |
the chunk data payload.