93 std::map<std::string, PositionVector>& geoms);
111 bool report(
const std::string& result);
119 std::map<std::string, PositionVector>&
myGeoms;
152 const std::string& file,
153 std::map<std::string, PositionVector>& geoms,
154 std::map<std::string, std::string>& streetNames);
170 bool report(
const std::string& result);
184 std::map<std::string, PositionVector>&
myGeoms;
235 std::string
getStreetNameFromIDs(
const std::string& regionalID,
const std::string& localID)
const;
280 bool report(
const std::string& result);
318 NamesHandler(
const std::string& file, std::map<std::string, std::string>& streetNames);
334 bool report(
const std::string& result);
382 bool report(
const std::string& result);
443 bool report(
const std::string& result);
494 bool report(
const std::string& result);
512 static double readVersion(
const std::string& line,
const std::string& file);
513 static int readPrefixedInt(
const std::string& s,
const std::string& prefix,
int fallBack = 0);
514 static time_t
readTimeRec(
const std::string& start,
const std::string& duration);
515 static time_t
readDate(
const std::string& yyyymmdd);
Interface definition for a class which retrieves lines from a LineHandler.
A container for districts.
Storage for edges, including some functionality operating on multiple edges.
Instance responsible for building networks.
Container for nodes during the netbuilding process.
A container for traffic light definitions and built programs.
A storage for available edgeTypes of edges.
Imports prohibitions regarding connectivity.
ConnectedLanesHandler(const ConnectedLanesHandler &)
Invalidated copy constructor.
ConnectedLanesHandler & operator=(const ConnectedLanesHandler &)
Invalidated assignment operator.
bool report(const std::string &result)
Parsing method.
~ConnectedLanesHandler()
Destructor.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
Importer of edges stored in unsplit elmar format.
@ EXTENDED_NUMBER_OF_LANES
std::vector< int > myColumns
the version number of the edge file being parsed
~EdgesHandler()
Destructor.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
double myVersion
version number of current file
std::string getStreetNameFromIDs(const std::string ®ionalID, const std::string &localID) const
build the street name for the given ids
std::map< std::string, std::string > & myStreetNames
Previously read streat names (non-const because operate[] is more convenient)
const std::string myFile
the file being parsed
static const int MISSING_COLUMN
std::string getColumn(const StringTokenizer &st, ColumnName name, const std::string fallback="")
EdgesHandler(const EdgesHandler &)
Invalidated copy constructor.
bool myTryIgnoreNodePositions
Whether node positions shall not be added to the edge's geometry.
NBTypeCont & myTypeCont
The type container to retrieve type info from.
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
EdgesHandler & operator=(const EdgesHandler &)
Invalidated assignment operator.
bool report(const std::string &result)
Parsing method.
std::map< std::string, PositionVector > & myGeoms
Previously read edge geometries (manipulated during use)
Importer of street names in DLRNavteq's (aka elmar) format.
NamesHandler & operator=(const NamesHandler &)
Invalidated assignment operator.
bool report(const std::string &result)
Parsing method.
std::map< std::string, std::string > & myStreetNames
The container for storing read names.
NamesHandler(const NamesHandler &)
Invalidated copy constructor.
~NamesHandler()
Destructor.
Importer of nodes stored in unsplit elmar format.
std::map< std::string, PositionVector > & myGeoms
A container for parsed geometries.
~NodesHandler()
Destructor.
bool report(const std::string &result)
Parsing method.
NodesHandler & operator=(const NodesHandler &)
Invalidated assignment operator.
NodesHandler(const NodesHandler &)
Invalidated copy constructor.
Imports prohibitions regarding connectivity.
time_t myConstructionTime
ProhibitionHandler(const ProhibitionHandler &)
Invalidated copy constructor.
NBEdgeCont & myEdgeCont
The edge container to store loaded edges into.
bool report(const std::string &result)
Parsing method.
ProhibitionHandler & operator=(const ProhibitionHandler &)
Invalidated assignment operator.
~ProhibitionHandler()
Destructor.
Importer of street names in DLRNavteq's (aka elmar) format.
NBDistrictCont & myDistrictCont
~TimeRestrictionsHandler()
Destructor.
time_t myConstructionTime
The date for which to build the network (in case some edges are still under construction)
int myConstructionEntries
TimeRestrictionsHandler & operator=(const TimeRestrictionsHandler &)
Invalidated assignment operator.
bool report(const std::string &result)
Parsing method.
NBEdgeCont & myEdgeCont
The edge container.
TimeRestrictionsHandler(const TimeRestrictionsHandler &)
Invalidated copy constructor.
Importer of traffic lights stored in DLRNavteq's (aka elmar) format.
NBNodeCont & myNodeCont
The node container to get the referenced nodes from.
~TrafficlightsHandler()
Destructor.
TrafficlightsHandler & operator=(const TrafficlightsHandler &)
Invalidated assignment operator.
NBTrafficLightLogicCont & myTLLogicCont
The traffic lights container to add built tls to.
NBEdgeCont & myEdgeCont
The edge container to get the referenced edges from.
TrafficlightsHandler(const TrafficlightsHandler &)
Invalidated copy constructor.
bool report(const std::string &result)
Parsing method.
Importer for networks stored in Elmar's format.
static double readVersion(const std::string &line, const std::string &file)
static time_t readTimeRec(const std::string &start, const std::string &duration)
static int readPrefixedInt(const std::string &s, const std::string &prefix, int fallBack=0)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given dlr-navteq (aka Elmar-fomat) folder.
static const std::string GEO_SCALE
scaling factor for geo coordinates (DLRNavteq format uses this to increase floating point precisions)
static const std::string UNDEFINED
magic value for undefined stuff
static time_t readDate(const std::string &yyyymmdd)
static bool keepLength
decides whether the edge length of the input format should be used
A storage for options typed value containers)