17 #ifndef _SDF_PARSER_HH_ 18 #define _SDF_PARSER_HH_ 78 bool convertFile(
const std::string &_filename,
const std::string &_version,
88 const std::string &_version,
SDFPtr _sdf);
std::shared_ptr< SDF > SDFPtr
Definition: SDFImpl.hh:44
SDFORMAT_VISIBLE bool readFile(const std::string &_filename, SDFPtr _sdf)
Populate the SDF values from a file.
SDFORMAT_VISIBLE bool init(SDFPtr _sdf)
Init based on the installed sdf_format.xml file.
SDFORMAT_VISIBLE bool initString(const std::string &_xmlString, SDFPtr _sdf)
Initialize the SDF interface using a string.
SDFORMAT_VISIBLE bool initFile(const std::string &_filename, SDFPtr _sdf)
Initialize the SDF interface using a file.
SDFORMAT_VISIBLE bool readString(const std::string &_xmlString, SDFPtr _sdf)
Populate the SDF values from a string.
SDFORMAT_VISIBLE bool convertString(const std::string &_sdfString, const std::string &_version, SDFPtr _sdf)
Convert an SDF string to a specific SDF version.
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
SDFORMAT_VISIBLE void addNestedModel(ElementPtr _sdf, ElementPtr _includeSDF)
namespace for Simulation Description Format parser
Definition: Console.hh:36
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:45
SDFORMAT_VISIBLE bool convertFile(const std::string &_filename, const std::string &_version, SDFPtr _sdf)
Convert an SDF file to a specific SDF version.