Public Member Functions | List of all members
ifdh_ns::IFDH Class Reference

#include <IFDH_service.h>

Inheritance diagram for ifdh_ns::IFDH:

Public Member Functions

 IFDH (fhicl::ParameterSet const &cfg)
 

Detailed Description

Definition at line 11 of file IFDH_service.h.

Constructor & Destructor Documentation

ifdh_ns::IFDH::IFDH ( fhicl::ParameterSet const &  cfg)

Definition at line 8 of file IFDH_service.cc.

9 {
10  std::vector<std::string> const cfgkeys = cfg.get_names();
11  std::string s;
12 
13  mf::LogVerbatim("test") << "IFDH constructor, got keys:";
14  for (auto const& key : cfgkeys) {
15  mf::LogVerbatim("test")<< key << ", ";
16  }
17 
18  if ( cfg.get_if_present("IFDH_BASE_URI", s) ) {
19  mf::LogVerbatim("test") << "IFDH: setting uri to:" << s << "\n";
20  this->set_base_uri(s);
21  } else {
22  mf::LogVerbatim("test") << "IFDH: didn't find a base uri...\n";
23  }
24  if ( cfg.get_if_present("debug", s) ) {
25  mf::LogVerbatim("test") << "IFDH: turning on debug\n";
26  this->set_debug(s);
27  }
28 }
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
std::string string
Definition: nybbler.cc:12
def key(type, name=None)
Definition: graph.py:13
static QCString * s
Definition: config.cpp:1042

The documentation for this class was generated from the following files: