8 #ifndef __TREECORRELATOR_HPP__
9 #define __TREECORRELATOR_HPP__
16 #include "pugixml.hpp"
29 void parsePlace(pugi::xml_node node, std::string parent,
37 void traverseTree(pugi::xml_node node, std::string parent,
54 void createPlace(std::map<std::string, std::string>& params,
62 void addChild(std::string parent, std::string child,
bool coin,
95 std::vector<std::string>
split_names(std::string name);
std::vector< std::string > split_names(std::string name)
void operator=(TreeCorrelator const &)
the copy constructor
Create place, alter or add existing place to the tree.
Definition: PlaceBuilder.hpp:49
static PlaceBuilder builder
Instance of the PlaceBuilder.
Definition: TreeCorrelator.hpp:85
std::map< std::string, Place * > places_
Definition: TreeCorrelator.hpp:75
XML document walker and parser for TreeCorrelator xml config file.
Definition: TreeCorrelator.hpp:22
Class to handle errors occurring during the execution of the code.
Place * place(std::string name)
A pure abstract class to define a "place" for correlator.
Definition: Places.hpp:24
Singleton class holding map of all places.
Definition: TreeCorrelator.hpp:42
Defines the various places for the TreeCorrelator.
TreeCorrelator()
Definition: TreeCorrelator.hpp:79
static TreeCorrelator * instance
A static instance of the tree correlator.
Definition: TreeCorrelator.hpp:83
void parsePlace(pugi::xml_node node, std::string parent, bool verbose)
void addChild(std::string parent, std::string child, bool coin, bool verbose)
void createPlace(std::map< std::string, std::string > ¶ms, bool verbose)
void traverseTree(pugi::xml_node node, std::string parent, bool verbose)
Defines the various places for the TreeCorrelator.