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