Co-Simulation/Sumo/sumo-1.7.0/src/microsim/MSVehicle.cpp
// ===========================================================================
// method definitions
// ===========================================================================
/* -------------------------------------------------------------------------
 * methods of MSVehicle::State
 * ----------------------------------------------------------------------- */
method definitions
methods of MSVehicle::State
method definitions methods of MSVehicle :: State
MSVehicle::State::State(const State& state) {
    myPos = state.myPos;
    mySpeed = state.mySpeed;
    myPosLat = state.myPosLat;
    myBackPos = state.myBackPos;
    myPreviousSpeed = state.myPreviousSpeed;
    myLastCoveredDist = state.myLastCoveredDist;
}
MSVehicle :: State :: State ( const State & state ) { myPos = state . myPos ; mySpeed = state . mySpeed ; myPosLat = state . myPosLat ; myBackPos = state . myBackPos ; myPreviousSpeed = state . myPreviousSpeed ; myLastCoveredDist = state . myLastCoveredDist ; }
method definitions
 methods of MSVehicle::State
method definitions methods of MSVehicle :: State