NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
locomotive.cpp File Reference
#include <functional>
#include <iostream>
#include "locomotive.h"
#include <math.h>
#include <algorithm>
#include "../util/vector.h"
#include "energyconsumption.h"
#include "traintypes.h"
#include <cstdlib>
#include "../util/utils.h"

Macros

#define stringify(name)   #name
 

Functions

ostream & operator<< (std::ostream &ostr, const Locomotive &loco)
 

Macro Definition Documentation

◆ stringify

#define stringify (   name)    #name

Function Documentation

◆ operator<<()

ostream & operator<< ( std::ostream &  ostr,
const Locomotive loco 
)