#include "fhiclcpp/ParameterSet.h"
#include <iostream>
#include <string>
Go to the source code of this file.
Definition at line 13 of file to_indented_string_prefix_annotated_test.cc.
17 char const* fhicl_env =
getenv(
"FHICL_FILE_PATH");
19 if (fhicl_env ==
nullptr) {
20 std::cerr <<
"Expected environment variable FHICL_FILE_PATH is " 21 <<
"missing or empty: using \".\"\n";
28 std::string const in{
"to_indented_string_annotated_test.fcl"};
32 pset.put<
int>(
"another_number", 4);
33 pset.put_or_replace<
int>(
"some_number", 8);
34 pset.put_or_replace<
double>(
"double", 234.6);
36 std::cout << pset.to_indented_string(
static ParameterSet make(intermediate_table const &tbl)
std::string getenv(std::string const &name)
QTextStream & endl(QTextStream &s)