22 return STATUS_CODE_NOT_ALLOWED;
27 pXmlElement = pXmlElement->NextSiblingElement(
"tool"))
31 std::string toolName = pXmlElement->Attribute(
"type");
33 if (algorithmToolMap.find(toolName) != algorithmToolMap.end())
35 algorithmToolMap[toolName] = pAlgorithmTool;
36 algorithmToolNameVector.push_back(toolName);
39 return STATUS_CODE_SUCCESS;
static pandora::StatusCode CreateAlgorithmTool(const pandora::Algorithm &algorithm, pandora::TiXmlElement *const pXmlElement, pandora::AlgorithmTool *&pAlgorithmTool)
Create an algorithm tool instance, via one of the algorithm tool factories registered with pandora....
static pandora::StatusCode ProcessAlgorithmToolListToMap(const pandora::Algorithm &algorithm, const pandora::TiXmlHandle &xmlHandle, const std::string &listName, pandora::StringVector &algorithToolNameVector, AlgorithmToolMap &algorithmToolMap)
Process a list of algorithms tools in an xml file, using a map. Idea is for this to go to XmlHelper i...
std::map< std::string, pandora::AlgorithmTool * > AlgorithmToolMap