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.
#include <MIffTag.h>
Public Member Functions | |
| 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. | |
| MIffTag (unsigned int tag) | |
| Construct an id from an int. | |
| ~MIffTag () | |
| Destructor. | |
| bool | operator== (const MIffTag &tag) const |
| Equals operator. | |
Static Public Attributes | |
| 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. | |
Friends | |
| class | MIffFile |
| 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.
| [in] | a | first byte of tag |
| [in] | b | second byte of tag |
| [in] | c | third byte of tag |
| [in] | d | fourth byte of tag |
| MIffTag | ( | unsigned int | tag | ) |
Construct an id from an int.
| [in] | tag | value of tag |
| bool operator== | ( | const MIffTag & | tag | ) | const |
Equals operator.
| [in] | tag | tag value to compare against |