ifw-daq  3.0.0-pre2
IFW Data Acquisition modules
Public Types | Public Member Functions | List of all members
daq::DpPart Class Reference

Provides information of the location and source of a FITS file or keywords produced by a data acquisition. More...

#include <dpPart.hpp>

Public Types

using PartTypes = std::variant< std::string, fits::KeywordVector >
 

Public Member Functions

 DpPart (std::string source_name, std::string path) noexcept
 
 DpPart (std::string source_name, fits::KeywordVector keywords) noexcept
 
 DpPart ()=default
 
 DpPart (DpPart const &)=default
 
 DpPart (DpPart &&) noexcept=default
 
DpPartoperator= (DpPart const &)=default
 
DpPartoperator= (DpPart &&) noexcept=default
 
bool operator== (DpPart const &rhs) const noexcept
 
bool operator!= (DpPart const &rhs) const noexcept
 
auto SourceName () const noexcept -> std::string const &
 Source name of the part. More...
 
auto SourceName () noexcept -> std::string &
 
auto Part () const noexcept -> PartTypes const &
 Holds a std::string path [[user]@host:]path or FITS keywords. More...
 
auto Part () noexcept -> PartTypes &
 

Detailed Description

Provides information of the location and source of a FITS file or keywords produced by a data acquisition.

Definition at line 26 of file dpPart.hpp.

Member Typedef Documentation

◆ PartTypes

using daq::DpPart::PartTypes = std::variant<std::string, fits::KeywordVector>

Definition at line 39 of file dpPart.hpp.

Constructor & Destructor Documentation

◆ DpPart() [1/5]

daq::DpPart::DpPart ( std::string  source_name,
std::string  path 
)
noexcept

Definition at line 17 of file dpPart.cpp.

◆ DpPart() [2/5]

daq::DpPart::DpPart ( std::string  source_name,
fits::KeywordVector  keywords 
)
noexcept

Definition at line 21 of file dpPart.cpp.

◆ DpPart() [3/5]

daq::DpPart::DpPart ( )
default

◆ DpPart() [4/5]

daq::DpPart::DpPart ( DpPart const &  )
default

◆ DpPart() [5/5]

daq::DpPart::DpPart ( DpPart &&  )
defaultnoexcept

Member Function Documentation

◆ operator!=()

bool daq::DpPart::operator!= ( DpPart const &  rhs) const
noexcept

Definition at line 29 of file dpPart.cpp.

◆ operator=() [1/2]

DpPart& daq::DpPart::operator= ( DpPart &&  )
defaultnoexcept

◆ operator=() [2/2]

DpPart& daq::DpPart::operator= ( DpPart const &  )
default

◆ operator==()

bool daq::DpPart::operator== ( DpPart const &  rhs) const
noexcept

Definition at line 25 of file dpPart.cpp.

◆ Part() [1/2]

auto daq::DpPart::Part ( ) const -> PartTypes const&
inlinenoexcept

Holds a std::string path [[user]@host:]path or FITS keywords.

Definition at line 54 of file dpPart.hpp.

◆ Part() [2/2]

auto daq::DpPart::Part ( ) -> PartTypes&
inlinenoexcept

Definition at line 57 of file dpPart.hpp.

◆ SourceName() [1/2]

auto daq::DpPart::SourceName ( ) const -> std::string const&
inlinenoexcept

Source name of the part.

Definition at line 44 of file dpPart.hpp.

◆ SourceName() [2/2]

auto daq::DpPart::SourceName ( ) -> std::string &
inlinenoexcept

Definition at line 47 of file dpPart.hpp.


The documentation for this class was generated from the following files: