Loader for the XML task format, based on Xerces.
More...
#include <XMLTaskLoader.hpp>
Inherits TaskLoader.
Loader for the XML task format, based on Xerces.
Please consider using the newer DOMTaskLoader instead.
◆ clone()
◆ getCartesianTask()
Get an already loaded CartesianTask.
- Returns
- smart pointer to the CartesianTask, or NULL if no CartesianTask has been loaded.
Implements TaskLoader.
◆ getQTask()
Get an already loaded QTask.
- Returns
- smart pointer to the QTask, or NULL if no QTask has been loaded.
Implements TaskLoader.
◆ getTask()
Get an already loaded Task.
- Returns
- smart pointer to the Task, or NULL if no Task has been loaded.
Implements TaskLoader.
◆ load() [1/2]
void load |
( |
const std::string & |
filename, |
|
|
const std::string & |
schemaFileName = "" |
|
) |
| |
|
virtual |
Load a task from a file.
- Parameters
-
filename | [in] the filename. |
schemaFileName | [in] (optional) a schema describing the layout. |
Implements TaskLoader.
◆ load() [2/2]
void load |
( |
std::istream & |
instream, |
|
|
const std::string & |
schemaFileName = "" |
|
) |
| |
|
virtual |
Load a task from an input stream.
- Parameters
-
instream | [in] the stream to load from. |
schemaFileName | [in] (optional) a schema describing the layout. |
Implements TaskLoader.
The documentation for this class was generated from the following file: