IO.h
Go to the documentation of this file.
49 inline void write(std::ostream& os, const AnalysisObject& ao, const std::string& fmt, int precision=-1) {
AnalysisObject is the base class for histograms and scatters. Definition AnalysisObject.h:21 std::enable_if_t< YODA::Pushable< CONT, AnalysisObject * >::value > read(std::istream &stream, CONT &aos, const std::string &match="", const std::string &unmatch="") Read in a collection of objects objs from output stream stream. Definition Reader.h:50 void write(const std::string &filename, const AnalysisObject &ao) Write out object ao to file filename. Definition Writer.cc:49 void setPrecision(int precision) Set precision of numerical quantities in this writer's output. Definition Writer.h:143 Reader & mkReader(const std::string &format_name) Factory function to make a reader object by format name or a filename. Definition Reader.cc:15 void write(const std::string &filename, const AnalysisObject &ao, int precision=-1) Write out object ao to file filename. Definition IO.h:19 void read(const std::string &filename, std::vector< AnalysisObject * > &aos, const std::string &match="", const std::string &unmatch="") Read in a collection of objects objs from file filename. Definition IO.h:85 Writer & mkWriter(const std::string &format_name) Factory function to make a writer object by format name or a filename. Definition Writer.cc:25 Generated on Mon Oct 28 2024 13:47:23 for YODA - Yet more Objects for Data Analysis by 1.9.8 |