/* * MissionInfo.cc * * Created on: Oct 8, 2014 * Author: m.mazel */ #include "MissionInfo.hh" namespace AMDA { namespace Info { std::ostream& operator<<(std::ostream& out, const MissionInfo& mi){ out << "[MissionInfo]" << std::endl; out << "{"<(key,value)) std::vector> MissionInfo::getInfoMap() { std::vector> infoMap; //push all info PUSHINFO(infoMap, MISSION_ID, getId()); PUSHINFO(infoMap, MISSION_NAME, getName()); PUSHINFO(infoMap, MISSION_DESC, getDescription()); PUSHINFO(infoMap, MISSION_URL, getUrl()); return infoMap; } } /* namespace Info */ } /* namespace AMDA */