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)
extended_value const & find(std::string const &name) const
Definition: config.py:1
bool exists(std::string const &name) const
enum BeamMode string