|
Model Railroad System 2.2.2
|
List of track endpoints (T and E lines). More...
#include <TrackBody.h>
Public Member Functions | |
| TrackBody (TrackBodyElt *Element, TrackBody *Next) | |
| Constructor. More... | |
| ~TrackBody () | |
| Destructor. More... | |
Static Public Member Functions | |
| static TrackBody * | ConsTrackBody (TrackBodyElt *tbe, TrackBody *tb) |
| Prepend a track endpoint. More... | |
| static TrackBody * | AppendTrackBodyElt (TrackBody *tb, TrackBodyElt *tbe) |
| Append a track endpoint. More... | |
| static int | TrackBodyLength (const TrackBody *tb) |
| Compute the count of track endpoints. More... | |
Private Attributes | |
| TrackBodyElt * | element |
| Current element. More... | |
| TrackBody * | next |
| Next element. More... | |
Friends | |
| class | TrackGraph |
| ostream & | operator<< (ostream &stream, TrackBody &track) |
| Output operator. More... | |
List of track endpoints (T and E lines).
|
inline |
|
inline |
Destructor.
|
inlinestatic |
Append a track endpoint.
References next, and TrackBody().
Referenced by Parsers::BezierBody::BezierEnds(), Parsers::CornuBody::CornuEnds(), and Parsers::TurnoutBody::TurnoutEnds().
|
inlinestatic |
Prepend a track endpoint.
References TrackBody().
|
inlinestatic |
Compute the count of track endpoints.
References next.
|
friend |
Output operator.
|
friend |
|
private |
Current element.
Referenced by TrackBody().
|
private |
Next element.
Referenced by AppendTrackBodyElt(), TrackBody(), and TrackBodyLength().