ifw-daq  1.0.0
IFW Data Acquisition modules
Classes | Namespaces | Typedefs | Functions
keyword.hpp File Reference

Contains data structure for FITS keywords. More...

#include <array>
#include <optional>
#include <string>
#include <variant>
#include <vector>
#include <iosfwd>

Go to the source code of this file.

Classes

struct  daq::fits::BasicKeywordBase
 Non template base class that is purely used to avoid type-deduction issues of ValueType. More...
 
struct  daq::fits::BasicKeyword< Trait >
 A type safe version of FormattedKeyword that consist of the three basic components of a FITS keyword keyword record: name, value and optional comment. More...
 
struct  daq::fits::ValueKeywordTraits
 
struct  daq::fits::EsoKeywordTraits
 

Namespaces

 daq
 
 daq::fits
 

Typedefs

using daq::fits::ValueKeyword = BasicKeyword< ValueKeywordTraits >
 Standard FITS value keyword. More...
 
using daq::fits::EsoKeyword = BasicKeyword< EsoKeywordTraits >
 ESO hiearchical keyword. More...
 
using daq::fits::KeywordVariant = std::variant< ValueKeyword, EsoKeyword >
 The different variants of keywords that are supported. More...
 
using daq::fits::KeywordVector = std::vector< KeywordVariant >
 Vector of keywords. More...
 

Functions

constexpr bool daq::fits::operator< (ValueKeyword const &, EsoKeyword const &) noexcept
 EsoKeyword is sorted after ValueKeyword. More...
 
constexpr bool daq::fits::operator< (EsoKeyword const &, ValueKeyword const &) noexcept
 EsoKeyword is sorted after ValueKeyword. More...
 
template<class Trait >
std::ostream & daq::fits::operator<< (std::ostream &os, BasicKeyword< Trait > const &kw)
 
template<class Trait >
std::ostream & daq::fits::operator<< (std::ostream &os, BasicKeywordBase::ValueType const &kw)
 
std::ostream & daq::fits::operator<< (std::ostream &os, KeywordVariant const &kw)
 Ostream formatting of keywords. More...
 
bool daq::fits::NameEquals (KeywordVariant const &lhs, KeywordVariant const &rhs) noexcept
 Compare keyword names of keyword of the same type. More...
 
void daq::fits::UpdateKeywords (KeywordVector &to, KeywordVector const &from)
 Updates a with keywords from b. More...
 

Detailed Description

Contains data structure for FITS keywords.

Definition in file keyword.hpp.


Class Documentation

◆ daq::fits::ValueKeywordTraits

struct daq::fits::ValueKeywordTraits

Definition at line 84 of file keyword.hpp.

◆ daq::fits::EsoKeywordTraits

struct daq::fits::EsoKeywordTraits

Definition at line 85 of file keyword.hpp.