Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. void JunctionReport::writeReport(){
  2. std::ofstream ofs;
  3. ofs.open ("Reports.ini", std::ofstream::out | std::ofstream::app);
  4. boost::property_tree::ptree pt;
  5. pt.put(this->id+"."+"junctionId",junction->id);
  6. pt.put(this->id+"."+"timeSlices",junction->getincomingjunctionslightstatus());
  7. for(i = junction->hasGreenLight.size()-1; i >= 0; i--){
  8. pt.put(this->id+"."+)
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement