EleFits
5.0.0
A modern C++ API on top of CFITSIO
Euclid
Fits
ColumnInfo
ColumnInfo
ColumnInfo
Dim
elementCount
makeColumnInfo
makeColumnInfo
name
operator!=
operator==
repeatCount
shape
unit
Value
◆
makeColumnInfo()
ColumnInfo
< T, sizeof...(Longs)> makeColumnInfo
(
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
stringInfo = makeColumnInfo<std::string>(
"String"
,
""
, 6);
auto
scalarInfo = makeColumnInfo<int>(
"Scalar"
);
auto
vectorInfo = makeColumnInfo<int>(
"Vector"
,
""
, 3);
auto
multidimInfo = makeColumnInfo<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.2 with a theme adapted from
Doxygen Awesome
and using
GitHub Corners
. Thank you all!