Go to the documentation of this file.
21 #include <ignition/utils/ImplPtr.hh>
33 inline namespace SDF_VERSION_NAMESPACE {
66 public:
Errors Load(
const std::string &_filename);
75 const std::string &_filename,
const ParserConfig &_config);
82 public:
Errors LoadSdfString(
const std::string &_sdf);
90 public:
Errors LoadSdfString(
112 public: std::string Version()
const;
117 public:
void SetVersion(
const std::string &_version);
121 public: uint64_t WorldCount()
const;
128 public:
const World *WorldByIndex(
const uint64_t _index)
const;
135 public:
World *WorldByIndex(
const uint64_t _index);
140 public:
bool WorldNameExists(
const std::string &_name)
const;
150 public:
void SetModel(
const sdf::Model &_model);
160 public:
void SetLight(
const sdf::Light &_light);
170 public:
void SetActor(
const sdf::Actor &_actor);
187 public:
void ClearWorlds();
201 public:
Errors UpdateGraphs();
210 const OutputConfig &_config = OutputConfig::GlobalConfig())
const;
213 IGN_UTILS_UNIQUE_IMPL_PTR(dataPtr)
This class contains configuration options for the libsdformat parser.
Definition: ParserConfig.hh:84
Provides a description of an actor.
Definition: Actor.hh:191
namespace for Simulation Description Format parser
Definition: Actor.hh:34
Provides a description of a light source.
Definition: Light.hh:63
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:106
#define SDFORMAT_VISIBLE
Definition: system_util.hh:25
class IGNITION_SDFORMAT_VISIBLE Element
Definition: Element.hh:50
std::shared_ptr< SDF > SDFPtr
Definition: SDFImpl.hh:52
Root class that acts as an entry point to the SDF document model.
Definition: Root.hh:56
This class contains configuration options for SDF output.
Definition: OutputConfig.hh:58
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54