#include <TestRecord.h>
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::string > | str |
| std::string | |