6 #ifndef __DDS__TopologyParserXML__ 7 #define __DDS__TopologyParserXML__ 16 #include <boost/property_tree/ptree.hpp> 35 void parse(
const std::string& _fileName,
TaskGroupPtr_t _main,
bool _xmlValidationDisabled =
false);
39 bool isValid(
const std::string& _fileName,
bool _xmlValidationDisabled =
false);
43 void PrintPropertyTree(
const std::string& _path,
const boost::property_tree::ptree& _pt)
const;
CTopologyParserXML()
Constructor.
Definition: TopologyParserXML.cpp:46
Definition: dds-agent/src/AgentConnectionManager.h:18
Definition: TopologyParserXML.h:22
bool isValid(const std::string &_fileName, bool _xmlValidationDisabled=false)
Validate provided XML file against XSD using xmllint.
Definition: TopologyParserXML.cpp:54
virtual ~CTopologyParserXML()
Destructor.
Definition: TopologyParserXML.cpp:50
void parse(const std::string &_fileName, TaskGroupPtr_t _main, bool _xmlValidationDisabled=false)
Read topology from specified XML file.
Definition: TopologyParserXML.cpp:94
std::shared_ptr< CTaskGroup > TaskGroupPtr_t
Definition: TaskGroup.h:55