#include <TopoCreatorCore.h>
◆ CTopoCreatorCore() [1/3]
CTopoCreatorCore::CTopoCreatorCore |
( |
| ) |
|
◆ CTopoCreatorCore() [2/3]
dds::topology_api::CTopoCreatorCore::CTopoCreatorCore |
( |
const std::string & |
_filename, |
|
|
const std::string & |
_schemaFilename = "" |
|
) |
| |
Constructs topology with the specified file and validates against provided schema file.
- Parameters
-
[in] | _filename | Path to the topology file. |
[in] | _schemaFilename | Path to the XSD schema file. |
- Exceptions
-
◆ CTopoCreatorCore() [3/3]
dds::topology_api::CTopoCreatorCore::CTopoCreatorCore |
( |
std::istream & |
_stream, |
|
|
const std::string & |
_schemaFilename = "" |
|
) |
| |
Constructs topology from input stream and validates against provided schema file.
- Parameters
-
[in] | _stream | Input stream. |
[in] | _schemaFilename | Path to the XSD schema file. |
- Exceptions
-
◆ ~CTopoCreatorCore()
CTopoCreatorCore::~CTopoCreatorCore |
( |
| ) |
|
|
virtual |
◆ getMainGroup()
Returns shared pointer to the main group of the topology.
◆ save() [1/2]
void CTopoCreatorCore::save |
( |
const std::string & |
_filename | ) |
|
Saves topology to the specified XML file.
- Parameters
-
[in] | _filename | Path to the topology file. |
◆ save() [2/2]
void CTopoCreatorCore::save |
( |
std::ostream & |
_stream | ) |
|
Writes topology to stream.
- Parameters
-
[in] | _stream | Output stream. |
The documentation for this class was generated from the following files: