Classes | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes
RNDF Class Reference

#include <RNDF.h>

List of all members.

Classes

struct  id_comparator

Public Member Functions

void populate_graph (Graph &graph)
void print ()
 RNDF (std::string rndfname, bool verbose=false)
 ~RNDF ()

Public Attributes

std::string creation_date
std::string filename
std::string format_version
bool is_valid
int number_of_segments
int number_of_zones
std::vector< Segmentsegments
std::vector< Zonezones

Private Types

typedef std::map< ElementID,
WayPointNode, id_comparator
id_to_waypoint_map

Private Member Functions

bool isvalid ()
Lane_marking parse_boundary (std::string line, bool &valid)
void prep_graph ()

Private Attributes

std::vector< WayPointEdgeedges
id_to_waypoint_map id_map
int line_number

Detailed Description

Definition at line 236 of file RNDF.h.


Member Typedef Documentation

Definition at line 272 of file RNDF.h.


Constructor & Destructor Documentation

RNDF::RNDF ( std::string  rndfname,
bool  verbose = false 
)

Definition at line 34 of file RNDF.cc.

RNDF::~RNDF ( ) [inline]

Definition at line 252 of file RNDF.h.


Member Function Documentation

bool RNDF::isvalid ( ) [inline, private]

Definition at line 260 of file RNDF.h.

Lane_marking RNDF::parse_boundary ( std::string  line,
bool valid 
) [private]

Definition at line 616 of file RNDF.cc.

void RNDF::populate_graph ( Graph graph)

Populate graph from RNDF parser data.

Copies all nodes from the way-point map to an array in the graph. Includes edges via a pointer copy.

Definition at line 1213 of file RNDF.cc.

void RNDF::prep_graph ( ) [private]

Definition at line 922 of file RNDF.cc.

void RNDF::print ( )

Definition at line 805 of file RNDF.cc.


Member Data Documentation

std::string RNDF::creation_date

Definition at line 245 of file RNDF.h.

std::vector<WayPointEdge> RNDF::edges [private]

Definition at line 276 of file RNDF.h.

std::string RNDF::filename

Definition at line 239 of file RNDF.h.

std::string RNDF::format_version

Definition at line 244 of file RNDF.h.

Definition at line 274 of file RNDF.h.

Definition at line 257 of file RNDF.h.

int RNDF::line_number [private]

Definition at line 280 of file RNDF.h.

Definition at line 240 of file RNDF.h.

Definition at line 241 of file RNDF.h.

std::vector<Segment> RNDF::segments

Definition at line 247 of file RNDF.h.

std::vector<Zone> RNDF::zones

Definition at line 248 of file RNDF.h.


The documentation for this class was generated from the following files:


art_map
Author(s): David Li, Patrick Beeson, Bartley Gillen, Tarun Nimmagadda, Mickey Ristroph, Michael Quinlan, Jack O'Quin
autogenerated on Fri Jan 3 2014 11:08:34