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

#include "/cvmfs/nova.opensciencegrid.org/externals/ifdh_art/v2_07_08/source/src/IFDHService/IFDH_service.h"

Inheritance diagram for ifdh_ns::IFDH:

Public Member Functions

 IFDH (fhicl::ParameterSet const &cfg, art::ActivityRegistry &r)
 

Detailed Description

Definition at line 16 of file IFDH_service.h.

Constructor & Destructor Documentation

ifdh_ns::IFDH::IFDH ( fhicl::ParameterSet const &  cfg,
art::ActivityRegistry r 
)

Definition at line 11 of file IFDH_service.cc.

References DEFINE_ART_SERVICE, fhicl::ParameterSet::get_if_present(), and fhicl::ParameterSet::get_names().

11  {
12  std::vector<std::string> cfgkeys = cfg.get_names();
13  std::string s;
14 
15  mf::LogVerbatim("test") << "IFDH constructor, got keys:";
16  for (std::vector<std::string>::iterator p = cfgkeys.begin(); p != cfgkeys.end(); p++ ) {
17  mf::LogVerbatim("test")<< *p << ", ";
18  }
19 
20  if ( cfg.get_if_present("IFDH_BASE_URI", s) ) {
21  mf::LogVerbatim("test") << "IFDH: setting uri to:" << s << "\n";
22  this->set_base_uri(s);
23  } else {
24  mf::LogVerbatim("test") << "IFDH: didn't find a base uri...\n";
25  }
26  if ( cfg.get_if_present("debug", s) ) {
27  mf::LogVerbatim("test") << "IFDH: turning on debug\n";
28  this->set_debug(s);
29  }
30 }
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
const char * p
Definition: xmltok.h:285
const XML_Char * s
Definition: expat.h:262
::xsd::cxx::tree::string< char, simple_type > string
Definition: Database.h:154

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