The DtVisualMetaDataManager will use ead 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...
|
| virtual std::vector< OrderedInfo > | orderFromSelection (const MarkingMappings &, const DtRwNLengthStringVector &) const |
| | Given the list of potential items to select from, return an in order list of the items to select. More...
|
| |
| virtual std::string | randomlySelect (const std::vector< OrderedInfo > &, double topPercentToChoose, double topRandomPrecent) const |
| | Given the ordered list return an randomly selected item. More...
|
| |
| virtual std::string | weightedExponential (const std::vector< OrderedInfo > &) const |
| | Given the ordered list return an randomly selected item as an exponential floor(num_items * pow(rand(0 ... 1), 2));. More...
|
| |
| virtual void * | loadMetaFile (const DtFilename &) const |
| | Returns the document for the given filename. User must close the document handle returned to prevent leak. More...
|
| |
| virtual std::string | variantSelection (const std::string &linkage, const Markings &, const DtRwVisualMetaDataEntry &) const |
| | Assuming a variant, given the linkage, return the first item. More...
|
| |
| virtual std::string | subvariantSelection (const std::string &linkage, const Markings &, const DtRwVisualMetaData &, const std::map< std::string, std::string > &variantSelections) const |
| | Assuming a subvariant, given the linkage, return the first item that satisfies the parent variant. More...
|
| |
The DtVisualMetaDataManager will use ead 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.
| DtVisualMetaDataManager::DtVisualMetaDataManager |
( |
| ) |
|
| virtual DtVisualMetaDataManager::~DtVisualMetaDataManager |
( |
| ) |
|
|
virtual |
| virtual void DtVisualMetaDataManager::clear |
( |
| ) |
|
|
virtual |
| virtual std::map<std::string, std::string> DtVisualMetaDataManager::markingsFromVisualMetaData |
( |
const DtFilename & |
metaDataFile, |
|
|
const DtRwVisualMetaData & |
, |
|
|
bool |
skipVariants = false, |
|
|
const std::map< std::string, std::string > & |
variantSelections = std::map< std::string, std::string >() |
|
) |
| |
|
virtual |
Given the variable data rules, return a map that contains the linkage and the value for that linkage to be set.
Returns the current instance.
If instance does not exist will create a new version of this class.
Given the list of potential items to select from, return an in order list of the items to select.
| virtual std::string DtVisualMetaDataManager::randomlySelect |
( |
const std::vector< OrderedInfo > & |
, |
|
|
double |
topPercentToChoose, |
|
|
double |
topRandomPrecent |
|
) |
| const |
|
protectedvirtual |
Given the ordered list return an randomly selected item.
| virtual std::string DtVisualMetaDataManager::weightedExponential |
( |
const std::vector< OrderedInfo > & |
| ) |
const |
|
protectedvirtual |
Given the ordered list return an randomly selected item as an exponential floor(num_items * pow(rand(0 ... 1), 2));.
| virtual void* DtVisualMetaDataManager::loadMetaFile |
( |
const DtFilename & |
| ) |
const |
|
protectedvirtual |
Returns the document for the given filename. User must close the document handle returned to prevent leak.
Assuming a variant, given the linkage, return the first item.
| virtual std::string DtVisualMetaDataManager::subvariantSelection |
( |
const std::string & |
linkage, |
|
|
const Markings & |
, |
|
|
const DtRwVisualMetaData & |
, |
|
|
const std::map< std::string, std::string > & |
variantSelections |
|
) |
| const |
|
protectedvirtual |
Assuming a subvariant, given the linkage, return the first item that satisfies the parent variant.
If no parent variant returns the first selection
The documentation for this class was generated from the following file: