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