BorderIDTranslation is a set of translation tables, which keeps track of road ids, junction ids and their geometric representation as borders. More...
#include <idtranslation.h>
Public Types | |
typedef std::string | TID |
typedef adore::env::BorderBased::BorderID | BorderID |
typedef adore::env::BorderBased::BorderIDHasher | BorderIDHasher |
typedef std::unordered_map< BorderID, TID, BorderIDHasher > | BorderID2TID |
typedef std::unordered_multimap< TID, BorderID > | TID2MultiBorderID |
typedef std::unordered_map< TID, TID > | TIDmap |
typedef std::unordered_multimap< TID, TID > | TIDmultimap |
typedef TID2MultiBorderID::iterator | Iterator |
typedef std::pair< Iterator, Iterator > | IteratorPair |
typedef std::vector< BorderID > | BorderIDVector |
Public Member Functions | |
void | insert (const BorderID &borderID, TID roadID) |
void | insert (TID junctionID, TID roadID) |
IteratorPair | getBorderIDsOfRoad (TID roadID) |
BorderIDVector | getBorderIDsOfJunction (TID junctionID) |
TID | getRoadID (const BorderID &borderID) |
TID | getJunctionID (const BorderID &borderID) |
bool | isInJunction (TID roadID) |
bool | isInJunction (const BorderID &borderID) |
Private Attributes | |
BorderID2TID | borderID2roadID_ |
TID2MultiBorderID | roadID2borderID_ |
TIDmap | roadID2junctionID_ |
TIDmultimap | junctionID2roadID_ |
TID | default_empty_id_ |
BorderIDTranslation is a set of translation tables, which keeps track of road ids, junction ids and their geometric representation as borders.
typedef std::unordered_map<BorderID, TID, BorderIDHasher> adore::if_xodr::BorderIDTranslation::BorderID2TID |
typedef std::vector<BorderID> adore::if_xodr::BorderIDTranslation::BorderIDVector |
typedef TID2MultiBorderID::iterator adore::if_xodr::BorderIDTranslation::Iterator |
typedef std::pair<Iterator,Iterator> adore::if_xodr::BorderIDTranslation::IteratorPair |
typedef std::string adore::if_xodr::BorderIDTranslation::TID |
typedef std::unordered_multimap<TID,BorderID> adore::if_xodr::BorderIDTranslation::TID2MultiBorderID |
typedef std::unordered_map<TID,TID> adore::if_xodr::BorderIDTranslation::TIDmap |
typedef std::unordered_multimap<TID,TID> adore::if_xodr::BorderIDTranslation::TIDmultimap |
|
inline |
get all BorderIDs associated with a roadID
|
inline |
get all BorderIDs associated with a roadID
get the associated junctionID of a BorderID
get the associated roadID of a BorderID
insert entry into tables: link borderID and roadID
insert entry into tables: link junctionID and roadID
|
inline |
check whether a borderID belongs to a connecting road inside a junction
|
inline |
check whether a road is a connecting road inside a junction
|
private |
|
private |
|
private |
|
private |
|
private |