UMID Class Reference

#include <types.h>

Inheritance diagram for UMID:

Identifier< 32 > RefCount IRefCount List of all members.

Public Member Functions

 UMID (const UInt8 *ID=NULL)
 Construct a new UMID either from a sequence of bytes, or as a NULL UMID (32 zero bytes).
 UMID (const SmartPtr< UMID > ID)
 Construct a UMID from a sequence of bytes.
 UMID (const UMID &RHS)
 Copy constructor.
UInt32 GetInstance (void) const
 Get the UMID's instance number.
void SetInstance (int Instance, int Method=-1)
 Set the UMID's instance number.
void SetMaterial (ULPtr aUL)
 Set the UMID's material number.

Constructor & Destructor Documentation

UMID ( const UInt8 ID = NULL  )  [inline]

Construct a new UMID either from a sequence of bytes, or as a NULL UMID (32 zero bytes).

Note:
The byte string must contain at least 32 bytes or errors will be produced when it is used

UMID ( const SmartPtr< UMID ID  )  [inline]

Construct a UMID from a sequence of bytes.

Note:
The byte string must contain at least 16 bytes or errors will be produced when it is used

UMID ( const UMID RHS  )  [inline]

Copy constructor.


Member Function Documentation

UInt32 GetInstance ( void   )  const [inline]

Get the UMID's instance number.

Note:
The number returned interprets the instance number as big-endian

void SetInstance ( int  Instance,
int  Method = -1 
) [inline]

Set the UMID's instance number.

Note:
The number is set as big-endian

void SetMaterial ( ULPtr  aUL  )  [inline]

Set the UMID's material number.


The documentation for this class was generated from the following file:
Generated on Mon Apr 2 15:21:02 2007 for MXFLib by  doxygen 1.5.1-p1