exists_outside_prolog.h
Go to the documentation of this file.
1 #ifndef art_Framework_Art_detail_exists_outside_prolog_h
2 #define art_Framework_Art_detail_exists_outside_prolog_h
3 
5 
6 namespace art::detail {
7 
8  inline bool
10  std::string const& key)
11  {
12  return config.exists(key) && !config.find(key).in_prolog;
13  }
14 }
15 
16 #endif /* art_Framework_Art_detail_exists_outside_prolog_h */
17 
18 // Local variables:
19 // mode: c++
20 // End:
bool exists_outside_prolog(fhicl::intermediate_table const &config, std::string const &key)
std::string string
Definition: nybbler.cc:12
def key(type, name=None)
Definition: graph.py:13
static Config * config
Definition: config.cpp:1054
bool exists(std::string const &key) const
extended_value const & find(std::string const &key) const