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

In-memory FITS file. More...

#include <cfitsio.hpp>

Public Member Functions

 MemoryFitsFile () noexcept
 Creates empty file. More...
 
 MemoryFitsFile (size_t initial_buffer_size)
 Creates empty file. More...
 
 MemoryFitsFile (MemoryFitsFile &&other) noexcept=default
 
MemoryFitsFileoperator= (MemoryFitsFile &&other) noexcept=default
 
fitsfile * GetFile () const noexcept
 Get fits pointer. More...
 
UniqueFitsFile GetOwnedFile () &&
 Move out ptr. More...
 

Detailed Description

In-memory FITS file.

Definition at line 38 of file cfitsio.hpp.

Constructor & Destructor Documentation

◆ MemoryFitsFile() [1/3]

daq::fits::MemoryFitsFile::MemoryFitsFile ( )
noexcept

Creates empty file.

Definition at line 55 of file cfitsio.cpp.

◆ MemoryFitsFile() [2/3]

daq::fits::MemoryFitsFile::MemoryFitsFile ( size_t  initial_buffer_size)
explicit

Creates empty file.

Definition at line 58 of file cfitsio.cpp.

◆ MemoryFitsFile() [3/3]

daq::fits::MemoryFitsFile::MemoryFitsFile ( MemoryFitsFile &&  other)
explicitdefaultnoexcept

Member Function Documentation

◆ GetFile()

fitsfile* daq::fits::MemoryFitsFile::GetFile ( ) const
inlinenoexcept

Get fits pointer.

Returns
In-memory FITS file pointer.

Definition at line 56 of file cfitsio.hpp.

◆ GetOwnedFile()

UniqueFitsFile daq::fits::MemoryFitsFile::GetOwnedFile ( ) &&
inline

Move out ptr.

Warning
Object lifetime of this object must exeed the UniqueFits file as it references memory owned associated by this object.
Returns
Owned FITS file.

Definition at line 68 of file cfitsio.hpp.

◆ operator=()

MemoryFitsFile& daq::fits::MemoryFitsFile::operator= ( MemoryFitsFile &&  other)
defaultnoexcept

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