Loading...
Searching...
No Matches
parser.hh File Reference
#include <string>
#include "sdf/SDFImpl.hh"
#include "sdf/system_util.hh"
Include dependency graph for parser.hh:

Go to the source code of this file.

Namespaces

namespace  sdf
 namespace for Simulation Description Format parser

Functions

SDFORMAT_VISIBLE void sdf::addNestedModel (ElementPtr _sdf, ElementPtr _includeSDF)
SDFORMAT_VISIBLE bool sdf::convertFile (const std::string &_filename, const std::string &_version, SDFPtr _sdf)
 Convert an SDF file to a specific SDF version.
SDFORMAT_VISIBLE bool sdf::convertString (const std::string &_sdfString, const std::string &_version, SDFPtr _sdf)
 Convert an SDF string to a specific SDF version.
SDFORMAT_VISIBLE std::string sdf::getModelFilePath (const std::string &_modelDirPath)
 Get the file path to the model file.
SDFORMAT_VISIBLE bool sdf::init (SDFPtr _sdf)
 Init based on the installed sdf_format.xml file.
SDFORMAT_VISIBLE bool sdf::initFile (const std::string &_filename, ElementPtr _sdf)
 Initialize an SDFElement interface using a file.
SDFORMAT_VISIBLE bool sdf::initFile (const std::string &_filename, SDFPtr _sdf)
 Initialize the SDF interface using a file.
SDFORMAT_VISIBLE bool sdf::initString (const std::string &_xmlString, SDFPtr _sdf)
 Initialize the SDF interface using a string.
SDFORMAT_VISIBLE sdf::SDFPtr sdf::readFile (const std::string &_filename)
 Populate the SDF values from a file.
SDFORMAT_VISIBLE sdf::SDFPtr sdf::readFile (const std::string &_filename, Errors &_errors)
 Populate the SDF values from a file.
SDFORMAT_VISIBLE bool sdf::readFile (const std::string &_filename, SDFPtr _sdf)
 Populate the SDF values from a file.
SDFORMAT_VISIBLE bool sdf::readFile (const std::string &_filename, SDFPtr _sdf, Errors &_errors)
 Populate the SDF values from a file.
SDFORMAT_VISIBLE bool sdf::readString (const std::string &_xmlString, ElementPtr _sdf)
 Populate the SDF values from a string.
SDFORMAT_VISIBLE bool sdf::readString (const std::string &_xmlString, ElementPtr _sdf, Errors &_errors)
 Populate the SDF values from a string.
SDFORMAT_VISIBLE bool sdf::readString (const std::string &_xmlString, SDFPtr _sdf)
 Populate the SDF values from a string.
SDFORMAT_VISIBLE bool sdf::readString (const std::string &_xmlString, SDFPtr _sdf, Errors &_errors)
 Populate the SDF values from a string.
SDFORMAT_VISIBLE bool sdf::recursiveSameTypeUniqueNames (sdf::ElementPtr _elem)
 Check that all sibling elements of the same type have unique names.