![]() |
VR-Forces 4.0.4 Class Documentation
|
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. | |
| #define REGISTER_VISUAL_ATTRIBUTE | ( | Attribute | ) |
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 | |||
| ) |
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.