/* * InstrumentInfo.cc * * Created on: Oct 8, 2014 * Author: m.mazel */ #include "InstrumentInfo.hh" namespace AMDA { namespace Info { std::ostream& operator<<(std::ostream& out, const InstrumentInfo& ii){ out << "[InstrumentInfo]" << std::endl; out << "{"<(key,value)) std::vector> InstrumentInfo::getInfoMap() { std::vector> infoMap; //push all info PUSHINFO(infoMap, INSTRUMENT_ID, getId()); PUSHINFO(infoMap, INSTRUMENT_NAME, getName()); PUSHINFO(infoMap, INSTRUMENT_DESC, getDescription()); PUSHINFO(infoMap, INSTRUMENT_URL, getUrl()); PUSHINFO(infoMap, INSTRUMENT_MEAS, getMeasurement()); PUSHINFO(infoMap, INSTRUMENT_PI, getPi()); PUSHINFO(infoMap, INSTRUMENT_TYPE, getInstrumentType()); return infoMap; } } /* namespace Info */ } /* namespace AMDA */