NeTrainSim 0.1.1 beta
The Open-Source Network Trains Simulator
 
Loading...
Searching...
No Matches
netlink.cpp File Reference
#include <iostream>
#include <math.h>
#include <algorithm>
#include "netlink.h"
#include "netnode.h"
#include "../util/utils.h"

Functions

ostream & operator<< (ostream &ostr, const NetLink &stud)
 Overloaded ostream operator for printing the NetLink object.
 

Function Documentation

◆ operator<<()

ostream & operator<< ( ostream &  ostr,
const NetLink link 
)

Overloaded ostream operator for printing the NetLink object.

Parameters
ostrThe output stream object.
linkThe NetLink object to be printed.
Returns
The output stream object.