The DtVisualMetaDataManager will use Vantage classes to read meta data files based on the given entity type, and, if the data exists, return a map of linkages and values that can be applied to those linkages to change aspects of the visual model associated with the entity type.
More...
Additional Inherited Members |
typedef std::map< std::string,
Marking > | Markings |
typedef std::map< std::string,
Markings > | StoredMarkings |
| virtual std::vector< std::string > | orderFromSelection (const std::map< std::string, int > &, const DtRwNLengthStringVector &) const |
| | Given the list of potential items to select from, return an in order list of the items to select.
|
| virtual std::string | randomlySelect (const std::vector< std::string > &, double topPercentToChoose, double topRandomPrecent) const |
| | Given the ordered list return an randomly selected item.
|
| virtual std::string | weightedExponential (const std::vector< std::string > &) const |
| | Given the ordered list return an randomly selected item as an exponential floor(num_items * pow(rand(0 ... 1), 2));.
|
| virtual void * | loadMetaFile (const DtFilename &) const |
| | Returns the document for the given filename. User must close the document handle returned to prevent leak.
|
| static DtVisualMetaDataManager * | theInstance |
Detailed Description
The DtVisualMetaDataManager will use Vantage classes to read meta data files based on the given entity type, and, if the data exists, return a map of linkages and values that can be applied to those linkages to change aspects of the visual model associated with the entity type.
Constructor & Destructor Documentation
| makVrf::DtVrfVisualMetaDataManager::DtVrfVisualMetaDataManager |
( |
makVrv::DtDe & |
| ) |
|
| virtual makVrf::DtVrfVisualMetaDataManager::~DtVrfVisualMetaDataManager |
( |
| ) |
|
|
virtual |
Member Function Documentation
Register a subclass version of this class.
the instance() function will return the newly registered version once this has been called.
| virtual Markings makVrf::DtVrfVisualMetaDataManager::visualMetaDataFor |
( |
const DtEntityType & |
| ) |
|
|
virtual |
| virtual makVrv::DtModelDefinition* makVrf::DtVrfVisualMetaDataManager::modelDefinitionFor |
( |
const DtEntityType & |
objectType | ) |
const |
|
virtual |
Returns the model definition for the given entity type.
This will only return a value if the objectType represents an object that is in the entity element definition map
| virtual DtFilename makVrf::DtVrfVisualMetaDataManager::metaDataFileFor |
( |
const DtEntityType & |
| ) |
const |
|
virtual |
Returns the meta data file that is used for the given entity type.
| virtual std::map<std::string, std::string> makVrf::DtVrfVisualMetaDataManager::markingsFromVisualMetaData |
( |
const DtEntityType & |
, |
|
|
const DtRwVisualMetaData & |
|
|
) |
| |
|
virtual |
Given the variable data rules, return a map that contains the annoation and the value for that annotation to be set.
Member Data Documentation
The documentation for this class was generated from the following file: