RTC Toolkit 5.0.0
|
fitscolumnFormat is used to get a fits type from a C++ type. More...
#include <cstddef>
#include <fmt/core.h>
#include <fmt/format.h>
#include <gsl/span>
#include <limits>
#include <optional>
#include <string>
#include <vector>
#include <rtctk/componentFramework/fitsColumnFormat.ipp>
Go to the source code of this file.
Namespaces | |
namespace | rtctk |
namespace | rtctk::componentFramework |
Functions | |
template<class T > | |
std::string | rtctk::componentFramework::GetFitsType (const std::optional< size_t > length=FitsColumnFormat< T >::COUNT) |
Get the TFORM value for a type. | |
template<class T , class... Args> | |
void | rtctk::componentFramework::GetFITSTForm (std::vector< std::string > &input) |
Get a vactor of TFORM strings for a list of types. | |
template<class T , class... Args> | |
void | rtctk::componentFramework::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. | |
fitscolumnFormat is used to get a fits type from a C++ type.
Supports arrays and vectors.