31 #ifndef DATATOOLS_URN_QUERY_SERVICE_H 32 #define DATATOOLS_URN_QUERY_SERVICE_H 40 #include <boost/noncopyable.hpp> 49 class urn_to_path_resolver_service;
50 class dependency_graph;
56 ,
private boost::noncopyable
77 virtual void tree_dump(std::ostream & out = std::clog,
78 const std::string & title =
"",
79 const std::string & indent =
"",
80 bool inherit =
false)
const;
84 const std::string & category_ =
"")
const;
88 const std::string & urn_db_regex_ =
"",
89 const std::string & urn_regex_ =
"",
90 const std::string & urn_category_regex_ =
"",
91 bool clear_ =
true)
const;
98 const std::string & urn_resolver_regex_ =
"",
99 const std::string & urn_regex_ =
"",
100 const std::string & urn_category_regex_ =
"",
101 const std::string & urn_mime_regex_ =
"",
102 bool clear_ =
true)
const;
110 std::string & category_,
112 std::string & path_)
const;
116 std::string & category_,
118 std::string & path_)
const;
121 bool has_db(
const std::string & name_)
const;
142 void remove_db(
const std::string & name_);
161 const std::string & name_);
177 void _build_dependency_graph_();
180 std::set<const urn_db_service*> & processed_dbs_);
185 bool _initialized_ =
false;
189 std::unique_ptr<pimpl_type> _pimpl_;
190 std::unique_ptr<dependency_graph> _dg_ptr_;
199 #endif // DATATOOLS_URN_QUERY_SERVICE_H
#define DATATOOLS_SERVICE_REGISTRATION_INTERFACE(SERVICE_CLASS_NAME)
Definition: base_service.h:152