ifw-daq  2.1.0-pre1
IFW Data Acquisition modules
Public Member Functions | Public Attributes | List of all members
daq::DpPart Struct Reference

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

#include <dpPart.hpp>

Public Member Functions

 DpPart (std::string origin, std::string path) noexcept
 
 DpPart (std::string origin, 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
 

Public Attributes

std::string origin
 Component/process origin of the file. More...
 
std::variant< std::string, fits::KeywordVectorinfo
 Holds a std::string path [[user]@host:]path or FITS keywords. More...
 

Detailed Description

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

Definition at line 26 of file dpPart.hpp.

Constructor & Destructor Documentation

◆ DpPart() [1/5]

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

Definition at line 17 of file dpPart.cpp.

◆ DpPart() [2/5]

daq::DpPart::DpPart ( std::string  origin,
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 30 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 26 of file dpPart.cpp.

Member Data Documentation

◆ info

std::variant<std::string, fits::KeywordVector> daq::DpPart::info

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

Definition at line 46 of file dpPart.hpp.

◆ origin

std::string daq::DpPart::origin

Component/process origin of the file.

Definition at line 41 of file dpPart.hpp.


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