ddt 1.4.0
 
Loading...
Searching...
No Matches
informationMapsAccess.hpp
Go to the documentation of this file.
1
10
11#ifndef INFORMATIONMAPSACCESS_HPP
12#define INFORMATIONMAPSACCESS_HPP
13
14#define BOOST_BIND_GLOBAL_PLACEHOLDERS
15
16#include <cpl.h>
17#include <sys/stat.h>
18
19#include <algorithm>
20#include <cctype>
21#include <unordered_map>
22#undef I
23#undef arg
24
25#include <boost/bind/bind.hpp>
26#include <boost/signals2/signal.hpp>
27#include <boost/tokenizer.hpp>
28
29#include "boost/property_tree/json_parser.hpp"
30#include "boost/property_tree/ptree.hpp"
31#include "ddt/ddtLogger.hpp"
32
36typedef boost::signals2::signal<void()> SignalT;
37
38namespace ddt {
39
44 public:
48 explicit InformationMapsAccess();
49
54
59 virtual void set_logger(ddt::DdtLogger* const in_logger);
60
65 virtual std::list<std::string> get_InformationMaps();
66
73 virtual boost::property_tree::ptree* get_InformationMap(
74 const std::string identification);
75
80 virtual void LoadInformationMaps(const std::string info_map_source) = 0;
81
82 protected:
87
91 std::unordered_map<std::string, boost::property_tree::ptree*>
93
94 private:
98 void Initialize();
99};
100
101} // namespace ddt
102
103#endif /* INFORMATIONMAPSACCESS_HPP */
Definition ddtLogger.hpp:43
virtual std::list< std::string > get_InformationMaps()
Definition informationMapsAccess.cpp:28
std::unordered_map< std::string, boost::property_tree::ptree * > information_maps
Definition informationMapsAccess.hpp:92
virtual void set_logger(ddt::DdtLogger *const in_logger)
Definition informationMapsAccess.cpp:22
virtual boost::property_tree::ptree * get_InformationMap(const std::string identification)
Definition informationMapsAccess.cpp:39
virtual void LoadInformationMaps(const std::string info_map_source)=0
ddt::DdtLogger * logger
Definition informationMapsAccess.hpp:86
InformationMapsAccess()
Definition informationMapsAccess.cpp:17
Class to wrap the usage of log4cplus as logging utility. This file provides a wrapper class for the u...
boost::signals2::signal< void()> SignalT
Definition ddtMemoryAccessor.hpp:73
Definition ddtClient.hpp:32