siderust-cpp
0.8.0
Header-only C++ wrapper for siderust
Loading...
Searching...
No Matches
stream.hpp
Go to the documentation of this file.
1
#pragma once
2
8
#include "../../centers.hpp"
9
#include "../../frames.hpp"
10
11
#include <ostream>
12
13
namespace
siderust
{
14
namespace
coordinates {
15
namespace
detail {
16
17
template
<
typename
C,
typename
F>
inline
void
write_center_frame
(std::ostream &os) {
18
os << centers::CenterTraits<C>::name() <<
' '
<<
frames::FrameTraits<F>::name
();
19
}
20
21
template
<
typename
F>
inline
void
write_frame
(std::ostream &os) {
22
os << frames::FrameTraits<F>::name();
23
}
24
25
}
// namespace detail
26
}
// namespace coordinates
27
}
// namespace siderust
siderust::coordinates::detail::write_frame
void write_frame(std::ostream &os)
Definition
stream.hpp:21
siderust::coordinates::detail::write_center_frame
void write_center_frame(std::ostream &os)
Definition
stream.hpp:17
siderust
Definition
altitude.hpp:19
siderust::frames::FrameTraits
SFINAE helper: every frame tag must provide these static members.
Definition
frames.hpp:27
include
siderust
coordinates
detail
stream.hpp
Generated by
1.9.8