18 #ifndef SDF_PARSER_CONFIG_HH_ 19 #define SDF_PARSER_CONFIG_HH_ 26 #include <ignition/utils/ImplPtr.hh> 30 #include "sdf/sdf_config.h" 36 inline namespace SDF_VERSION_NAMESPACE
52 class ParserConfigPrivate;
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);
129 public:
void AddURIPath(
const std::string &_uri,
const std::string &_path);
153 public:
const std::vector<CustomModelParser> &CustomModelParsers()
const;
156 IGN_UTILS_IMPL_PTR(dataPtr)
Policy is to treat condition as an error and fail parsing.
std::function< sdf::InterfaceModelPtr(const sdf::NestedInclude &, Errors &)> CustomModelParser
Defines a custom model parser.
Definition: InterfaceElements.hh:129
Ignore condition in favor of best effort parsing.
EnforcementPolicy
Policy to describe how to treat certain conditions when parsing.
Definition: ParserConfig.hh:39
#define SDFORMAT_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system_util.hh:41
Treat condition as a warning and issue to user.
This class contains configuration options for the libsdformat parser.
Definition: ParserConfig.hh:84
std::map< std::string, std::vector< std::string > > SchemeToPathMap
type alias for the map from URI scheme to search directories
Definition: ParserConfig.hh:88
namespace for Simulation Description Format parser
Definition: Actor.hh:33