EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Static Public Attributes | Static Public Member Functions | Public Member Functions | Public Attributes | List of all members
RandomTable Struct Reference

#include <TestColumn.h>

Detailed Description

A set of random columns which cover the whole set of supported types.

Static Public Attributes

static constexpr long column_count = 13
 The number of columns.
 

Static Public Member Functions

template<typename T >
static VecColumn< T > generate_column (const std::string &type_name, long repeat_count=1, long row_count=3)
 Generate a column. More...
 

Public Member Functions

 RandomTable (long repeat_count=1, long row_count=3)
 Generate the table. More...
 
template<typename T >
VecColumn< T > & get_column ()
 Get the column with given value type.
 
template<typename T >
const VecColumn< T > & get_column () const
 Get the column with given value type.
 

Public Attributes

std::tuple< VecColumn< char >, VecColumn< std::int16_t >, VecColumn< std::int32_t >, VecColumn< std::int64_t >, VecColumn< float >, VecColumn< double >, VecColumn< std::complex< float > >, VecColumn< std::complex< double > >, VecColumn< std::string >, VecColumn< unsigned char >, VecColumn< std::uint16_t >, VecColumn< std::uint32_t >, VecColumn< std::uint64_t > > columns
 The columns.
 

The documentation for this struct was generated from the following file: