KOSMIndoorRouting::RoutingProfile
KOSMIndoorRouting::RoutingProfile Class Reference
#include <routingprofile.h>
Properties | |
KOSMIndoorRouting::AreaFlags | flags |
Public Member Functions | |
RoutingProfile (const RoutingProfile &) | |
RoutingProfile (RoutingProfile &&) noexcept | |
Q_INVOKABLE float | cost (KOSMIndoorRouting::AreaType area) const |
AreaFlags | flags () const |
RoutingProfile & | operator= (const RoutingProfile &) |
RoutingProfile & | operator= (RoutingProfile &&) noexcept |
bool | operator== (const RoutingProfile &other) const |
Q_INVOKABLE void | setCost (KOSMIndoorRouting::AreaType area, float cost) |
void | setFlags (AreaFlags flags) |
Detailed Description
Routing profile.
That is, cost factors and area types to use/avoid for a RoutingJob run.
Definition at line 22 of file routingprofile.h.
Property Documentation
◆ flags
|
readwrite |
Definition at line 25 of file routingprofile.h.
Constructor & Destructor Documentation
◆ RoutingProfile()
|
explicit |
Definition at line 22 of file routingprofile.cpp.
Member Function Documentation
◆ cost()
|
nodiscard |
Cost factors (>= 1.0) for each area type that is included in the search.
Definition at line 62 of file routingprofile.cpp.
◆ flags()
|
nodiscard |
Area types that should be included in the search.
Definition at line 51 of file routingprofile.cpp.
◆ operator==()
|
nodiscard |
Definition at line 46 of file routingprofile.cpp.
◆ setCost()
void RoutingProfile::setCost | ( | KOSMIndoorRouting::AreaType | area, |
float | cost ) |
Definition at line 67 of file routingprofile.cpp.
◆ setFlags()
void RoutingProfile::setFlags | ( | AreaFlags | flags | ) |
Definition at line 56 of file routingprofile.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:55 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.