LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
stringstream_mfPlugin.cc File Reference
#include "private/stringstream_streams.h"
#include "messagefacility/plugins/mfPlugin.h"
#include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/types/AllowedConfigurationMacro.h"
#include <memory>
#include <sstream>
#include <string>

Go to the source code of this file.

Functions

 MAKE_MFPLUGIN_START (psetName, pset)
 

Function Documentation

MAKE_MFPLUGIN_START ( psetName  ,
pset   
)

Definition at line 17 of file stringstream_mfPlugin.cc.

References FHICL_PROVIDE_ALLOWED_CONFIGURATION, MFPLUGIN_RESULT_BASE, and mf::priv::streams.

18 {
19  auto ret = streams.emplace(psetName, ostream_handle{ostringstream{}});
20  return make_unique<MFPLUGIN_RESULT_BASE>(pset, ret.first->second);
21 }
std::map< std::string, cet::ostream_handle > streams
Definition: stringstream.cc:9