LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
stringstream_mfPlugin.cc File Reference
#include "messagefacility/plugins/stringstream.h"
#include "cetlib/PluginTypeDeducer.h"
#include "cetlib/ProvideFilePathMacro.h"
#include "cetlib/ProvideMakePluginMacros.h"
#include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/types/AllowedConfigurationMacro.h"
#include "messagefacility/MessageService/ELdestination.h"
#include "messagefacility/MessageService/ELostreamOutput.h"
#include "messagefacility/Utilities/exception.h"
#include <iostream>
#include <map>
#include <memory>
#include <sstream>
#include <string>

Go to the source code of this file.

Functions

 MAKE_PLUGIN_START (auto, string const &psetName, fhicl::ParameterSet const &pset)
 

Function Documentation

MAKE_PLUGIN_START ( auto  ,
string const &  psetName,
fhicl::ParameterSet const &  pset 
)

Definition at line 40 of file stringstream_mfPlugin.cc.

References FHICL_PROVIDE_ALLOWED_CONFIGURATION.

41 {
42  auto ret = streams.emplace(psetName, cet::ostream_handle{ostringstream{}});
43  return make_unique<ELostreamOutput>(pset, ret.first->second);
44 }