EleFits  5.3.1
A modern C++ API on top of CFITSIO
Loading...
Searching...
No Matches
Static Public Member Functions | Public Member Functions | Public Attributes | List of all members
KeywordExistsError Struct Reference

#include <Header.h>

Detailed Description

Exception thrown when a keyword already exists.

Static Public Member Functions

static void may_throw (const std::string &keyword, const Header &header)
 Throw if an HDU already contains a given keyword.
 
static void may_throw (const std::vector< std::string > &keywords, const Header &header)
 Throw if an HDU already contains any of given keywords.
 

Public Member Functions

 KeywordExistsError (const std::string &keyword)
 Constructor.
 
- Public Member Functions inherited from FitsError
 FitsError (const std::string &message)
 Constructor. More...
 
virtual ~FitsError ()=default
 Destructor.
 
void append (const std::string &line, std::size_t indent=0)
 Append some line to the message. More...
 
const char * what () const noexcept override
 Output message.
 
- Public Member Functions inherited from exception
exception (T... args)
 
~exception (T... args)
 
operator= (T... args)
 
what (T... args)
 

Public Attributes

std::string keyword
 The keyword which already exists.
 

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