EleFits
5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Euclid
Fits
ColumnInfo
ColumnInfo
ColumnInfo
Dim
element_count
elementCount
make_column_info
make_column_info
name
operator!=
operator==
repeat_count
repeatCount
shape
unit
Value
◆
make_column_info()
ColumnInfo
< T, sizeof...(Longs)> make_column_info
(
const
std::string
&
name
,
const
std::string
&
unit
,
Longs...
shape
)
related
Shortcut to create column informations without specifying the dimension template parameters.
Template Parameters
T
The value type, must be specified
Longs
The axes lengths, should not be specified (automatically deduced)
Parameters
name
The column name
unit
The column unit, or
""
to omit it
shape
The shape as a comma-separated list of
long
s can be left empty for scalar columns
Example
auto
string_info = make_column_info<std::string>(
"String"
,
""
, 6);
auto
scalar_info = make_column_info<int>(
"Scalar"
);
auto
vector_info = make_column_info<int>(
"Vector"
,
""
, 3);
auto
multidim_info = make_column_info<int>(
"Multidim"
,
""
, 3, 2);
© Copyright 2019-2022 CNES and contributors (for the Euclid Science Ground Segment).
The EleFits documentation is licensed under a
LGPL-3.0-or-later
license.
It is generated by
Doxygen
1.9.5 with a theme adapted from
Doxygen Awesome
and using
GitHub Corners
. Thank you all!