8 #ifndef __DIADES__UTILS__LITERATEPROGRAMMING_HH 9 #define __DIADES__UTILS__LITERATEPROGRAMMING_HH 14 #include <boost/format.hpp> 22 std::unique_ptr< std::ofstream >
_file;
28 using Fmt = boost::format;
32 void open(
const std::string& name);
33 void open(std::ostream & os);
38 void write(
const std::string& msg);
51 using Msg = boost::format;
52 #define LPOPENLATEX Diades::Utils::report.openLatex 53 #define LPOPEN Diades::Utils::report.open 54 #define LPCLOSE Diades::Utils::report.close 55 #define LP Diades::Utils::report.write 57 #define LPOPENLATEX(...)
std::unique_ptr< std::ofstream > _file
Namespace of the Diades project.
void openLatex(const std::string &name)
void write(const std::string &msg)
void open(const std::string &name)