A generic xml writer for motions in the mmm dataformat.
More...
#include <MotionWriterXML.h>
|
static void | replaceAndWriteMotions (MMM::MotionPtr motion, MMM::MotionList motions, const std::string &motionFilePath) |
|
static std::string | toXMLString (MotionPtr motion, const std::string &path=std::string()) |
|
static std::string | toXMLString (MotionList motion, const std::string &path=std::string()) |
|
static void | writeMotion (MotionPtr motion, const std::string &path) |
|
static void | writeMotion (MotionList motion, const std::string &path) |
|
A generic xml writer for motions in the mmm dataformat.
◆ replaceAndWriteMotions()
void MotionWriterXML::replaceAndWriteMotions |
( |
MMM::MotionPtr |
motion, |
|
|
MMM::MotionList |
motions, |
|
|
const std::string & |
motionFilePath |
|
) |
| |
|
static |
Write multiple motions in one xml document at the given path. If occured, a motion with the same name as the given motion will be replaced by it.
◆ toXMLString() [1/2]
std::string MotionWriterXML::toXMLString |
( |
MotionPtr |
motion, |
|
|
const std::string & |
path = std::string() |
|
) |
| |
|
static |
Write a motion to an mmm dataformat (xml) string. The path can be stated to make a relative model path.
◆ toXMLString() [2/2]
std::string MotionWriterXML::toXMLString |
( |
MotionList |
motion, |
|
|
const std::string & |
path = std::string() |
|
) |
| |
|
static |
Write multiple motions in one mmm dataformat (xml) string. The path can be stated to make a relative model path.
◆ writeMotion() [1/2]
void MotionWriterXML::writeMotion |
( |
MotionPtr |
motion, |
|
|
const std::string & |
path |
|
) |
| |
|
static |
Write a motion to an xml document at the given path.
◆ writeMotion() [2/2]
void MotionWriterXML::writeMotion |
( |
MotionList |
motion, |
|
|
const std::string & |
path |
|
) |
| |
|
static |
Write multiple motions in one xml document at the given path.
The documentation for this class was generated from the following files:
- /common/homes/students/jenkins1/jenkins-workspace/pc081/workspace/mmmcore/DISTRIB_CODENAME/bionic/source/MMM/Motion/MotionWriterXML.h
- /common/homes/students/jenkins1/jenkins-workspace/pc081/workspace/mmmcore/DISTRIB_CODENAME/bionic/source/MMM/Motion/MotionWriterXML.cpp