The Interchange File Format header format structure.
More...
#include <murl_util_iff.h>
The Interchange File Format header format structure.
◆ anonymous enum
The FourCC constants.
Enumerator |
---|
FOURCC | The Interchange File Format identifier.
|
◆ IffHeader() [1/3]
Murl::Util::IffHeader::IffHeader |
( |
| ) |
|
|
inline |
The default constructor.
Set the file format identifier to FOURCC, the file size to 4 bytes and the file type identifier to 0.
◆ IffHeader() [2/3]
Murl::Util::IffHeader::IffHeader |
( |
UInt32 |
size, |
|
|
UInt32 |
fourCC |
|
) |
| |
|
inline |
Constructor taking the file size and the file type identifier.
Set the file format identifier to FOURCC. This method takes care of the system's byte ordering and the iff size format.
- Parameters
-
size | The size of the file. |
fourCC | The file type identifier. |
◆ IffHeader() [3/3]
Constructor taking the file identifier, the file size and the file type identifier.
This method takes care of the system's byte ordering and the iff size format.
- Parameters
-
form | The file format identifier. |
size | The size of the file. |
fourCC | The file type identifier. |
◆ SetForm()
void Murl::Util::IffHeader::SetForm |
( |
UInt32 |
fourCC | ) |
|
|
inline |
Set the file format identifier.
This method takes care of the system's byte ordering.
- Parameters
-
fourCC | The FourCC file format identifier. |
◆ GetForm()
UInt32 Murl::Util::IffHeader::GetForm |
( |
| ) |
const |
|
inline |
Get the file format identifier.
This method takes care of the system's byte ordering.
- Returns
- The FourCC file format identifier.
◆ SetFileSize()
void Murl::Util::IffHeader::SetFileSize |
( |
UInt32 |
size | ) |
|
|
inline |
Set the file size.
This method takes care of the iff size format.
- Parameters
-
size | The byte size of the file. |
◆ GetFileSize()
UInt32 Murl::Util::IffHeader::GetFileSize |
( |
| ) |
const |
|
inline |
Get the file size.
This method takes care of the iff size format.
- Returns
- The byte size of the file.
◆ GetRawSize()
UInt32 Murl::Util::IffHeader::GetRawSize |
( |
| ) |
const |
|
inline |
Get the file size minus 8 bytes.
- Returns
- The byte size of the file minus 8 bytes.
◆ SetFourCC()
void Murl::Util::IffHeader::SetFourCC |
( |
UInt32 |
fourCC | ) |
|
|
inline |
Set the file type identifier.
This method takes care of the system's byte ordering.
- Parameters
-
fourCC | The FourCC file type identifier. |
◆ GetFourCC()
UInt32 Murl::Util::IffHeader::GetFourCC |
( |
| ) |
const |
|
inline |
Get the file type identifier.
This method takes care of the system's byte ordering.
- Returns
- The FourCC file type identifier.
◆ mForm
UInt32 Murl::Util::IffHeader::mForm |
|
protected |
The file format identifier.
◆ mSize
UInt32 Murl::Util::IffHeader::mSize |
|
protected |
The size of the whole file minus 8 bytes.
◆ mFourCC
UInt32 Murl::Util::IffHeader::mFourCC |
|
protected |
The FourCC file type identifier.
The documentation for this class was generated from the following file: