EleFits  5.3.0
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
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 record_count = 16
 The number of records.
 

Public Member Functions

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

Public Attributes

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

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