#include "UM.h" #include "STFMockInstance.hpp" namespace modellib { bool UM::find(const std::string &r) const { return std::find_if(ramesInfo.begin(), ramesInfo.end(), [&](auto& rc){return STFMockInstance::rames[rc.id]->getNumeroEF() == r;}) != ramesInfo.end(); } nlohmann::json UM::to_json(){ nlohmann::json json = nlohmann::json::object(); //json["numTrain"] = lignes; return json; } }