Model Railroad System  2.2.1
Classes | Namespaces | Macros | Typedefs | Functions
TimeTableSystem.h File Reference
#include <string.h>
#include <Common.h>
#include <PathName.h>
#include <Station.h>
#include <Cab.h>
#include <Train.h>
#include <list>
#include <unordered_map>

Classes

struct  TTSupport::hash
 Option hash map, used for Print options. More...
 
struct  TTSupport::eqstr
 
class  TTSupport::StationTimes
 Station times class, used by the LaTeX generator methods. More...
 
class  TTSupport::TimeTableSystem
 This is the main Time Table Class. More...
 

Namespaces

 TTSupport
 Time Table Support Namespace.
 

Macros

#define USE_UNORDERED_MAP
 

Typedefs

typedef vector< double > TTSupport::doubleVector
 A Vector of doubles. More...
 
typedef std::unordered_map< const char *, std::string, hash, eqstr > TTSupport::OptionHashMap
 
typedef list< Train * > TTSupport::TrainList
 List of trains. More...
 
typedef map< string, StationTimes, less< string > > TTSupport::TrainStationTimes
 Map of station times, indexed by train number. More...
 
typedef map< int, TrainStationTimes, less< int > > TTSupport::TrainTimesAtStation
 Map of maps of station times, indexed by station index. More...
 
typedef list< string > TTSupport::StringList
 List of strings. More...
 

Functions

const char * TTSupport::StringListToString (const StringList &list)
 Convert a list of strings to a flat string. More...
 
bool TTSupport::StringListFromString (string strlinList, StringList &result)
 Convert a flat string to a list of strings. More...
 

Macro Definition Documentation

◆ USE_UNORDERED_MAP

#define USE_UNORDERED_MAP