![]() |
VR-Forces 5.0.2 Developer's Guide
|
This class contains helper functions and methods that can be used to roll up property data based on the true aggregate state property structure.
Classes | |
| struct | AverageItem |
Public Types | |
| typedef std::map< std::string, DtRollUpFunction > | RollUpRules |
Public Member Functions | |
| DtTrueAggregateRollUpHelper () | |
| virtual | ~DtTrueAggregateRollUpHelper () |
| virtual void | installCustomRules () |
| virtual void | rollUp (const std::vector< const DtRwProperties * > &, DtRwProperties &result, const std::set< DtString > &ignore=std::set< DtString >()) const |
| virtual void | setRollUpRules (const DtAssembliesReaderWriter::RwRootNode &) |
| virtual bool | loadRollUpRules (const DtFilename &) |
| virtual void | updateAverages (DtRwProperties &, int totalContributors) const |
| virtual void | restore () |
| virtual void | addRollUpFunction (const std::string &, DtRollUpFunction) |
| const RollUpRules & | rollUpRules () const |
| RollUpRules & | rollUpRules () |
| virtual bool | sumFunction (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path, const std::map< std::string, std::string > &) |
| virtual bool | minimumFunction (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path, const std::map< std::string, std::string > &) |
| virtual bool | maximumFunction (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path, const std::map< std::string, std::string > &) |
| virtual bool | averageFunction (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path, const std::map< std::string, std::string > &) |
| virtual bool | moppLevelFunction (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path, const std::map< std::string, std::string > &) |
| virtual bool | stringFunction (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path) |
Protected Types | |
| typedef std::map< std::string, AverageItem > | AverageItems |
Protected Member Functions | |
| virtual bool | rollUpValues (const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path) |
| virtual double | averageContributionFrom (const DtReaderWriter *item, const DtMergePath &path, const std::map< std::string, std::string > &atr) const |
| typedef std::map<std::string, DtRollUpFunction> DtTrueAggregateRollUpHelper::RollUpRules |
|
protected |
| DtTrueAggregateRollUpHelper::DtTrueAggregateRollUpHelper | ( | ) |
|
virtual |
|
virtual |
Call to install custom roll up rules needed to roll up aggregate information.
|
virtual |
Roll up rule functions.
|
inline |
Roll up rule functions.
|
inline |
Roll up rule functions.
|
virtual |
Roll up rule functions.
|
virtual |
Roll up rule functions.
|
virtual |
Roll up rule functions.
|
virtual |
Roll up rule functions.
|
virtual |
Roll up rule functions.
|
virtual |
Roll up rule functions.
|
virtual |
Rolls up the given properties and returns the single rolled up result.
|
virtual |
Sets roll up rules that are read from the rollUpRules.mtl file.
|
virtual |
Loads roll up rules from the given file.
|
virtual |
|
virtual |
Call this to restore backed up values due to override by installing custom rules and general construction of this object. Only call this if you are expecting to no longer use the true aggregate roll up rules.
|
protectedvirtual |
Will use the roll up rules as defined in the additional scenario data to roll up values.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |