ra4_draw
4bd0201e3d922d42bd545d4b045ed44db33454a4
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
inc
core
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::SlideMaker
SlideMaker(std::string fname, std::string aspect_ratio="169")
Definition:
slide_maker.cpp:7
SlideMaker::outfile_
std::ofstream outfile_
Definition:
slide_maker.hpp:17
SlideMaker::Close
void Close()
Definition:
slide_maker.cpp:37
SlideMaker::filename_
std::string filename_
Definition:
slide_maker.hpp:18
SlideMaker::~SlideMaker
~SlideMaker()=default
SlideMaker
Definition:
slide_maker.hpp:8
SlideMaker::AddSlide
void AddSlide(std::vector< std::string > pnames, int ncols=-1, std::string title="")
Definition:
slide_maker.cpp:15
Generated by
1.8.11