MDTraits_Int8 Class Reference

#include <mdtraits.h>

Inheritance diagram for MDTraits_Int8:

MDTraits_BasicInt MDTraits RefCount IRefCount MDTraits_UInt8 MDTraits_ISO7 List of all members.

Public Member Functions

virtual std::string Name () const
 A unique name for this trait.

Protected Member Functions

virtual void SetInt (MDValuePtr Object, Int32 Val)
 Set Int8 from an Int32.
virtual Int32 GetInt (MDValuePtr Object)
 Get Int32 from an Int8.
virtual UInt32 GetUInt (MDValuePtr Object)
 Get UInt32 from an Int8.

Member Function Documentation

virtual std::string Name ( void   )  const [inline, virtual]

A unique name for this trait.

Reimplemented from MDTraits_BasicInt.

Reimplemented in MDTraits_UInt8, and MDTraits_ISO7.

void SetInt ( MDValuePtr  Object,
Int32  Val 
) [protected, virtual]

Set Int8 from an Int32.

Reimplemented from MDTraits.

Int32 GetInt ( MDValuePtr  Object  )  [protected, virtual]

Get Int32 from an Int8.

Reimplemented from MDTraits.

UInt32 GetUInt ( MDValuePtr  Object  )  [protected, virtual]

Get UInt32 from an Int8.

Note:
This function will return 128 through 255 for bit values 10000000 through 11111111 even though an Int8 cannot store them. This is as opposed to the option of returning 0xffffff80 through 0xffffffff for those values.

Reimplemented from MDTraits.


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