Class for saving rw::proximity::ProximitySetup to XML.
More...
#include <DOMProximitySetupSaver.hpp>
Class for saving rw::proximity::ProximitySetup to XML.
Implemented using RobWork DOM parser abstraction.
◆ createDOMDocument()
Creates DOMDocument for prox.
- Exceptions
-
- Parameters
-
prox | [in] ProximitySetup |
parser | [in] DOMParser to use |
- Returns
- DOMDocument containing ProximitySetup.
◆ save() [1/2]
Saves the proximity setup prox to a file named filename.
- Exceptions
-
- Parameters
-
prox | [in] ProximitySetup to save. |
filename | [in] Filename |
◆ save() [2/2]
Saves proximity setup patterns of a ProximitySetup as children to parent.
Constructs element representing the include or exclude patterns defined in the proximity setup.
- Exceptions
-
- Parameters
-
prox | [in] ProximitySetup to save. |
parent | [out] DOMDocument which should contain the ProximitySetup representation |
◆ write()
Writes the proximity setup prox to outstream.
- Parameters
-
prox | [in] Proximity setup to save. |
outstream | [in] Output stream |
The documentation for this class was generated from the following file:
- DOMProximitySetupSaver.hpp