yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.2
ReaderFLAT.h
Go to the documentation of this file.
1// -*- C++ -*-
2//
3// This file is part of YODA -- Yet more Objects for Data Analysis
4// Copyright (C) 2008-2024 The YODA collaboration (see AUTHORS for details)
5//
6#ifndef YODA_READERFLAT_H
7#define YODA_READERFLAT_H
8
9#include "YODA/Reader.h"
10
11namespace YODA {
12
13
15 class ReaderFLAT : public Reader {
16 public:
17
19 static Reader& create();
20
22 ReaderFLAT(const ReaderFLAT&) = delete;
24
26 void operator=(const ReaderFLAT&) = delete;
27 void operator=(ReaderFLAT&&) = delete;
28
29 void read(std::istream& stream, std::vector<AnalysisObject*>& aos,
30 const std::string& match = "",
31 const std::string& unmatch = "");
32
33 private:
34
36 ReaderFLAT() { }
37
39 void registerDefaultTypes();
40
41 };
42
43}
44
45#endif
Persistency reader from YODA flat text data format.
Definition ReaderFLAT.h:15
ReaderFLAT(const ReaderFLAT &)=delete
Disable copy and move constructors.
ReaderFLAT(ReaderFLAT &&)=delete
void operator=(ReaderFLAT &&)=delete
void read(std::istream &stream, std::vector< AnalysisObject * > &aos, const std::string &match="", const std::string &unmatch="")
Read in a collection of objects objs from output stream stream.
void operator=(const ReaderFLAT &)=delete
Disable copy and move assignments.
static Reader & create()
Singleton creation function.
Pure virtual base class for various output writers.
Definition Reader.h:23
Anonymous namespace to limit visibility.