KOSMIndoorRouting::RoutingProfile

Search for usage in LXR

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
 
RoutingProfileoperator= (const RoutingProfile &)
 
RoutingProfileoperator= (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

KOSMIndoorRouting::AreaFlags KOSMIndoorRouting::RoutingProfile::flags
readwrite

Definition at line 25 of file routingprofile.h.

Constructor & Destructor Documentation

◆ RoutingProfile()

RoutingProfile::RoutingProfile ( )
explicit

Definition at line 22 of file routingprofile.cpp.

Member Function Documentation

◆ cost()

float RoutingProfile::cost ( KOSMIndoorRouting::AreaType area) const
nodiscard

Cost factors (>= 1.0) for each area type that is included in the search.

Definition at line 62 of file routingprofile.cpp.

◆ flags()

AreaFlags RoutingProfile::flags ( ) const
nodiscard

Area types that should be included in the search.

Definition at line 51 of file routingprofile.cpp.

◆ operator==()

bool RoutingProfile::operator== ( const RoutingProfile & other) const
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 Sat Dec 21 2024 17:06:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.