106 void myCharacters(
int element,
const std::string& chars);
129 Lane(
const std::string& _id,
int _idx,
double _v)
140 LaneSet(
const std::string& _id,
const std::vector<Lane>& _lanes,
double _v,
int _pos,
NBNode* _from,
NBNode* _to)
155 Section(
const std::string& _id,
const std::vector<LaneSet*>& _laneSets)
A handler which converts occurring elements and attributes into enums.
Storage for edges, including some functionality operating on multiple edges.
The representation of a single edge during network building.
Instance responsible for building networks.
Container for nodes during the netbuilding process.
Represents a single node (junction) during network building.
A container for traffic light definitions and built programs.
A storage for available edgeTypes of edges.
Handler(const Handler &s)
invalidated copy constructor
Parameterised::Map myParameter
A temporary parameter map.
void myCharacters(int element, const std::string &chars)
Callback method for characters to implement by derived classes.
std::vector< LaneSet * > myCurrentLaneSets
Handler(NBNetBuilder &toFill)
Contructor.
Handler & operator=(const Handler &s)
invalidated assignment operator
std::vector< Lane > myCurrentLanes
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
NBNetBuilder & myNetBuilder
The container to fill.
void myEndElement(int element)
Callback method for a closing tag to implement by derived classes.
std::vector< Section * > mySections
std::map< std::string, LaneSet * > myLaneSets
Importer for networks stored in ITSUMO format.
static StringBijection< int >::Entry itsumoAttrs[]
The names of MATSIM-XML attributes (for passing to GenericSAXHandler)
static void loadNetwork(const OptionsCont &oc, NBNetBuilder &nb)
Loads content of the optionally given ITSUMO network files.
ItsumoXMLTag
Numbers representing ITSUMO-XML - element names.
@ ITSUMO_TAG_LANE_POSITION
@ ITSUMO_TAG_IS_PREFERENCIAL
@ ITSUMO_TAG_DELIMITING_NODE
@ ITSUMO_TAG_MAXIMUM_SPEED
@ ITSUMO_TAG_TRAFFIC_LIGHTS
@ ITSUMO_TAG_DECELERATION_PROB
@ ITSUMO_TAG_TURNING_PROBABILITIES
@ ITSUMO_TAG_DESTINATION_LANESET
@ ITSUMO_TAG_SECTION_NAME
@ ITSUMO_TAG_NETWORK_NAME
@ ITSUMO_TAG_LANESET_POSITION
static StringBijection< int >::Entry itsumoTags[]
The names of MATSIM-XML elements (for passing to GenericSAXHandler)
ItsumoXMLAttr
Numbers representing MATSIM-XML - attributes.
A storage for options typed value containers)
std::map< std::string, std::string > Map
parameters map
Encapsulated SAX-Attributes.
Lane(const std::string &_id, int _idx, double _v)
std::vector< Lane > lanes
LaneSet(const std::string &_id, const std::vector< Lane > &_lanes, double _v, int _pos, NBNode *_from, NBNode *_to)
Section(const std::string &_id, const std::vector< LaneSet * > &_laneSets)
std::vector< LaneSet * > laneSets