LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ensureTable.cc
Go to the documentation of this file.
2 
4 
5 void
6 art::ensureTable(fhicl::intermediate_table& table, std::string const& name)
7 {
8  if (!table.exists(name)) {
9  table.putEmptyTable(name);
10  }
11 }
void ensureTable(fhicl::intermediate_table &table, std::string const &fhicl_spec)
Definition: ensureTable.cc:6
bool exists(std::string const &key) const
bool putEmptyTable(std::string const &name, bool in_prolog=false)