HepMC3 event record library
ReaderFactory.cc File Reference

Detailed Description

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"
+ Include dependency graph for ReaderFactory.cc:

Go to the source code of this file.

Namespaces

namespace  HepMC3
 HepMC3 main namespace.
 

Functions

std::shared_ptr< Readerdeduce_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< Readerdeduce_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.