14 #ifndef GEOMTOOLS_ID_MGR_H 15 #define GEOMTOOLS_ID_MGR_H 1 65 bool has_subaddress(
const std::string & a_label,
int a_count = 1)
const;
158 void dump(std::ostream & = std::clog)
const;
172 virtual void print_tree(std::ostream & out_ = std::clog,
186 std::string _category_;
189 std::string _inherits_;
190 std::string _extends_;
191 bool _final_category_;
192 std::vector<std::string> _ancestors_;
193 std::vector<std::string> _extends_by_;
194 std::vector<std::string> _addresses_;
195 std::vector<int> _nbits_;
244 void load(
const std::string & filename_);
253 virtual void print_tree(std::ostream & out_ = std::clog,
272 bool inherits(
const geom_id & id_,
const std::string & category_)
const;
275 bool has(
const geom_id &,
const std::string & what_)
const;
284 int get(
const geom_id &,
const std::string & what_)
const;
287 void set(
geom_id &,
const std::string & what_, uint32_t value_)
const;
309 uint32_t address_)
const;
316 const std::vector<std::string> & argv_,
317 std::ostream & out_ = std::clog)
const;
339 const std::string & id_info_,
340 const std::vector<uint32_t> & items_index_)
const;
344 const std::string & id_info_,
375 std::string _world_category_;
376 std::string _plain_category_;
377 std::vector<std::string> _categories_lists_;
393 #endif // GEOMTOOLS_ID_MGR_H
DOCD_CLASS_DECLARATION(my::algo)
Declaration of the OCD support for the my::algo class.
Utilities for logging information.