Panda3D
Public Member Functions

IffId Class Reference

A four-byte chunk ID appearing in an "IFF" file. More...

#include "iffId.h"

List of all members.

Public Member Functions

 IffId (const char id[4])
 IffId (const IffId &copy)
string get_name () const
 Returns the four-character name of the Id, for outputting.
bool operator!= (const IffId &other) const
bool operator< (const IffId &other) const
 The ordering is arbitrary, and may not even be consistent between different architectures (e.g.
void operator= (const IffId &copy)
bool operator== (const IffId &other) const
void output (ostream &out) const

Detailed Description

A four-byte chunk ID appearing in an "IFF" file.

This is used to identify the meaning of each chunk, and can be treated either as a concrete object or as a string, something like a TypeHandle.

Definition at line 29 of file iffId.h.


Member Function Documentation

string IffId::get_name ( ) const [inline]

Returns the four-character name of the Id, for outputting.

Definition at line 103 of file iffId.I.

bool IffId::operator< ( const IffId other) const [inline]

The ordering is arbitrary, and may not even be consistent between different architectures (e.g.

big-endian and little-endian). It is useful mainly for putting IffId's into a sorted container, like sets and maps.

Definition at line 92 of file iffId.I.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations