Go to the documentation of this file.
21 #include <ignition/utils/ImplPtr.hh>
25 #include "sdf/sdf_config.h"
31 inline namespace SDF_VERSION_NAMESPACE {
64 public:
Errors Load(
const std::string &_filename);
73 const std::string &_filename,
const ParserConfig &_config);
80 public:
Errors LoadSdfString(
const std::string &_sdf);
88 public:
Errors LoadSdfString(
110 public: std::string Version()
const;
115 public:
void SetVersion(
const std::string &_version);
119 public: uint64_t WorldCount()
const;
126 public:
const World *WorldByIndex(
const uint64_t _index)
const;
131 public:
bool WorldNameExists(
const std::string &_name)
const;
155 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:190
namespace for Simulation Description Format parser
Definition: Actor.hh:33
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:41
std::shared_ptr< SDF > SDFPtr
Definition: SDFImpl.hh:52
SDF Element class.
Definition: Element.hh:73
Root class that acts as an entry point to the SDF document model.
Definition: Root.hh:54
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:54