6 #ifndef __DDS__TopoCreatorCore__ 7 #define __DDS__TopoCreatorCore__ 18 namespace topology_api
30 CTopoCreatorCore(
const std::string& _filename,
const std::string& _schemaFilename =
"");
36 CTopoCreatorCore(std::istream& _stream,
const std::string& _schemaFilename =
"");
43 void save(
const std::string& _filename);
47 void save(std::ostream& _stream);
53 using objectMap_t = std::map<CTopoBase::EType, std::map<std::string, CTopoBase::Ptr_t>>;
60 void save(boost::property_tree::ptree& _pt);
std::shared_ptr< CTopoGroup > Ptr_t
Definition: TopoGroup.h:18
std::shared_ptr< CTopoCollection > Ptr_t
Definition: TopoCollection.h:22
std::shared_ptr< CTopoTask > Ptr_t
Definition: TopoTask.h:28
void save(const std::string &_filename)
Saves topology to the specified XML file.
Definition: TopoCreatorCore.cpp:48
Definition: TopoCreatorCore.h:20
Miscellaneous functions and helpers are located here.
Definition: AgentConnectionManager.h:13
std::shared_ptr< CTopoElement > Ptr_t
Definition: TopoElement.h:21
CTopoCreatorCore()
Constructor.
Definition: TopoCreatorCore.cpp:22
virtual ~CTopoCreatorCore()
Destructor.
Definition: TopoCreatorCore.cpp:36
CTopoGroup::Ptr_t getMainGroup() const
Returns shared pointer to the main group of the topology.
Definition: TopoCreatorCore.cpp:182