Go to the documentation of this file.
23 #include <ignition/utils/ImplPtr.hh>
24 #include <sdf/sdf_config.h>
31 #pragma warning(disable: 4251)
37 inline namespace SDF_VERSION_NAMESPACE {
161 public:
Error(
const ErrorCode _code,
const std::string &_message);
169 const std::string &_filePath);
179 const std::string &_filePath,
int _lineNumber);
188 public: std::string Message()
const;
193 public: std::optional<std::string> FilePath()
const;
198 public:
void SetFilePath(
const std::string &_filePath);
202 public: std::optional<int> LineNumber()
const;
206 public:
void SetLineNumber(
int _lineNumber);
211 public: std::optional<std::string> XmlPath()
const;
217 public:
void SetXmlPath(
const std::string &_xmlPath);
222 public:
explicit operator bool()
const;
231 public:
bool operator==(
const bool _value)
const;
241 IGN_UTILS_IMPL_PTR(dataPtr)
@ POSE_RELATIVE_TO_CYCLE
The pose relative-to graph contains a cycle.
@ URI_LOOKUP
A error occured while trying to resolve a URI.
@ NESTED_MODELS_UNSUPPORTED
Indicates that a DOM object tried to read a nested model.
@ ATTRIBUTE_MISSING
Indicates that a required SDF attribute is missing.
@ STRING_READ
Indicates that reading an SDF string failed.
namespace for Simulation Description Format parser
Definition: Actor.hh:33
@ JOINT_PARENT_LINK_INVALID
A joint has an invalid parent link.
@ POSE_RELATIVE_TO_GRAPH_ERROR
The pose relative-to graph has an internal error.
@ URI_INVALID
A URI is invalid.
@ ELEMENT_MISSING
Indicates that a required SDF element is missing.
@ JOINT_PARENT_SAME_AS_CHILD
A joint has the same link specified as parent and child.
ErrorCode
Definition: Error.hh:46
@ FRAME_ATTACHED_TO_INVALID
The frame attached-to value does not match the name of an existing frame in the current scope.
@ ELEMENT_INCORRECT_TYPE
Indicates that an incorrect SDF element type was encountered.
@ JOINT_CHILD_LINK_INVALID
A joint has an invalid child link.
@ LINK_INERTIA_INVALID
A link has invalid inertia.
#define SDFORMAT_VISIBLE
Definition: system_util.hh:41
@ FILE_READ
Indicates that reading an SDF file failed.
@ VERSION_DEPRECATED
The provided version has been deprecated or it is pre-versioning.
@ MODEL_CANONICAL_LINK_INVALID
A model with an invalid canonical link.
@ ELEMENT_DEPRECATED
This error indicates that an SDF element is deprecated.
@ FRAME_ATTACHED_TO_GRAPH_ERROR
The frame attached-to graph has an internal error.
@ MODEL_WITHOUT_LINK
A model without a link.
@ DUPLICATE_NAME
A duplicate name was found for an element where unique names are required.
@ ATTRIBUTE_INVALID
This error indicates that an SDF attribute is invalid.
@ RESERVED_NAME
A reserved name was used in an entity name attribute.
@ FRAME_ATTACHED_TO_CYCLE
The frame attached-to graph contains a cycle.
@ ELEMENT_INVALID
This error indicates that an SDF element is invalid.
@ MODEL_PLACEMENT_FRAME_INVALID
The specified placement frame is invalid.
@ ATTRIBUTE_INCORRECT_TYPE
Indicates an attribute was included that is not part of the sdf spec.
@ DIRECTORY_NONEXISTANT
A filesystem directory does not exist.
@ MERGE_INCLUDE_UNSUPPORTED
Merge include is unspported for the type of entity being included.
@ POSE_RELATIVE_TO_INVALID
The pose relative-to value does not match the name of an existing frame in the current scope.
std::ostream & operator<<(std::ostream &os, ParamStreamer< T > s)
Definition: Param.hh:83
@ ATTRIBUTE_DEPRECATED
This error indicates that an SDF attribute is deprecated.