50 <<
"\n\n ERROR: The requested condition with tokenName = " << condNameVal
51 <<
"\n does not exists in the operand token vector." 52 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" << std::endl;
71 <<
"\n\n ERROR: The requested condition with tokenNumber = " << condNumberVal
72 <<
"\n does not exists in the operand token vector." 73 <<
"\n Returning zero pointer for getCombinationsInCond\n\n" << std::endl;
90 <<
"\n\n ERROR: The requested condition with name = " << condNameVal
91 <<
"\n does not exists in the operand token vector." 92 <<
"\n Returning false for getConditionResult\n\n" << std::endl;
121 myCout <<
"GlobalObjectMap: print " << std::endl;
123 myCout <<
" Algorithm name: " <<
m_algoName << std::endl;
129 myCout <<
" Operand token vector size: " << operandTokenVectorSize;
131 if (operandTokenVectorSize == 0) {
132 myCout <<
" - not properly initialized! " << std::endl;
137 for (
int i = 0;
i < operandTokenVectorSize; ++
i) {
149 myCout <<
" conditions: " << std::endl;
151 std::vector<CombinationsInCond>::const_iterator itVVV;
159 myCout <<
" Condition " << condName <<
" evaluated to " << condResult
162 myCout <<
" List of combinations passing all requirements for this condition:" 167 if ((*itVVV).empty()) {
171 CombinationsInCond::const_iterator itVV;
172 for(itVV = (*itVVV).begin(); itVV != (*itVVV).end(); itVV++) {
176 std::copy((*itVV).begin(), (*itVV).end(),
177 std::ostream_iterator<int> (myCout,
" "));
void print(std::ostream &myCout) const
print the full object map
void reset()
reset the object map
std::vector< GlobalLogicParser::OperandToken > m_operandTokenVector
const bool getConditionResult(const std::string &condNameVal) const
return the result for the condition condNameVal
const CombinationsInCond * getCombinationsInCond(const std::string &condNameVal) const
return all the combinations passing the requirements imposed in condition condNameVal ...
std::vector< CombinationsInCond > m_combinationVector
std::vector< SingleCombInCond > CombinationsInCond
all the object combinations evaluated to true in the condition