#include <GraphParser.h>
Public Member Functions | |
size_t | CityAreaCount () const |
const CityAreaDescription & | GetCityAreaAt (size_t i) const |
const RoadSegmentDescription & | GetRoadSegmentAt (size_t i) const |
GraphParser (DoublyConnectedEdgeList &Dcel) | |
bool | HasCityAreas () const |
bool | HasRoadSegments () const |
TUniquePtr< CityAreaDescription > | PopCityArea () |
TUniquePtr< RoadSegmentDescription > | PopRoadSegment () |
size_t | RoadSegmentCount () const |
Private Types | |
using | CityAreaList = std::vector< TUniquePtr< CityAreaDescription > > |
using | RoadSegmentList = std::vector< TUniquePtr< RoadSegmentDescription > > |
Private Attributes | |
CityAreaList | CityAreas |
RoadSegmentList | RoadSegments |
Additional Inherited Members | |
Private Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Definition at line 19 of file GraphParser.h.
|
private |
Definition at line 65 of file GraphParser.h.
|
private |
Definition at line 63 of file GraphParser.h.
|
explicit |
Definition at line 141 of file GraphParser.cpp.
References MapGen::CityAreaDescription::Add(), MapGen::RoadSegmentBuilder::Add(), MapGen::RoadSegmentBuilder::Close(), MapGen::DoublyConnectedEdgeList::CountFaces(), MapGen::DoublyConnectedEdgeList::CountHalfEdges(), MapGen::DoublyConnectedEdgeList::CountNodes(), MapGen::fixGraphData(), MapGen::DoublyConnectedEdgeList::GetFaces(), MapGen::DoublyConnectedEdgeList::GetHalfEdge(), MapGen::DoublyConnectedEdgeList::GetNextInFace(), MapGen::DoublyConnectedEdgeList::GetSource(), and MapGen::RoadSegmentBuilder::Segments.
|
inline |
Definition at line 37 of file GraphParser.h.
References CityAreas.
|
inline |
Definition at line 45 of file GraphParser.h.
References CityAreas.
|
inline |
Definition at line 41 of file GraphParser.h.
References RoadSegments.
|
inline |
Definition at line 29 of file GraphParser.h.
References CityAreas.
|
inline |
Definition at line 25 of file GraphParser.h.
References RoadSegments.
|
inline |
Definition at line 55 of file GraphParser.h.
References CityAreas.
|
inline |
Definition at line 49 of file GraphParser.h.
References RoadSegments.
|
inline |
Definition at line 33 of file GraphParser.h.
References RoadSegments.
|
private |
Definition at line 69 of file GraphParser.h.
Referenced by CityAreaCount(), GetCityAreaAt(), HasCityAreas(), and PopCityArea().
|
private |
Definition at line 67 of file GraphParser.h.
Referenced by GetRoadSegmentAt(), HasRoadSegments(), PopRoadSegment(), and RoadSegmentCount().