HepMC3 event record library
|
Implementation of deduce_reader and related functions.
Definition in file ReaderFactory.cc.
#include <memory>
#include <string>
#include <sys/stat.h>
#include "HepMC3/ReaderAscii.h"
#include "HepMC3/ReaderAsciiHepMC2.h"
#include "HepMC3/ReaderHEPEVT.h"
#include "HepMC3/ReaderLHEF.h"
#include "HepMC3/ReaderPlugin.h"
#include "HepMC3/ReaderFactory_fwd.h"
Go to the source code of this file.
Namespaces | |
namespace | HepMC3 |
HepMC3 main namespace. | |
Functions | |
std::shared_ptr< Reader > | deduce_reader (std::istream &stream) |
This function will deduce the type of input stream based on its content and will return appropriate Reader. | |
std::shared_ptr< Reader > | deduce_reader (std::shared_ptr< std::istream > stream) |
This function will deduce the type of input stream based on its content and will return appropriate Reader. | |