|
Model Railroad System 2.2.2
|
List of Cornu body lines (T, E, S, and C lines). More...
#include <CornuBody.h>
Public Member Functions | |
| CornuBody (CornuBodyElt *e, CornuBody *n) | |
| Basic constructor. More... | |
| TrackBody * | CornuEnds () |
| Create a track endpoint list. More... | |
| int | CornuSegmentCount () |
| Count segments (S, C, and J lines). More... | |
| const CornuBodyElt * | Element () const |
| Return current element. More... | |
Static Public Member Functions | |
| static CornuBody * | ConsCornuBody (CornuBodyElt *trbe, CornuBody *trb) |
| Alternitive constructor function. More... | |
| static CornuBody * | ConcatCornuBody (CornuBody *trba, CornuBody *trb) |
| static void | CleanUpCornuBody (CornuBody *trb) |
| Free up memory. More... | |
Private Member Functions | |
| void | CleanUpElement () |
| Free up memory. More... | |
Private Attributes | |
| CornuBodyElt * | element |
| Current element. More... | |
| CornuBody * | next |
| Next element. More... | |
Friends | |
| class | CornuBodyElt |
| class | TrackGraph |
List of Cornu body lines (T, E, S, and C lines).
|
inline |
|
inlinestatic |
Free up memory.
References CleanUpElement(), element, and next.
|
inlineprivate |
Free up memory.
References Parsers::CornuBodyElt::CornuCurvedSegment, Parsers::CornuBodyElt::CornuEnd, Parsers::CornuBodyElt::CornuStraightSegment, element, Parsers::CornuBodyElt::None, Parsers::CornuBodyElt::theEnd, and Parsers::CornuBodyElt::theType.
Referenced by CleanUpCornuBody().
|
inlinestatic |
References next.
|
inlinestatic |
Alternitive constructor function.
References CornuBody().
|
inline |
Create a track endpoint list.
References Parsers::TrackBody::AppendTrackBodyElt(), Parsers::CornuBodyElt::CornuEnd, element, next, Parsers::CornuBodyElt::theEnd, and Parsers::CornuBodyElt::theType.
|
inline |
Count segments (S, C, and J lines).
References Parsers::CornuBodyElt::CornuCurvedSegment, Parsers::CornuBodyElt::CornuStraightSegment, element, next, and Parsers::CornuBodyElt::theType.
|
inline |
Return current element.
References element.
|
friend |
|
friend |
|
private |
Current element.
Referenced by CleanUpCornuBody(), CleanUpElement(), CornuBody(), CornuEnds(), CornuSegmentCount(), and Element().
|
private |
Next element.
Referenced by CleanUpCornuBody(), ConcatCornuBody(), CornuBody(), CornuEnds(), and CornuSegmentCount().