marble
WaypointParser.cpp
Go to the documentation of this file.
21 QString WaypointParser::readField<QString>( Field field, const QStringList &fields, const QString &defaultValue ) const {
30 // The default values are suitable for older versions of gosmore (the one shipped with Ubuntu Lucid Lynx)
54 void WaypointParser::addJunctionTypeMapping( const QString &key, RoutingWaypoint::JunctionType value )
88 RoutingWaypoint item( point, junctionType, junctionTypeRaw, roadType, secondsRemaining, roadName );
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
void setLineSeparator(const QString &separator)
The line separator used in the stream passed to parse.
Definition: WaypointParser.cpp:44
RoutingWaypoints parse(QTextStream &stream) const
Parses the given stream and returns the extracted waypoint list.
Definition: WaypointParser.cpp:59
void addJunctionTypeMapping(const QString &key, RoutingWaypoint::JunctionType value)
Associate the given string key with the given junction type.
Definition: WaypointParser.cpp:54
int size() const
void setFieldIndex(Field field, int index)
Associate the zero-based field no index with the given semantic type.
Definition: WaypointParser.cpp:39
bool isEmpty() const
QString trimmed() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
void setFieldSeparator(const QChar &separator)
The field separator.
Definition: WaypointParser.cpp:49
void push_back(const T &value)
QString readAll()
int size() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.