ddt  0.1
informationMaps.hpp
Go to the documentation of this file.
1 // @copyright
2 // (c) Copyright ESO 2020
3 // All Rights Reserved
4 // ESO (eso.org) is an Intergovernmental Organization, and therefore special
5 // legal conditions apply.
6 //
7 // @file informationMaps.hpp
8 // @brief Information Maps class, offers an interface to information map
9 // access classes.
10 //
11 // This file is part of the DDT Image Handling Library and
12 // provides a class that offers an interface to information map access
13 // classes.
14 //
15 // @author Christoph Bortlisz, CGI
16 // @since 2021/06/30
17 //
18 
19 #ifndef INFORMATIONMAPS_HPP
20 #define INFORMATIONMAPS_HPP
21 
22 #include <sys/stat.h>
23 
24 #include <algorithm>
25 #include <cctype>
26 
27 #include "ddt/ddtLogger.hpp"
30 
31 namespace ddt {
32 
38  public:
44 
48  virtual ~InformationMaps();
49 
54  void set_logger(ddt::DdtLogger* const in_logger);
55 
60  std::list<std::string> get_InformationMaps();
61 
68  boost::property_tree::ptree* get_InformationMap(
69  const std::string identification);
70 
75  void LoadInformationMaps(const std::string info_map_source);
76 
77  protected:
82 
83  private:
87  void initialize();
88 
92  ddt::InformationMapsAccess* map_access;
93 };
94 
95 } // namespace ddt
96 
97 #endif /* INFORMATIONMAPS_HPP */
ddt::InformationMaps::LoadInformationMaps
void LoadInformationMaps(const std::string info_map_source)
Definition: informationMaps.cpp:59
ddt::InformationMaps::InformationMaps
InformationMaps()
Definition: informationMaps.cpp:26
ddt::InformationMaps::~InformationMaps
virtual ~InformationMaps()
Definition: informationMaps.cpp:28
ddt::DdtLogger
Definition: ddtLogger.hpp:48
ddt
Definition: ddtClient.hpp:36
ddt::InformationMapsAccess
Definition: informationMapsAccess.hpp:48
ddt::InformationMaps::get_InformationMap
boost::property_tree::ptree * get_InformationMap(const std::string identification)
Definition: informationMaps.cpp:74
informationMapsAccess.hpp
ddt::InformationMaps::set_logger
void set_logger(ddt::DdtLogger *const in_logger)
Definition: informationMaps.cpp:36
ddtLogger.hpp
ddt::InformationMaps::logger
ddt::DdtLogger * logger
Definition: informationMaps.hpp:81
informationMapsAccessFiles.hpp
ddt::InformationMaps::get_InformationMaps
std::list< std::string > get_InformationMaps()
Definition: informationMaps.cpp:63
ddt::InformationMaps
Definition: informationMaps.hpp:37