30 static constexpr std::string_view
PREFIX =
"";
32 static constexpr std::optional<size_t>
COUNT = std::tuple_size_v<T>;
37 static constexpr std::string_view
PREFIX =
"";
39 static constexpr std::optional<size_t>
COUNT =
static_cast<size_t>(T::extent);
44 static constexpr std::string_view
PREFIX =
"P";
46 static constexpr std::optional<size_t>
COUNT = std::nullopt;
51 static constexpr std::string_view
PREFIX =
"P";
53 static constexpr std::optional<size_t>
COUNT = std::nullopt;
58 static constexpr std::string_view
PREFIX =
"P";
60 static constexpr std::optional<size_t>
COUNT = std::nullopt;
66 static constexpr std::string_view
PREFIX =
"";
67 static constexpr std::string_view
TYPE =
"A";
68 static constexpr std::optional<size_t>
COUNT = std::nullopt;
73 static constexpr std::string_view
PREFIX =
"";
74 static constexpr std::string_view
TYPE =
"L";
75 static constexpr size_t COUNT = 1;
80 static constexpr std::string_view
PREFIX =
"";
81 static constexpr std::string_view
TYPE =
"B";
82 static constexpr size_t COUNT = 1;
87 static constexpr std::string_view
PREFIX =
"";
88 static constexpr std::string_view
TYPE =
"S";
89 static constexpr size_t COUNT = 1;
94 static constexpr std::string_view
PREFIX =
"";
95 static constexpr std::string_view
TYPE =
"I";
96 static constexpr size_t COUNT = 1;
101 static constexpr std::string_view
PREFIX =
"";
102 static constexpr std::string_view
TYPE =
"U";
108 static constexpr std::string_view
PREFIX =
"";
109 static constexpr std::string_view
TYPE =
"J";
115 static constexpr std::string_view
PREFIX =
"";
116 static constexpr std::string_view
TYPE =
"V";
122 static constexpr std::string_view
PREFIX =
"";
123 static constexpr std::string_view
TYPE =
"K";
129 static constexpr std::string_view
PREFIX =
"";
130 static constexpr std::string_view
TYPE =
"W";
136 static constexpr std::string_view
PREFIX =
"";
137 static constexpr std::string_view
TYPE =
"E";
143 static constexpr std::string_view
PREFIX =
"";
144 static constexpr std::string_view
TYPE =
"D";
148template <
class T,
class...
Args>
151 if constexpr (
sizeof...(Args) != 0) {
156template <
class T,
class... Args>
158 const gsl::span<std::optional<size_t>,
sizeof...(
Args) + 1> sizes) {
159 if (sizes[0].has_value() and sizes[0].value() > 0) {
164 if constexpr (
sizeof...(Args) != 0) {
Class used to parse default command line arguments.
Definition rtcComponentArgs.hpp:32
Definition commandReplier.cpp:21
std::string GetFitsType(const std::optional< size_t > length=FitsColumnFormat< T >::COUNT)
Get the TFORM value for a type.
Definition fitsColumnFormat.hpp:36
void GetFITSTFormWithLength(std::vector< std::string > &input, const gsl::span< std::optional< size_t >, sizeof...(Args)+1 > sizes)
Get a vactor of TFORM strings for a list of types using the custom sizes provided.
Definition fitsColumnFormat.ipp:157
void GetFITSTForm(std::vector< std::string > &input)
Get a vactor of TFORM strings for a list of types.
Definition fitsColumnFormat.ipp:149
Definition ddsSub.hpp:155
FitsRecorder allows to write ColumnData to into fits files in a specified directory.
Provides useful mechanisms to test various type traits.