print_allowed_configuration_delegatedParameter_t.cc
Go to the documentation of this file.
3 #include "fhiclcpp/types/Table.h"
4 
5 #include <iostream>
6 
7 using namespace fhicl;
8 
9 namespace {
10  struct S {
11  DelegatedParameter dp{Name("my_nested_delegate")};
12  OptionalDelegatedParameter odp{Name("my_optional_nested_delegate")};
13  };
14 
15  struct Config {
16  DelegatedParameter dp{Name("my_delegate")};
17  Table<S> s{Name("s")};
18  };
19 }
20 
21 int
23 {
24  Table<Config> pset{Name("pset")};
25  pset.print_allowed_configuration(std::cout);
26 }
ChannelGroupService::Name Name
typename config_impl< T >::type Config
Definition: ModuleMacros.h:52
static QCString * s
Definition: config.cpp:1042