ddt 1.1.0
Loading...
Searching...
No Matches
informationMapsAccess.hpp
Go to the documentation of this file.
1
20#ifndef INFORMATIONMAPSACCESS_HPP
21#define INFORMATIONMAPSACCESS_HPP
22
23#define BOOST_BIND_GLOBAL_PLACEHOLDERS
24
25#include <cpl.h>
26#include <sys/stat.h>
27
28#include <algorithm>
29#include <cctype>
30#include <unordered_map>
31#undef I
32#undef arg
33
34#include <boost/bind/bind.hpp>
35#include <boost/signals2/signal.hpp>
36#include <boost/tokenizer.hpp>
37
38#include "boost/property_tree/json_parser.hpp"
39#include "boost/property_tree/ptree.hpp"
40#include "ddt/ddtLogger.hpp"
41
45typedef boost::signals2::signal<void()> SignalT;
46
47namespace ddt {
48
53 public:
57 explicit InformationMapsAccess();
58
63
68 virtual void set_logger(ddt::DdtLogger* const in_logger);
69
74 virtual std::list<std::string> get_InformationMaps();
75
82 virtual boost::property_tree::ptree* get_InformationMap(
83 const std::string identification);
84
89 virtual void LoadInformationMaps(const std::string info_map_source) = 0;
90
91 protected:
96
100 std::unordered_map<std::string, boost::property_tree::ptree*>
102
103 private:
107 void Initialize();
108};
109
110} // namespace ddt
111
112#endif /* INFORMATIONMAPSACCESS_HPP */
113
Definition: ddtLogger.hpp:51
Definition: informationMapsAccess.hpp:52
virtual std::list< std::string > get_InformationMaps()
Definition: informationMapsAccess.cpp:37
std::unordered_map< std::string, boost::property_tree::ptree * > information_maps
Definition: informationMapsAccess.hpp:101
virtual void set_logger(ddt::DdtLogger *const in_logger)
Definition: informationMapsAccess.cpp:31
virtual boost::property_tree::ptree * get_InformationMap(const std::string identification)
Definition: informationMapsAccess.cpp:48
virtual void LoadInformationMaps(const std::string info_map_source)=0
ddt::DdtLogger * logger
Definition: informationMapsAccess.hpp:95
InformationMapsAccess()
Definition: informationMapsAccess.cpp:26
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: informationMapsAccess.hpp:45
Definition: ddtClient.hpp:39