Timestamp binary table container class.
More...
#include <ngcdcsTsTable.hpp>
Timestamp binary table container class.
◆ TsTable() [1/3]
| ngc::core::ngcdcs::TsTable::TsTable |
( |
| ) |
|
◆ ~TsTable()
| ngc::core::ngcdcs::TsTable::~TsTable |
( |
| ) |
|
|
virtual |
◆ TsTable() [2/3]
| ngc::core::ngcdcs::TsTable::TsTable |
( |
TsTable & | | ) |
|
|
delete |
Disables unused constructors and operators.
◆ TsTable() [3/3]
| ngc::core::ngcdcs::TsTable::TsTable |
( |
TsTable && | | ) |
|
|
delete |
◆ Add()
| void ngc::core::ngcdcs::TsTable::Add |
( |
int | cnt, |
|
|
double | ts ) |
Add entry to binary table container
- Parameters
-
| cnt | Frame counter |
| ts | Timestamep |
◆ Append()
| void ngc::core::ngcdcs::TsTable::Append |
( |
std::string | filename | ) |
|
Append binary table container as FITS extension to an existing file.
- Parameters
-
| filename | Full path to an existing FITS file |
- Exceptions
-
| std::invalid_argument | if the filename is invalid |
| std::runtime_error | if the write failed |
◆ Clear()
| void ngc::core::ngcdcs::TsTable::Clear |
( |
| ) |
|
Clear binary table container.
◆ operator=()
◆ Write()
| void ngc::core::ngcdcs::TsTable::Write |
( |
FILE * | fd | ) |
|
Write binary table container as FITS extension to an open stream. If the write operation failes, the original file postion is restored.
- Parameters
-
| fd | File descriptor opened for writing |
- Exceptions
-
| std::runtime_error | if the write failed |
The documentation for this class was generated from the following files: