84 private: RootPrivate *dataPtr =
nullptr;
const World * WorldByIndex(const uint64_t _index) const
Get a world based on an index.
Errors Load(const std::string &_filename)
Parse the given SDF file, and generate objects based on types specified in the SDF file.
std::string Version() const
Get the SDF version specified in the parsed file or SDF pointer.
bool WorldNameExists(const std::string &_name) const
Get whether a world name exists.
Root()
Default constructor.
void SetVersion(const std::string &_version)
Set the SDF version string.
uint64_t WorldCount() const
Get the number of worlds.
namespace for Simulation Description Format parser
Definition Console.hh:36
std::vector< Error > Errors
A vector of Error.
Definition Types.hh:69
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition system_util.hh:48