SDIF::TypeId Class Reference

Used to store the Frame and Matrix types, a 4-byte identifier. More...

#include <SDIFType.hxx>

List of all members.

Public Member Functions

 TypeId (const char *str="\0\0\0\0")
 Create a new Type.
bool operator== (const TypeId &cmp)
 Compare this Type.
const char * String (void) const
 Convert the Type to a character string.

Static Public Attributes

static TypeId sDefault

Protected Attributes

CLAM::TByte mData [4]
 The 4-byte identifier.

Friends

class File

Detailed Description

Used to store the Frame and Matrix types, a 4-byte identifier.

Definition at line 36 of file SDIFType.hxx.


Constructor & Destructor Documentation

SDIF::TypeId::TypeId ( const char *  str = "\0\0\0\0"  )  [inline]

Create a new Type.

Parameters:
str String containing the 4-byte identifier

Definition at line 46 of file SDIFType.hxx.

References mData.


Member Function Documentation

bool SDIF::TypeId::operator== ( const TypeId cmp  )  [inline]

Compare this Type.

Parameters:
cmp The Type to compare with
Returns:
true when equal

Definition at line 54 of file SDIFType.hxx.

References mData.

const char* SDIF::TypeId::String ( void   )  const [inline]

Convert the Type to a character string.

Returns:
The 4-byte identifier in a null-terminator const char string>

Definition at line 58 of file SDIFType.hxx.

References mData.


Friends And Related Function Documentation

friend class File [friend]

Definition at line 38 of file SDIFType.hxx.


Member Data Documentation

The 4-byte identifier.

Definition at line 41 of file SDIFType.hxx.

Referenced by operator==(), String(), and TypeId().

Definition at line 66 of file SDIFType.hxx.


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.3