#include <MIffTag.h>
Encapsulates IFF's 4 character block structure.
Class MIffTag is used to create the 4 byte tags that are used to distinguish the different block types within an IFF file.
|
| MIffTag () |
| Default class constructor.
|
|
| MIffTag (unsigned char a, unsigned char b, unsigned char c, unsigned char d) |
| Class MIffTag is used to create the 4 byte tags that are used to distinguish the different block types within an IFF file. More...
|
|
| MIffTag (unsigned int tag) |
| Construct an id from an int. More...
|
|
| ~MIffTag () |
| Destructor.
|
|
bool | operator== (const MIffTag &tag) const |
| Equals operator. More...
|
|
|
static const MIffTag | kFORM |
| Marks the start of a group of data blocks.
|
|
static const MIffTag | kCAT |
| Defines an unsorted group of FORM, e.g. images or sounds.
|
|
static const MIffTag | kLIST |
| Defines a sorted group of FORM, e.g. sequence of images.
|
|
static const MIffTag | kPROP |
| Marks the start of a group of data blocks containing properties shared between forms that are a part of a LIST.
|
|
static const MIffTag | kFOR4 |
| Four byte aligned FORM block.
|
|
static const MIffTag | kFOR8 |
| Eight byte aligned FORM block.
|
|
static const MIffTag | kCAT4 |
| Four byte aligned CAT block.
|
|
static const MIffTag | kCAT8 |
| Eight byte aligned CAT block.
|
|
static const MIffTag | kLIS4 |
| Four byte aligned LIST block.
|
|
static const MIffTag | kLIS8 |
| Eight byte aligned LIST block.
|
|
static const MIffTag | kPRO4 |
| Four byte aligned PROP block.
|
|
static const MIffTag | kPRO8 |
| Eight byte aligned PROP block.
|
|
MIffTag |
( |
unsigned char |
a, |
|
|
unsigned char |
b, |
|
|
unsigned char |
c, |
|
|
unsigned char |
d |
|
) |
| |
Class MIffTag is used to create the 4 byte tags that are used to distinguish the different block types within an IFF file.
This version of the constructor makes an id tag for a block type.
- Parameters
-
[in] | a | first byte of tag |
[in] | b | second byte of tag |
[in] | c | third byte of tag |
[in] | d | fourth byte of tag |
Construct an id from an int.
- Parameters
-
bool operator== |
( |
const MIffTag & |
tag | ) |
const |
Equals operator.
- Parameters
-
[in] | tag | tag value to compare against |
The documentation for this class was generated from the following files: