22 #include <sdf/sdf_config.h> 29 #pragma warning(disable: 4251) 35 inline namespace SDF_VERSION_NAMESPACE {
139 public:
Error() =
default;
145 public:
Error(
const ErrorCode _code,
const std::string &_message);
154 public: std::string Message()
const;
159 public:
explicit operator bool()
const;
168 public:
bool operator==(
const bool _value)
const;
175 const sdf::Error &_err)
177 _out <<
"Error Code " 178 <<
static_cast<std::underlying_type<sdf::ErrorCode>::type
>(_err.Code())
179 <<
" Msg: " << _err.Message();
189 #pragma warning(push) 190 #pragma warning(disable: 4251) 192 private: std::string message =
"";
Indicates that a DOM object tried to read a nested model.
A error occured while trying to resolve a URI.
An unspecified sensor type.
ErrorCode
Set of error codes.
Definition: Error.hh:44
The frame attached-to value does not match the name of an existing frame in the current scope...
A joint has the same link specified as parent and child.
Indicates that a required SDF attribute is missing.
The pose relative-to graph contains a cycle.
The frame attached-to graph contains a cycle.
The pose relative-to value does not match the name of an existing frame in the current scope...
Indicates that a required SDF element is missing.
Indicates that reading an SDF file failed.
The pose relative-to graph has an internal error.
This error indicates that an SDF attribute is deprecated.
A joint has an invalid parent link.
Indicates that reading an SDF string failed.
This error indicates that an SDF element is invalid.
friend std::ostream & operator<<(std::ostream &_out, const sdf::Error &_err)
Output operator for an error.
Definition: Error.hh:174
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:48
A filesystem directory does not exist.
This error indicates that an SDF element is deprecated.
This error indicates that an SDF attribute is invalid.
The frame attached-to graph has an internal error.
A link has invalid inertia.
A duplicate name was found for an element where unique names are required.
namespace for Simulation Description Format parser
Definition: Actor.hh:32
Indicates that an incorrect SDF element type was encountered.
A reserved name was used in an entity name attribute.
A joint has an invalid child link.
A model with an invalid canonical link.