Refactor
This commit is contained in:
parent
3559b124a7
commit
2aa658c15e
@ -10,9 +10,9 @@
|
|||||||
namespace germanairlinesva_recording
|
namespace germanairlinesva_recording
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* UINT32 | UINT16 | UINT16 | COORDINATES
|
* UINT32 | UINT16 | UINT16 | POINT
|
||||||
* -------+----------+-------------+------------
|
* -------+----------+-------------+------------
|
||||||
* TIME | ALTITUDE | GROUNDSPEED | POINT
|
* TIME | ALTITUDE | GROUNDSPEED | COORDINATES
|
||||||
*/
|
*/
|
||||||
class PathSegment
|
class PathSegment
|
||||||
{
|
{
|
||||||
|
|||||||
@ -56,13 +56,11 @@ namespace germanairlinesva_simdata
|
|||||||
return str.str();
|
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
|
} // namespace germanairlinesva_simdata
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
@ -69,13 +69,14 @@ namespace germanairlinesva_simdata
|
|||||||
return str.str();
|
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
|
} // namespace germanairlinesva_simdata
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
Loading…
x
Reference in New Issue
Block a user