VR-Forces 4.1 Class Documentation
Classes | Namespaces | Typedefs | Functions
DtVisualizerDefinitionRecord.h File Reference

Go to the source code of this file.

Classes

class  makArchives::oldRecords::Dt3Tuple
 A 3-tuple of doubles, used for the DtVisualAttributeVector record. More...
class  makArchives::oldRecords::DtVisualColor
 Color record for the color attribute type. More...
class  makArchives::oldRecords::DtVisualAttributeInterface
 Base class for visual attributes. More...
class  makArchives::oldRecords::DtVisualAttributeFactory
class  makArchives::oldRecords::DtVisualAttribute< Type >
 Base template attribute implementation. More...
class  makArchives::oldRecords::DtVisualDefinition
 Record for a visual definition. More...
class  makArchives::oldRecords::DtVisualDefinitionSet
 Record for a visual definition set. More...
class  makArchives::oldRecords::DtElementDefinition
 Record for an element definition. More...
class  makArchives::oldRecords::DtElementDefinitionNode
 Element definition node record. More...
class  makArchives::oldRecords::DtElementDefinitionHierarchy
 Record for element definition hierarchy. More...

Namespaces

namespace  makArchives
namespace  makArchives::oldRecords
 Records for reading the old .vodi file format.

Typedefs

typedef
DtVisualAttributeInterface *(* 
makArchives::oldRecords::DtVisualAttributeCreatorFcn )()
 Visual attribute creator callback function type.

Functions

 BOOST_CLASS_VERSION (makArchives::oldRecords::DtElementDefinitionHierarchy, 1)
 BOOST_CLASS_VERSION (makArchives::oldRecords::DtElementDefinitionNode, 1)
 BOOST_CLASS_VERSION (makArchives::oldRecords::DtElementDefinition, 1)
 BOOST_CLASS_VERSION (makArchives::oldRecords::DtVisualDefinitionSet, 1)
 BOOST_CLASS_VERSION (makArchives::oldRecords::DtVisualDefinition, 1)
#define REGISTER_VISUAL_ATTRIBUTE(Attribute)
 Utility macro to register attributes with the factory.
#define DEFINE_VISUAL_ATTRIBUTE(ATTRIBUTE, VALUETYPE, DEFAULTVALUE)
 Utility macro to fill out the implementation of an attribute type ATTRIBUTE should be the attribute class name, VALUETYPE the type of its myValue member, and DEFAULTVALUE the value that myValue is initialized to.
typedef std::map< std::string,
DtVisualAttributeCreatorFcn > 
makArchives::oldRecords::DtVisualAttributeCreatorMap
 Creator callback map from attribute class name to creator callback.
static
DtVisualAttributeCreatorMap * 
makArchives::oldRecords::theAttributeCreatorMap = 0
 Static visual attribute creator map used by the attribute factory.

Macro Definition Documentation

#define REGISTER_VISUAL_ATTRIBUTE (   Attribute)
Value:
static bool Attribute##_Registered = \
DtVisualAttributeFactory::addAttributeCreator(Attribute::theClassType(), &Attribute::create);

Utility macro to register attributes with the factory.

#define DEFINE_VISUAL_ATTRIBUTE (   ATTRIBUTE,
  VALUETYPE,
  DEFAULTVALUE 
)
Value:
class DT_DLL_MAKARCHIVES ATTRIBUTE : public DtVisualAttribute<VALUETYPE>\
{\
public:\
ATTRIBUTE() { myValue = DEFAULTVALUE ; }\
ATTRIBUTE(const ATTRIBUTE& s) : DtVisualAttribute<VALUETYPE>(s) {}\
virtual ~ATTRIBUTE() {}\
static std::string theClassType() { return #ATTRIBUTE ; }\
virtual std::string classType() const { return theClassType();}\
static DtVisualAttributeInterface* create() { return new ATTRIBUTE(); }\
};

Utility macro to fill out the implementation of an attribute type ATTRIBUTE should be the attribute class name, VALUETYPE the type of its myValue member, and DEFAULTVALUE the value that myValue is initialized to.

Function Documentation

BOOST_CLASS_VERSION ( makArchives::oldRecords::DtElementDefinitionHierarchy  ,
 
)
BOOST_CLASS_VERSION ( makArchives::oldRecords::DtElementDefinitionNode  ,
 
)
BOOST_CLASS_VERSION ( makArchives::oldRecords::DtElementDefinition  ,
 
)
BOOST_CLASS_VERSION ( makArchives::oldRecords::DtVisualDefinitionSet  ,
 
)
BOOST_CLASS_VERSION ( makArchives::oldRecords::DtVisualDefinition  ,
 
)

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)