mdtraits.h File Reference

Definition of traits for MDType definitions. More...

Go to the source code of this file.

Namespaces

namespace  mxflib

Classes

class  MDTraits
class  MDTraits_DefaultTraits
class  MDTraits_BasicInt
class  MDTraits_Int8
class  MDTraits_UInt8
class  MDTraits_Int16
class  MDTraits_UInt16
class  MDTraits_Int32
class  MDTraits_UInt32
class  MDTraits_Int64
class  MDTraits_UInt64
class  MDTraits_ISO7
class  MDTraits_UTF16
class  MDTraits_Raw
class  MDTraits_BasicArray
class  MDTraits_BasicStringArray
class  MDTraits_UTF16String
class  MDTraits_RawArray
class  MDTraits_UUID
class  MDTraits_Label
class  MDTraits_UMID
class  MDTraits_RawArrayArray
class  MDTraits_BasicCompound
class  MDTraits_BasicEnum
class  MDTraits_Rational
class  MDTraits_TimeStamp

Typedefs

typedef SmartPtr< MDTraits > MDTraitsPtr
 A smart pointer to an MDTraits object.
typedef std::list< MDTraitsPtr > MDTraitsList
 A list of smart pointers to MDTraits objects.
typedef std::map< std::string,
MDTraitsPtr > 
MDTraitsMap
 A map of smart pointers to MDTraits objects, indexed by name.

Enumerations

enum  LabelFormat { LabelFormatText = 0, LabelFormatHex, LabelFormatTextHex, LabelFormatTextHexMask }
 Options for converting labels to a string of text or hex. More...

Functions

void SetStringLimit (UInt32 StringLimit)
 Set the string size soft limit.
UInt32 GetStringLimit (void)
 Get the current string size soft limit.
void SetStringTermination (bool Value)
 Set the string termination flag.
bool GetStringTermination (void)
 Get the string termination flag.
void SetLabelFormat (LabelFormat Value)
 Set the options for converting labels to strings.
LabelFormat GetLabelFormat (void)
 Get the options for converting labels to strings.
template<class C>
std::string CreateMDTraits (void)
 Create a new trait of this type and add it to the known traits list.
size_t ReadValueUInt (MDValuePtr Object, const UInt8 *Buffer, size_t Size, int Count)
 Special unsigned integer ReadValue.

Variables

UInt32 MDTraits_StringLimit
 Soft limit for strings returned by MDTraits.
bool TerminateStrings
 Flag to modify string behaviour to terminate all strings written.
LabelFormat LabelFormatOption
 The current options for converting labels to strings.


Detailed Description

Definition of traits for MDType definitions.

Version:
Id
mdtraits.h,v 1.8 2007/03/31 14:43:16 matt-beard Exp

Generated on Mon Apr 2 15:20:55 2007 for MXFLib by  doxygen 1.5.1-p1