initialCommit 4 ans en retard
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user