17#ifndef ObjectIndex_hashXML_H_
18#define ObjectIndex_hashXML_H_
20#include <unordered_map>
22#include "ObjectIndex.h"
39 virtual const uniset::ObjectInfo* getObjectInfo(
const std::string& name )
const noexcept override;
44 virtual std::ostream& printMap( std::ostream& os )
const noexcept override;
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;
Definition ObjectIndex_hashXML.h:32
virtual std::string getTextName(const uniset::ObjectId id) const noexcept override
Definition ObjectIndex_hashXML.cc:77
virtual std::string getMapName(const uniset::ObjectId id) const noexcept override
Definition ObjectIndex_hashXML.cc:63
virtual uniset::ObjectId getIdByName(const std::string &name) const noexcept override
Definition ObjectIndex_hashXML.cc:49
Definition ObjectIndex.h:32
Definition Calibration.h:27
long ObjectId
Definition UniSetTypes_i.idl:30
Definition UniSetTypes.h:156