libosmscout
0.1
|
Result of a routing calculation. More...
#include <AbstractRoutingService.h>
Public Member Functions | |
void | AppendSectionLength (int length) |
void | ClearSectionLengths () |
Distance | GetCurrentMaxDistance () const |
Distance | GetOverallDistance () const |
RouteData & | GetRoute () |
const RouteData & | GetRoute () const |
const std::vector< int > & | GetSectionLenghts () const |
RoutingResult () | |
void | SetCurrentMaxDistance (const Distance ¤tMaxDistance) |
void | SetOverallDistance (const Distance &overallDistance) |
bool | Success () const |
Result of a routing calculation.
This object is always returned. In case of an routing error it however may not contain a valid route (route is empty).
TODO: Adapt it to the same style as RoutePointsResult and Co.
|
default |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References osmscout::RouteData::IsEmpty().
Referenced by osmscout::MultiDBRoutingService::CalculateRoute(), and osmscout::SimpleRoutingService::CalculateRouteViaCoords().