17 #include <boost/function.hpp>
21 const std::map<std::string, std::string>& attributes)>
36 virtual void installCustomRules();
46 const std::map<std::string, std::string>&);
48 const std::map<std::string, std::string>&);
50 const std::map<std::string, std::string>&);
52 const std::map<std::string, std::string>&);
54 const std::map<std::string, std::string>&);
60 virtual void rollUp(
const std::vector<const DtRwProperties*>&,
DtRwProperties& result,
61 const std::set<DtString>& ignore = std::set<DtString>())
const;
67 virtual bool loadRollUpRules(
const DtFilename&);
69 virtual void updateAverages(
DtRwProperties&,
int totalContributors)
const;
73 virtual void restore();
78 virtual double averageContributionFrom(
103 , weight(orig.weight) {};
DtAssembliesReaderWriter myAssemblyReaderWriter
Definition: trueAggregateRollUpHelper.h:114
std::unique_lock< std::recursive_mutex > myRollUpRuleLock
Definition: trueAggregateRollUpHelper.h:89
const RollUpRules & rollUpRules() const
Roll up rule functions.
Definition: trueAggregateRollUpHelper.h:41
Definition: trueAggregateRollUpHelper.h:94
boost::function< bool(const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path)> DtPropertyRollUpFunction
Definition: readerWriterFactory.h:184
RollUpRules & rollUpRules()
Roll up rule functions.
Definition: trueAggregateRollUpHelper.h:43
Definition: readerWriter.h:85
Definition: assembliesReaderWriter.h:31
This class contains helper-only functions and methods that can be used to roll up property data based...
Definition: trueAggregateRollUpHelper.h:27
DtPropertyRollUpFunction myOriginalDefaultRule
Definition: trueAggregateRollUpHelper.h:84
AverageItem(const AverageItem &orig)
Definition: trueAggregateRollUpHelper.h:101
std::set< DtString > myAverageTotals
Definition: trueAggregateRollUpHelper.h:112
RollUpRules myRollUpRules
Definition: trueAggregateRollUpHelper.h:83
DtString weight
Definition: trueAggregateRollUpHelper.h:106
static std::recursive_mutex theRollUpRuleMutex
Definition: trueAggregateRollUpHelper.h:88
bool myRestored
Definition: trueAggregateRollUpHelper.h:90
std::vector< DtMergePathStruct > DtMergePath
Definition: readerWriterFactory.h:181
const char * source
Definition: lz4.h:442
AverageItem()
Definition: trueAggregateRollUpHelper.h:96
std::map< DtString, DtPropertyRollUpFunction > RollUpRules
Definition: readerWriterFactory.h:190
AverageItems myAverageItems
Definition: trueAggregateRollUpHelper.h:111
std::map< std::string, DtRollUpFunction > RollUpRules
Definition: trueAggregateRollUpHelper.h:30
boost::function< bool(const DtReaderWriter *source, DtReaderWriter *destination, const DtMergePath &path, const std::map< std::string, std::string > &attributes)> DtRollUpFunction
Contains makVrf::DtGuiAggregateRollUpManager class.
Definition: guiAggregateRollUpManager.h:23
AverageItem(double t, const DtString &w)
Definition: trueAggregateRollUpHelper.h:98
std::map< std::string, AverageItem > AverageItems
Definition: trueAggregateRollUpHelper.h:109
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34
A list of properties. A DtPropertyInterface object that is a specialized version of DtRwVariableBindi...
Definition: rwProperties.h:122
This class will read ammunition, entity, weapons and assemblies and provide information about them...
Definition: assembliesReaderWriter.h:24
DtReaderWriterPropertyFactory::RollUpRules myOriginalRollUpRules
Definition: trueAggregateRollUpHelper.h:85