RobWorkProject  24.12.4-
Classes | Public Member Functions | List of all members
XMLTaskSaver Class Reference

Saver for the XML task format, based on Xerces. More...

#include <XMLTaskSaver.hpp>

Inherits TaskSaver.

Classes

class  Initializer
 Utility class which initializes local static variables. More...
 

Public Member Functions

 XMLTaskSaver ()
 Constructor.
 
virtual ~XMLTaskSaver ()
 Destructor.
 
bool save (rwlibs::task::QTask::Ptr task, std::ostream &outstream)
 Save task to output stream. More...
 
bool save (rwlibs::task::CartesianTask::Ptr task, std::ostream &outstream)
 Save task to output stream. More...
 
bool save (rwlibs::task::QTask::Ptr task, const std::string &filename)
 Save task to file. More...
 
bool save (rwlibs::task::CartesianTask::Ptr task, const std::string &filename)
 Save task to file. More...
 
- Public Member Functions inherited from TaskSaver
 TaskSaver ()
 Constructor.
 
virtual ~TaskSaver ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from TaskSaver
typedef rw::core::Ptr< TaskSaverPtr
 Smart pointer type for a TaskSaver.
 

Detailed Description

Saver for the XML task format, based on Xerces.

Please consider using the newer DOMTaskSaver instead.

Member Function Documentation

◆ save() [1/4]

bool save ( rwlibs::task::CartesianTask::Ptr  task,
const std::string &  filename 
)
virtual

Save task to file.

Parameters
task[in] the task to save.
filename[in] the filename to save to.
Returns
true if file was written successfully.

Implements TaskSaver.

◆ save() [2/4]

bool save ( rwlibs::task::CartesianTask::Ptr  task,
std::ostream &  outstream 
)
virtual

Save task to output stream.

Parameters
task[in] the task to write.
outstream[out] the stream to write to.
Returns
true if write was successful.

Implements TaskSaver.

◆ save() [3/4]

bool save ( rwlibs::task::QTask::Ptr  task,
const std::string &  filename 
)
virtual

Save task to file.

Parameters
task[in] the task to save.
filename[in] the filename to save to.
Returns
true if file was written successfully.

Implements TaskSaver.

◆ save() [4/4]

bool save ( rwlibs::task::QTask::Ptr  task,
std::ostream &  outstream 
)
virtual

Save task to output stream.

Parameters
task[in] the task to write.
outstream[out] the stream to write to.
Returns
true if write was successful.

Implements TaskSaver.


The documentation for this class was generated from the following file: