EleFits  5.0.0
A modern C++ API on top of CFITSIO
Static Public Attributes | Public Member Functions | Public Attributes | List of all members
RandomHeader Struct Reference

#include <TestRecord.h>

Detailed Description

A random set of Records.

All compatible types of Records are generated, but VariantValue.

Static Public Attributes

static constexpr long recordCount = 16
 The number of records.
 

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
 

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