Model Railroad System  2.2.2
Classes
Parsers Namespace Reference

File-based parser classes. More...

Classes

class  MRRXtrkCad
 MRRXtrkCad parser class. More...
 
class  IntegerList
 The IntegerList class implements a linked list of integers, used for turnout route lists. More...
 
class  ParseFile
 Virtual base class for file-based parsers. More...
 
class  LayoutFile
 File to parse an XTrkCad layout file and create a track graph. More...
 
class  TrackBodyElt
 Track endpoint elements (T and E lines). More...
 
class  TrackBody
 List of track endpoints (T and E lines). More...
 
class  TurnoutBodyElt
 Turnout body elements: T, E, P, S, C, and J lines are collected. More...
 
class  TurnoutBody
 List of turnout body lines (T, E, P, S, C, and J lines). More...
 
class  BezierBodyElt
 Bezier Body elements: T, E, S, and C lines are collected. More...
 
class  BezierBody
 List of Bezier body lines (T, E, S, and C lines). More...
 
class  CornuBodyElt
 Cornu Body elements: T, E, S, and C lines are collected. More...
 
class  CornuBody
 List of Cornu body lines (T, E, S, and C lines). More...
 
struct  SegPos
 Segment position, endpoint or other coordinate. More...
 
struct  SegVector
 Segemnt structure. More...
 
struct  TurnoutGraphic
 Structure holding a turnout's graphical information. More...
 
struct  RouteVec
 Route structure. More...
 
struct  TurnoutRoutelist
 Turnout route list structure. More...
 
class  TrackGraph
 Track Graph class, which encapsulates the track graphs. More...
 

Detailed Description

File-based parser classes.

These are file-based parser classes. Right now only one parser for XTrkCAD layout files. Other classes might be added later.

Included are classes used by the XTrkCAD parser. These classes are used to store the track plan information in an XTrkCAD layout file, specificly as it relates to operating issues, such as dispatching and signaling.

The track plan is loaded into a directed graph representation, where each node is one logical piece of trackwork. From this graph representation a schematic display could be created in a semi-automated way.

This package features the use of the Boost Graph Library as the underlying structure for the track graph built from reading in XTrkCAD layout files.

Author
Robert Heller <heller@deepsoft.com>

Tcl Package Provided

Mrr 2.2.2

Library Provided

libMRRParserClasses 2.2.2