ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
slide_maker.hpp
Go to the documentation of this file.
1 #ifndef H_SLIDE_MAKER
2 #define H_SLIDE_MAKER
3 
4 #include <fstream>
5 #include <string>
6 #include <vector>
7 
8 class SlideMaker{
9 public:
10  SlideMaker(std::string fname, std::string aspect_ratio = "169");
11  ~SlideMaker() = default;
12 
13  void AddSlide(std::vector<std::string> pnames, int ncols = -1, std::string title = "");
14  void Close();
15 
16 private:
17  std::ofstream outfile_;
18  std::string filename_;
19 };
20 
21 #endif
SlideMaker(std::string fname, std::string aspect_ratio="169")
Definition: slide_maker.cpp:7
std::ofstream outfile_
Definition: slide_maker.hpp:17
void Close()
Definition: slide_maker.cpp:37
std::string filename_
Definition: slide_maker.hpp:18
~SlideMaker()=default
void AddSlide(std::vector< std::string > pnames, int ncols=-1, std::string title="")
Definition: slide_maker.cpp:15