24 #include "sdf/sdf_config.h" 30 inline namespace SDF_VERSION_NAMESPACE {
66 public:
Errors Load(
const std::string &_filename);
73 public:
Errors LoadSdfString(
const std::string &_sdf);
86 public: std::string Version()
const;
91 public:
void SetVersion(
const std::string &_version);
95 public: uint64_t WorldCount()
const;
102 public:
const World *WorldByIndex(
const uint64_t _index)
const;
107 public:
bool WorldNameExists(
const std::string &_name)
const;
111 public: uint64_t ModelCount()
const;
118 public:
const Model *ModelByIndex(
const uint64_t _index)
const;
123 public:
bool ModelNameExists(
const std::string &_name)
const;
127 public: uint64_t LightCount()
const;
134 public:
const Light *LightByIndex(
const uint64_t _index)
const;
139 public:
bool LightNameExists(
const std::string &_name)
const;
148 private: RootPrivate *dataPtr =
nullptr;
Provides a description of a light source.
Definition: Light.hh:59
class SDFORMAT_VISIBLE Element
Definition: Element.hh:47
std::shared_ptr< Element > ElementPtr
Definition: Element.hh:51
std::vector< Error > Errors
A vector of Error.
Definition: Types.hh:74
Root class that acts as an entry point to the SDF document model.
Definition: Root.hh:53
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
std::shared_ptr< SDF > SDFPtr
Definition: SDFImpl.hh:50
namespace for Simulation Description Format parser
Definition: AirPressure.hh:25