Writer.h
Go to the documentation of this file.
AnalysisObject is the base class for histograms and scatters. Definition AnalysisObject.h:21 void write(std::ostream &stream, const AOITER &begin, const AOITER &end) Definition Writer.h:96 virtual void writeHead(std::ostream &) Write any opening boilerplate required by the format to stream. Definition Writer.h:164 void write(std::ostream &stream, const AnalysisObject &ao) Write out object ao to output stream stream. Definition Writer.h:33 virtual void writeFoot(std::ostream &stream) Write any closing boilerplate required by the format to stream. Definition Writer.h:179 std::enable_if_t< DerefableToAO< T >::value > write(const std::string &filename, const T &ao) Write out pointer-like object ao to file filename. Definition Writer.h:49 std::enable_if_t< CIterable< RANGE >::value > write(std::ostream &stream, const RANGE &aos) Definition Writer.h:74 virtual void writeAO(std::ostream &stream, const AnalysisObject &ao)=0 virtual void writeBody(std::ostream &stream, const AnalysisObject *ao) Write the body elements corresponding to AnalysisObject ao to stream. Definition Writer.cc:98 void write(const std::string &filename, const AOITER &begin, const AOITER &end) Definition Writer.h:109 std::enable_if_t< CIterable< RANGE >::value > write(const std::string &filename, const RANGE &aos) Write out a collection of objects objs to file filename. Definition Writer.h:81 void write(const std::string &filename, const AnalysisObject &ao) Write out object ao to file filename. Definition Writer.cc:49 std::enable_if_t< DerefableToAO< T >::value > writeBody(std::ostream &stream, const T &ao) Write the body elements corresponding to AnalysisObject ao to stream. Definition Writer.h:176 void setAOPrecision(const bool needsDP=false) Set precision of numerical quantities for current AO in this writer's output. Definition Writer.h:148 void setPrecision(int precision) Set precision of numerical quantities in this writer's output. Definition Writer.h:143 std::enable_if_t< DerefableToAO< T >::value > write(std::ostream &stream, const T &ao) Write out pointer-like object ao to output stream stream. Definition Writer.h:42 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:24 for YODA - Yet more Objects for Data Analysis by 1.9.8 |