This commit is contained in:
Kilian Hofmann 2022-09-06 22:12:32 +02:00
parent 3559b124a7
commit 2aa658c15e
3 changed files with 12 additions and 13 deletions

View File

@ -10,9 +10,9 @@
namespace germanairlinesva_recording
{
/*
* UINT32 | UINT16 | UINT16 | COORDINATES
* UINT32 | UINT16 | UINT16 | POINT
* -------+----------+-------------+------------
* TIME | ALTITUDE | GROUNDSPEED | POINT
* TIME | ALTITUDE | GROUNDSPEED | COORDINATES
*/
class PathSegment
{

View File

@ -56,13 +56,11 @@ namespace germanairlinesva_simdata
return str.str();
}
friend std::ostream &operator<<(std::ostream &os, const Gate &gate);
friend inline std::ostream &operator<<(std::ostream &os, const Gate &gate)
{
return os << gate.to_string();
}
};
inline std::ostream &operator<<(std::ostream &os, const Gate &gate)
{
return os << gate.to_string();
}
} // namespace germanairlinesva_simdata
#endif

View File

@ -69,13 +69,14 @@ namespace germanairlinesva_simdata
return str.str();
}
friend std::ostream &operator<<(std::ostream &os, const Runway &runway);
friend inline std::ostream &operator<<(std::ostream &os,
const Runway &runway)
{
return os << runway.to_string();
}
};
inline std::ostream &operator<<(std::ostream &os, const Runway &runway)
{
return os << runway.to_string();
}
} // namespace germanairlinesva_simdata
#endif