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 |
Basic constructor.
|
inlinestatic |
Free up memory.
References CleanUpElement(), element, and next.
|
inlineprivate |
Free up memory.
References Parsers::CornuBodyElt::theEnd, and Parsers::CornuBodyElt::theType.
Referenced by CleanUpCornuBody().
|
inlinestatic |
References next.
|
inlinestatic |
Alternitive constructor function.
|
inline |
Create a track endpoint list.
References element, next, Parsers::CornuBodyElt::theEnd, and Parsers::CornuBodyElt::theType.
|
inline |
Count segments (S, C, and J lines).
References element, next, and Parsers::CornuBodyElt::theType.
|
inline |
Return current element.
|
friend |
|
friend |
|
private |
Current element.
Referenced by CleanUpCornuBody(), CornuEnds(), and CornuSegmentCount().
|
private |
Next element.
Referenced by CleanUpCornuBody(), ConcatCornuBody(), CornuEnds(), and CornuSegmentCount().