30 class ObjectIndex_hashXML:
34 ObjectIndex_hashXML(
const std::string& xmlfile );
35 ObjectIndex_hashXML(
const std::shared_ptr<UniXML>& xml );
36 virtual ~ObjectIndex_hashXML();
39 virtual const uniset::ObjectInfo* getObjectInfo(
const std::string& name )
const noexcept override;
44 virtual std::ostream& printMap( std::ostream& os )
const noexcept override;
45 friend std::ostream& operator<<(std::ostream& os, ObjectIndex_hashXML& oi );
48 void build(
const std::shared_ptr<UniXML>& xml );
49 void read_section(
const std::shared_ptr<UniXML>& xml,
const std::string& sec );
50 void read_nodes(
const std::shared_ptr<UniXML>& xml,
const std::string& sec );
53 typedef std::unordered_map<uniset::ObjectId, uniset::ObjectInfo> MapObjects;
56 typedef std::unordered_map<std::string, uniset::ObjectId> MapObjectKey;