|
libosmscout 1.1.1
|
#include <libosmscout/include/osmscout/routing/RouteDescription.h>
Public Member Functions | |
| Node (DatabaseId database, size_t currentNodeIndex, const std::vector< ObjectFileRef > &objects, const ObjectFileRef &pathObject, size_t targetNodeIndex) | |
| size_t | GetCurrentNodeIndex () const |
| const std::vector< ObjectFileRef > & | GetObjects () const |
| const std::list< DescriptionRef > & | GetDescriptions () const |
| bool | HasPathObject () const |
| DatabaseId | GetDatabaseId () const |
| DBFileOffset | GetDBFileOffset () const |
| ObjectFileRef | GetPathObject () const |
| size_t | GetTargetNodeIndex () const |
| Distance | GetDistance () const |
| Duration | GetTime () const |
| GeoCoord | GetLocation () const |
| bool | HasDescription (const char *name) const |
| DescriptionRef | GetDescription (const char *name) const |
| void | SetDistance (Distance distance) |
| void | SetTime (const Timestamp::duration &duration) |
| void | SetLocation (const GeoCoord &coord) |
| void | AddDescription (const char *name, const DescriptionRef &description) |
| osmscout::RouteDescription::Node::Node | ( | DatabaseId | database, |
| size_t | currentNodeIndex, | ||
| const std::vector< ObjectFileRef > & | objects, | ||
| const ObjectFileRef & | pathObject, | ||
| size_t | targetNodeIndex ) |
| void osmscout::RouteDescription::Node::AddDescription | ( | const char * | name, |
| const DescriptionRef & | description ) |
|
inline |
|
inline |
|
inline |
| DescriptionRef osmscout::RouteDescription::Node::GetDescription | ( | const char * | name | ) | const |
|
inline |
Return a list of descriptions attached to the current node
|
inline |
Distance from the start of the route.
|
inline |
Location (latitude,longitude) of the node
|
inline |
Return the objects that intersect at the current node index.
|
inline |
Return the path object that connects the current node to the next node.
|
inline |
The the index of the target node on the path that is the next node on the route.
|
inline |
Time from the start of the route in h.
| bool osmscout::RouteDescription::Node::HasDescription | ( | const char * | name | ) | const |
|
inline |
There exists a object/path from the current node to the next node in the route.
| void osmscout::RouteDescription::Node::SetDistance | ( | Distance | distance | ) |
| void osmscout::RouteDescription::Node::SetLocation | ( | const GeoCoord & | coord | ) |
| void osmscout::RouteDescription::Node::SetTime | ( | const Timestamp::duration & | duration | ) |