blob: daa277f9fe7ed4c7010778381b4e856597919d7f [file] [log] [blame]
Mark Slee74eea202007-02-05 21:47:03 +00001#ifndef T_DOC_H
2#define T_DOC_H
3
4/**
5 *
6 *
7 * @author Charlie Cheever <charlie@facebook.com>
8 */
9class t_doc {
10
11 public:
12
13 void set_doc(const std::string& doc) {
14 doc_ = doc;
15 has_doc_ = true;
16 }
17
18 const std::string& get_doc() const {
19 return doc_;
20 }
21
22 bool has_doc() {
23 return has_doc_;
24 }
25
26 private:
27 std::string doc_;
28 bool has_doc_;
29
30};
31
32#endif