ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
keywordFormatterMock.hpp
Go to the documentation of this file.
1/**
2 * @file
3 * @copyright
4 * (c) Copyright ESO 2024
5 * All Rights Reserved
6 * ESO (eso.org) is an Intergovernmental Organisation, and therefore special legal conditions apply.
7 */
8#ifndef OCM_DAQ_TEST_MOCK_KEYWORDFORMATTERMOCK_HPP
9#define OCM_DAQ_TEST_MOCK_KEYWORDFORMATTERMOCK_HPP
10
11#include <daq/fits/keyword.hpp>
12#include <gmock/gmock.h>
13
14namespace daq {
15
18 Format,
19 (fits::KeywordVariant const& keyword),
20 (const, override));
21};
22} // namespace daq
23#endif // OCM_DAQ_TEST_MOCK_KEYWORDFORMATTERMOCK_HPP
Formats keyword against e.g.
Definition: keyword.hpp:551
virtual auto Format(KeywordVariant const &keyword) const -> LiteralKeyword=0
Formats keyword.
Represents the literal 80-character FITS keyword record.
Definition: keyword.hpp:129
Contains data structure for FITS keywords.
std::variant< ValueKeyword, EsoKeyword, LiteralKeyword > KeywordVariant
The different variants of keywords that are supported.
Definition: keyword.hpp:409
MOCK_METHOD(fits::LiteralKeyword, Format,(fits::KeywordVariant const &keyword),(const, override))