Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
test
types
print_allowed_configuration_tableFragment_t.cc
Go to the documentation of this file.
1
#include "
fhiclcpp/types/Atom.h
"
2
#include "
fhiclcpp/types/Sequence.h
"
3
#include "
fhiclcpp/types/Table.h
"
4
#include "
fhiclcpp/types/TableFragment.h
"
5
6
#include <iostream>
7
#include <string>
8
9
namespace
{
10
11
using namespace
fhicl
;
12
13
//============================================================================
14
// Job configuration
15
//
16
17
struct
S
{
18
Atom<std::string>
test
{
Name
(
"test"
),
Comment
(
"this works"
)};
19
Sequence<int>
sequence{
Name
(
"sequence"
)};
20
Sequence<double, 5>
array
{
Name
(
"array"
)};
21
};
22
23
struct
Config
{
24
TableFragment<S>
test
;
25
};
26
}
27
28
int
29
main
()
30
{
31
Table<Config>
pset{
Name
(
"pset"
)};
32
pset.print_allowed_configuration(std::cout);
33
}
Sequence.h
fhicl::Table< Config >
test
Definition:
PandoraAnalysis_module.cc:49
Name
ChannelGroupService::Name Name
Definition:
FixedChannelGroupService_service.cc:19
ValidateOpDetReco.S
S
Definition:
ValidateOpDetReco.py:310
art::detail::Config
typename config_impl< T >::type Config
Definition:
ModuleMacros.h:52
fhicl
Definition:
InputSourceFactory.h:7
TableFragment.h
fhicl::Atom< std::string >
fhicl::has_insertion_operator_impl::test
yes & test(std::ostream &)
fhicl::TableFragment
Definition:
type_traits.h:35
gar::dump::array
auto array(Array const &a)
Returns a manipulator which will print the specified array.
Definition:
DumpUtils.h:228
Comment
#define Comment
Definition:
commentscan.cpp:4062
Table.h
Atom.h
main
int main()
Definition:
print_allowed_configuration_tableFragment_t.cc:29
fhicl::Sequence< int >
Generated by
1.8.11