Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
fhiclcpp
fhiclcpp
test
boost_test_print_pset.h
Go to the documentation of this file.
1
#ifndef fhiclcpp_test_boost_test_print_pset_h
2
#define fhiclcpp_test_boost_test_print_pset_h
3
4
// ==================================================================
5
// The function here is provided so that Boost knows how to form a
6
// printout message should a test (e.g. BOOST_TEST(ps1 == ps2)) fail.
7
// ==================================================================
8
9
#include "
fhiclcpp/ParameterSet.h
"
10
11
#include <ostream>
12
13
namespace
fhicl
{
14
inline
std::ostream&
15
boost_test_print_type
(std::ostream& os,
ParameterSet
const
& pset)
16
{
17
return
os << pset.
to_indented_string
();
18
}
19
}
20
21
#endif
/* fhiclcpp_test_boost_test_print_pset_h */
22
23
// Local Variables:
24
// mode: c++
25
// End:
ParameterSet.h
fhicl::boost_test_print_type
std::ostream & boost_test_print_type(std::ostream &os, ParameterSet const &pset)
Definition:
boost_test_print_pset.h:15
fhicl
Definition:
InputSourceFactory.h:7
fhicl::ParameterSet::to_indented_string
std::string to_indented_string() const
Definition:
ParameterSet.cc:466
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11