MDTraits_BasicArray Class Reference

#include <mdtraits.h>

Inheritance diagram for MDTraits_BasicArray:

MDTraits RefCount IRefCount MDTraits_BasicStringArray MDTraits_RawArray MDTraits_RawArrayArray MDTraits_UTF16String 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)
virtual void SetInt64 (MDValuePtr Object, Int64 Val)
virtual void SetUInt (MDValuePtr Object, UInt32 Val)
virtual void SetUInt64 (MDValuePtr Object, UInt64 Val)
virtual void SetString (MDValuePtr Object, std::string Val)
 Set string for basic array types.
virtual Int32 GetInt (MDValuePtr Object)
virtual Int64 GetInt64 (MDValuePtr Object)
virtual UInt32 GetUInt (MDValuePtr Object)
virtual UInt64 GetUInt64 (MDValuePtr Object)
virtual std::string GetString (MDValuePtr Object)
virtual size_t ReadValue (MDValuePtr Object, const UInt8 *Buffer, size_t Size, int Count=0)

Member Function Documentation

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

A unique name for this trait.

Implements MDTraits.

Reimplemented in MDTraits_BasicStringArray, MDTraits_UTF16String, MDTraits_RawArray, and MDTraits_RawArrayArray.

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

Reimplemented from MDTraits.

void SetInt64 ( MDValuePtr  Object,
Int64  Val 
) [protected, virtual]

Reimplemented from MDTraits.

void SetUInt ( MDValuePtr  Object,
UInt32  Val 
) [protected, virtual]

Reimplemented from MDTraits.

void SetUInt64 ( MDValuePtr  Object,
UInt64  Val 
) [protected, virtual]

Reimplemented from MDTraits.

void SetString ( MDValuePtr  Object,
std::string  Val 
) [protected, virtual]

Set string for basic array types.

Note:
This will fail if one of the array items includes a comma

Reimplemented from MDTraits.

Reimplemented in MDTraits_BasicStringArray, MDTraits_UTF16String, MDTraits_RawArray, and MDTraits_RawArrayArray.

Int32 GetInt ( MDValuePtr  Object  )  [protected, virtual]

Reimplemented from MDTraits.

Int64 GetInt64 ( MDValuePtr  Object  )  [protected, virtual]

Reimplemented from MDTraits.

UInt32 GetUInt ( MDValuePtr  Object  )  [protected, virtual]

Reimplemented from MDTraits.

UInt64 GetUInt64 ( MDValuePtr  Object  )  [protected, virtual]

Reimplemented from MDTraits.

std::string GetString ( MDValuePtr  Object  )  [protected, virtual]

Reimplemented from MDTraits.

Reimplemented in MDTraits_BasicStringArray, MDTraits_UTF16String, MDTraits_RawArray, and MDTraits_RawArrayArray.

size_t ReadValue ( MDValuePtr  Object,
const UInt8 Buffer,
size_t  Size,
int  Count = 0 
) [protected, virtual]

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