MIffTag Class Reference
[OpenMaya - API module for common classes]

#include <MIffTag.h>
Collaboration diagram for MIffTag:
Collaboration graph
[legend]

List of all members.


Detailed Description

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.

Examples:

geometryCacheFile.cpp.


Public Member Functions

  MIffTag ()
  MIffTag (unsigned char a, unsigned char b, unsigned char c, unsigned char d)
  MIffTag (unsigned int tag)
  ~MIffTag ()
bool  operator== (const MIffTag &tag) const

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
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

Constructor & Destructor Documentation

MIffTag::MIffTag (  ) 

Default class constructor.

MIffTag::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.

MIffTag::MIffTag ( unsigned int  tag  ) 

Construct an id from an int.

MIffTag::~MIffTag (  ) 

Destructor.


Member Function Documentation

bool MIffTag::operator== ( const MIffTag tag  )  const

Equals operator.


Member Data Documentation

const MIffTag MIffTag::kPROP [static]

Marks the start of a group of data blocks containing properties shared between forms that are a part of a LIST


Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. Generated with doxygen 1.5.6