EleFits  4.0.0
A modern C++ API on top of CFitsIO
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Euclid::Fits::Test::RandomHeader Struct Reference

#include <TestRecord.h>

Class Description

A random set of Records.

All compatible types of Records are generated, but VariantValue.

Public Member Functions

 RandomHeader ()
 Constructor.
 
template<typename T >
const Record< T > & getRecord () const
 Get the record with given type.
 
template<typename T >
Record< T > & getRecord ()
 Get the record with given type.
 
RecordSeq allRecords () const
 Get all the records.
 

Public Attributes

Record< bool > b
 bool
 
Record< char > c
 char
 
Record< short > s
 short
 
Record< int > i
 int
 
Record< long > l
 long
 
Record< long long > ll
 long long
 
Record< unsigned char > uc
 unsigned char
 
Record< unsigned short > us
 unsigned short
 
Record< unsigned int > ui
 unsigned int
 
Record< unsigned long > ul
 unsigned long
 
Record< unsigned long long > ull
 unsigned long long
 
Record< float > f
 float
 
Record< double > d
 double
 
Record< std::complex< float > > cf
 std::complex<float>
 
Record< std::complex< double > > cd
 std::complex<double>
 
Record< std::stringstr
 std::string
 

Static Public Attributes

static constexpr long recordCount = 16
 The number of records.
 

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