Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void JunctionReport::writeReport(){
- std::ofstream ofs;
- ofs.open ("Reports.ini", std::ofstream::out | std::ofstream::app);
- boost::property_tree::ptree pt;
- pt.put(this->id+"."+"junctionId",junction->id);
- pt.put(this->id+"."+"timeSlices",junction->getincomingjunctionslightstatus());
- for(i = junction->hasGreenLight.size()-1; i >= 0; i--){
- pt.put(this->id+"."+)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement