Source-highlight Library
doctemplate.h
1 
11 #ifndef _DOCTEMPLATE_H_
12 #define _DOCTEMPLATE_H_
13 
14 #include <string>
15 
16 namespace srchilite {
17 
18 class DocTemplate {
19  std::string begin_repr, end_repr;
20 public:
21  DocTemplate(const std::string &begin = "", const std::string &end = "");
22 
23  std::string output_begin(const std::string &title, const std::string &cs,
24  const std::string &add, const std::string &header,
25  const std::string &footer, const std::string &background,
26  const std::string &input_lang);
27  std::string output_end(const std::string &title, const std::string &cs,
28  const std::string &add, const std::string &header,
29  const std::string &footer, const std::string &background,
30  const std::string &input_lang);
31 
32  const std::string &toStringBegin() const {
33  return begin_repr;
34  }
35  const std::string &toStringEnd() const {
36  return end_repr;
37  }
38 };
39 
40 }
41 
42 #endif /*_DOCTEMPLATE_H_*/
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Definition: doctemplate.h:18