The Interchange File Format chunk format structure.
More...
#include <murl_util_iff.h>
The Interchange File Format chunk format structure.
◆ IffOffset()
template<class DataType >
DataType* Murl::Util::IffChunk::IffOffset |
( |
UInt32 |
byteOffset | ) |
const |
|
inline |
Get a typed pointer from an offset relative to the chunk.
Returns the address of the chunk + offset + sizeof(IffChunk).
- Parameters
-
byteOffset | The byte offset. |
- Returns
- The typed pointer or null if the offset is greater than the chunk size.
◆ SetFourCC()
void Murl::Util::IffChunk::SetFourCC |
( |
UInt32 |
fourCC | ) |
|
|
inline |
Set the chunk identifier.
This method takes care of the system's byte ordering.
- Parameters
-
fourCC | The FourCC chunk identifier. |
◆ GetFourCC()
UInt32 Murl::Util::IffChunk::GetFourCC |
( |
| ) |
const |
|
inline |
Get the chunk identifier.
This method takes care of the system's byte ordering.
- Returns
- The FourCC chunk identifier.
◆ SetChunkSize()
void Murl::Util::IffChunk::SetChunkSize |
( |
UInt32 |
size | ) |
|
|
inline |
Set the chunk size.
This method takes care of the iff size format.
- Parameters
-
size | The byte size of the chunk. |
◆ GetChunkSize()
UInt32 Murl::Util::IffChunk::GetChunkSize |
( |
| ) |
const |
|
inline |
Get the chunk size.
This method takes care of the iff size format.
- Returns
- The byte size of the chunk.
◆ GetRawSize()
UInt32 Murl::Util::IffChunk::GetRawSize |
( |
| ) |
const |
|
inline |
Get the chunk size minus sizeof(IffChunk).
- Returns
- The byte size of the chunk minus sizeof(IffChunk).
◆ mFourCC
UInt32 Murl::Util::IffChunk::mFourCC |
|
protected |
The FourCC chunk identifier.
◆ mSize
UInt32 Murl::Util::IffChunk::mSize |
|
protected |
The size of this chunk minus sizeof(IffChunk).
The documentation for this class was generated from the following file: