Elements  6.0.1
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WcsExample.cpp
Go to the documentation of this file.
1 
21 #include <map> // for map
22 #include <string> // for string
23 
24 #include <wcslib/wcs.h>
25 
26 #include "ElementsKernel/ProgramHeaders.h" // for including all Program/related headers
27 #include "ElementsKernel/Unused.h" // for ELEMENTS_UNUSED
28 
29 using std::map;
30 using std::string;
31 
32 namespace Elements {
33 namespace Examples {
34 
35 class WcsExample : public Program {
36 
37 public:
39 
40  auto log = Logging::getLogger("WcsExample");
41 
42  log.info() << "done with test program! ";
43 
44  return ExitCode::OK;
45  }
46 };
47 
48 } // namespace Examples
49 } // namespace Elements
50 
ExitCode
Strongly typed exit numbers.
Definition: Exit.h:97
Macro to silence unused variables warnings from the compiler.
Everything is OK.
Abstract class for all Elements programs.
Definition: Program.h:52
STL class.
STL class.
#define MAIN_FOR(ELEMENTS_PROGRAM_NAME)
Definition: Main.h:113
ExitCode mainMethod(ELEMENTS_UNUSED map< string, VariableValue > &args) override
Definition: WcsExample.cpp:38
#define ELEMENTS_UNUSED
Definition: Unused.h:39
static Logging getLogger(const std::string &name="")
Definition: Logging.cpp:63