yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis  1.7.2

Persistency reader from YODA flat text data format. More...

#include <ReaderFLAT.h>

Inheritance diagram for YODA::ReaderFLAT:
YODA::Reader

Public Member Functions

void read (std::istream &stream, std::vector< AnalysisObject *> &aos)
 Read in a collection of objects objs from output stream stream. More...
 
- Public Member Functions inherited from YODA::Reader
virtual ~Reader ()
 Virtual destructor. More...
 
template<typename CONT >
std::enable_if< YODA::Pushable< CONT, AnalysisObject * >::value >::type read (std::istream &stream, CONT &aos)
 Read in a collection of objects objs from output stream stream. More...
 
std::vector< AnalysisObject * > read (std::istream &stream)
 Read in a collection of objects from output stream stream. More...
 
template<typename CONT >
std::enable_if< YODA::Pushable< CONT, AnalysisObject * >::value >::type read (const std::string &filename, CONT &aos)
 Read in a collection of objects objs from file filename. More...
 
void read (const std::string &filename, std::vector< AnalysisObject *> &aos)
 Read in a collection of objects objs from file filename. More...
 
std::vector< AnalysisObject * > read (const std::string &filename)
 Read in a collection of objects from output stream stream. More...
 

Static Public Member Functions

static Readercreate ()
 Singleton creation function. More...
 

Detailed Description

Persistency reader from YODA flat text data format.

Definition at line 20 of file ReaderFLAT.h.

Member Function Documentation

◆ create()

static Reader& YODA::ReaderFLAT::create ( )
static

Singleton creation function.

◆ read()

void YODA::ReaderFLAT::read ( std::istream &  stream,
std::vector< AnalysisObject *> &  aos 
)
virtual

Read in a collection of objects objs from output stream stream.

This version fills (actually, appends to) a supplied vector, avoiding copying, and is hence CPU efficient.

Implements YODA::Reader.


The documentation for this class was generated from the following file: