Model Railroad System  2.2.1
Namespaces | Classes | Typedefs | Functions
FCFSupport Namespace Reference

Namespace to hold all of the FCF Support code. More...

Namespaces

 PDFFileStructures
 PDF File support structures.
 

Classes

class  Car
 This class holds all of the information for a single car. More...
 
class  CarGroup
 Car group class. More...
 
class  CarType
 The CarType class represents a type of railroad car (rolling stock). More...
 
class  Division
 The Division class implements a single division, which contains a number of contigious stations. More...
 
class  Industry
 The Industry class represents an industry. More...
 
class  LogMessageCallback
 A callback to log a message. More...
 
class  LQ24PrinterDevice
 Class for an LQ24 compatible printer. More...
 
class  Owner
 The Owner class describes a car owner. More...
 
class  PathName
 A Class that portably represents a pathname. More...
 
class  PauseCallback
 The Pause callback. More...
 
class  PDFPrinterDevice
 PDF Printer device. More...
 
class  PostScriptPrinterDevice
 Derived class for printing on Postscript printers. More...
 
class  PrinterDevice
 Base class for printer devices (hard copy output). More...
 
class  ShowBannerCallback
 Display a page heading type message on the screen. More...
 
class  Station
 The Station class implements a single station. More...
 
class  SwitchList
 The global switch list structure. More...
 
class  SwitchListElement
 This class implements each switch list element. More...
 
class  System
 This is the main Freight Car Forwarder class. More...
 
class  TextPrinterDevice
 Derived class for printing on generic plain text printers. More...
 
class  Train
 The Train class represents a train. More...
 
class  TrainDisplayCallback
 Callback to manage a train status display. More...
 
class  WorkInProgressCallback
 Work In Progress Callback. More...
 

Typedefs

typedef vector< Division * > DivisionVector
 A vector of divisions. More...
 
typedef map< int, Division *, less< int > > DivisionMap
 A map of divisions, by integer index (division index). More...
 
typedef map< char, Division *, less< char > > DivisionSymbolMap
 A map of divisions, by division symbol (a character). More...
 
typedef vector< Station * > StationVector
 A station vector. More...
 
typedef map< int, Station *, less< int > > StationMap
 A station map by integer index. More...
 
typedef map< int, Train *, less< int > > TrainMap
 A map of trains, indexed by integer (train index). More...
 
typedef map< string, Train *, less< string > > TrainNameMap
 A map of trains, indexed by string (Train name). More...
 
typedef vector< Car * > CarVector
 A vector of cars. More...
 
typedef map< int, Industry *, less< int > > IndustryMap
 A map of industry pointers indexed by an integer. More...
 
typedef vector< Industry * > IndustryVector
 A vector of industry pointers. More...
 
typedef vector< char > CarTypeOrderVector
 A vector of ordered car types. More...
 
typedef map< char, CarType *, less< char > > CarTypeMap
 A map of car types indexed by type character. More...
 
typedef map< string, Owner *, less< string > > OwnerMap
 Map of owners, indexed by their initials. More...
 
typedef vector< SwitchListElementSwitchListElementVector
 A vector of switch list elements. More...
 
typedef vector< string > stringVector
 A Vector of strings. More...
 

Functions

ostream & operator<< (ostream &stream, const SwitchListElement &element)
 Output stream operator for SwitchListElements. More...
 
ostream & operator<< (ostream &stream, const PDFFileStructures::PDFNameArray &pnarray)
 Output stream operator for PDFNameArrays. More...
 

Detailed Description

Namespace to hold all of the FCF Support code.

Author
Robert Heller <heller@deepsoft.com>

Tcl Package Provided

Fcfclasses 1.0.4

Library Provided

libfcfclasses 1.0.4

Typedef Documentation

◆ CarTypeMap

typedef map<char, CarType *, less<char> > FCFSupport::CarTypeMap

A map of car types indexed by type character.

◆ CarTypeOrderVector

typedef vector<char> FCFSupport::CarTypeOrderVector

A vector of ordered car types.

◆ CarVector

typedef vector< Car * > FCFSupport::CarVector

A vector of cars.

◆ DivisionMap

typedef map<int, Division *, less<int> > FCFSupport::DivisionMap

A map of divisions, by integer index (division index).

◆ DivisionSymbolMap

typedef map<char, Division *, less<char> > FCFSupport::DivisionSymbolMap

A map of divisions, by division symbol (a character).

◆ DivisionVector

A vector of divisions.

◆ IndustryMap

typedef map<int, Industry *, less<int> > FCFSupport::IndustryMap

A map of industry pointers indexed by an integer.

◆ IndustryVector

A vector of industry pointers.

◆ OwnerMap

typedef map<string, Owner *, less<string> > FCFSupport::OwnerMap

Map of owners, indexed by their initials.

◆ StationMap

typedef map<int, Station *, less<int> > FCFSupport::StationMap

A station map by integer index.

◆ StationVector

A station vector.

◆ stringVector

typedef vector<string> FCFSupport::stringVector

A Vector of strings.

Used as the list of path list in a PathName instance.

Author
Robert Heller <heller@deepsoft.com>

◆ SwitchListElementVector

A vector of switch list elements.

◆ TrainMap

typedef map<int, Train *, less<int> > FCFSupport::TrainMap

A map of trains, indexed by integer (train index).

◆ TrainNameMap

typedef map<string, Train *, less<string> > FCFSupport::TrainNameMap

A map of trains, indexed by string (Train name).

Function Documentation

◆ operator<<() [1/2]

ostream& FCFSupport::operator<< ( ostream &  stream,
const PDFFileStructures::PDFNameArray pnarray 
)

Output stream operator for PDFNameArrays.

Parameters
streamThe stream to write to.
pnarrayThe array to write.

◆ operator<<() [2/2]

ostream& FCFSupport::operator<< ( ostream &  stream,
const SwitchListElement element 
)

Output stream operator for SwitchListElements.

Parameters
streamThe output stream.
elementThe switch list element to output.