41 edm::LogError(
"GlobalObjectMap") <<
"\n\n ERROR: The requested condition with tokenName = " << condNameVal
42 <<
"\n does not exists in the operand token vector." 43 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" 58 edm::LogError(
"GlobalObjectMap") <<
"\n\n ERROR: The requested condition with tokenNumber = " << condNumberVal
59 <<
"\n does not exists in the operand token vector." 60 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" 74 edm::LogError(
"GlobalObjectMap") <<
"\n\n ERROR: The requested condition with name = " << condNameVal
75 <<
"\n does not exists in the operand token vector." 76 <<
"\n Returning false for getConditionResult\n\n" 99 myCout <<
"GlobalObjectMap: print " << std::endl;
101 myCout <<
" Algorithm name: " <<
m_algoName << std::endl;
107 myCout <<
" Operand token vector size: " << operandTokenVectorSize;
109 if (operandTokenVectorSize == 0) {
110 myCout <<
" - not properly initialized! " << std::endl;
114 for (
int i = 0;
i < operandTokenVectorSize; ++
i) {
122 myCout <<
" conditions: " << std::endl;
124 std::vector<CombinationsInCond>::const_iterator itVVV;
130 myCout <<
" Condition " << condName <<
" evaluated to " << condResult << std::endl;
132 myCout <<
" List of combinations passing all requirements for this condition:" << std::endl;
136 if ((*itVVV).empty()) {
139 CombinationsInCond::const_iterator itVV;
140 for (itVV = (*itVVV).begin(); itVV != (*itVVV).end(); itVV++) {
143 std::copy((*itVV).begin(), (*itVV).end(), std::ostream_iterator<int>(myCout,
" "));
void print(std::ostream &myCout) const
print the full object map
Log< level::Error, false > LogError
const CombinationsInCond * getCombinationsInCond(const std::string &condNameVal) const
return all the combinations passing the requirements imposed in condition condNameVal ...
const bool getConditionResult(const std::string &condNameVal) const
return the result for the condition condNameVal
void reset()
reset the object map
std::vector< GlobalLogicParser::OperandToken > m_operandTokenVector
std::vector< CombinationsInCond > m_combinationVector
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition