LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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)
bool exists(std::string const &key) const
extended_value const & find(std::string const &key) const