18 #ifndef SDF_PARSER_CONFIG_HH_
19 #define SDF_PARSER_CONFIG_HH_
26 #include <gz/utils/ImplPtr.hh>
36 inline namespace SDF_VERSION_NAMESPACE
52 class ParserConfigPrivate;
87 public:
using SchemeToPathMap =
88 std::map<std::string, std::vector<std::string> >;
101 public:
const std::function<std::string(
const std::string &)> &
102 FindFileCallback()
const;
117 public:
void SetFindCallback(
118 std::function<std::string(
const std::string &)> _cb);
122 public:
const SchemeToPathMap &URIPathMap()
const;
129 public:
void AddURIPath(
const std::string &_uri,
const std::string &_path);
153 public:
void ResetDeprecatedElementsPolicy();
170 public:
const std::vector<CustomModelParser> &CustomModelParsers()
const;
175 public:
void URDFSetPreserveFixedJoint(
bool _preserveFixedJoint);
180 public:
bool URDFPreserveFixedJoint()
const;
184 public:
void SetStoreResovledURIs(
bool _resolveURI);
195 public:
void SetStoreResolvedURIs(
bool _resolveURI);
200 public:
bool StoreResolvedURIs()
const;
203 GZ_UTILS_IMPL_PTR(dataPtr)