mdtype.h File Reference

Definition of classes that define metadata type info. More...

#include <string>
#include <list>
#include <map>

Go to the source code of this file.

Namespaces

namespace  mxflib

Classes

class  MapIndex
 Number/String duality object for index item in objects. More...
class  MDType
 Holds the definition of a metadata type. More...
class  MDValue
 Metadata Object class. More...

Typedefs

typedef std::list< std::string > StringList
typedef SmartPtr< MDType > MDTypePtr
 A smart pointer to an MDType object.
typedef ParentPtr< MDType > MDTypeParent
 A parent pointer to an MDType object.
typedef std::list< MDTypePtr > MDTypeList
 A list of smart pointers to MDType objects.
typedef std::map< std::string,
MDTypePtr > 
MDTypeMap
 A list of smart pointers to MDType objects with names.
typedef std::map< MapIndex,
MDValuePtr > 
MDValueMap
 A map of smart pointers to MDValue objects indexed by MapIndex.

Enumerations

enum  MDContainerType {
  NONE, SET, PACK, BATCH,
  ARRAY
}
 < Container types More...
enum  MDTypeClass {
  BASIC, INTERPRETATION, TYPEARRAY, COMPOUND,
  ENUM
}
 < Class of this type More...
enum  MDArrayClass { ARRAYARRAY, ARRAYBATCH }
 < Sub-classes of arrays More...

Functions

std::string AddTraitsMapping (std::string TypeName, MDTraitsPtr Tr)
 Add a mapping to apply a given set of traits to a certain type.
std::string UpdateTraitsMapping (std::string TypeName, MDTraitsPtr Tr)
 Update an existing mapping and apply to any existing type of the given name.
std::string AddTraitsMapping (const UL &Type, MDTraitsPtr Tr)
 Add a mapping to apply a given set of traits to a certain type.
std::string UpdateTraitsMapping (const UL &Type, MDTraitsPtr Tr)
 Update an existing mapping and apply to any existing type of the given name.


Detailed Description

Definition of classes that define metadata type info.

Class MDDict holds the overall dictionary definitions and manages loading them from a dictionary file and adding new metadata types.

Class MDType holds info about a specific metadata type

These classes are currently wrappers around KLVLib structures

Version:
Id
mdtype.h,v 1.13 2007/03/31 16:01:39 matt-beard Exp

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