28 class ObjectIndex_idXML:
32 ObjectIndex_idXML(
const std::string& xmlfile );
33 ObjectIndex_idXML(
const std::shared_ptr<UniXML>& xml );
34 virtual ~ObjectIndex_idXML();
37 virtual const uniset::ObjectInfo* getObjectInfo(
const std::string& name )
const noexcept override;
42 virtual std::ostream& printMap( std::ostream& os )
const noexcept override;
43 friend std::ostream& operator<<(std::ostream& os, ObjectIndex_idXML& oi );
46 void build(
const std::shared_ptr<UniXML>& xml );
47 void read_section(
const std::shared_ptr<UniXML>& xml,
const std::string& sec );
48 void read_nodes(
const std::shared_ptr<UniXML>& xml,
const std::string& sec );
51 typedef std::unordered_map<uniset::ObjectId, uniset::ObjectInfo> MapObjects;
54 typedef std::unordered_map<std::string, uniset::ObjectId> MapObjectKey;