blob: 9e3795aa1006f0124d0ab3578a14003f45115541 [file] [log] [blame]
Mark Sleee9ce01c2007-05-16 02:29:53 +00001// Copyright (c) 2006- Facebook
2// Distributed under the Thrift Software License
3//
4// See accompanying file LICENSE or visit the Thrift site at:
5// http://developers.facebook.com/thrift/
6
Mark Slee74eea202007-02-05 21:47:03 +00007#ifndef T_DOC_H
8#define T_DOC_H
9
10/**
Mark Sleee9ce01c2007-05-16 02:29:53 +000011 * Documentation stubs
Mark Slee74eea202007-02-05 21:47:03 +000012 *
13 * @author Charlie Cheever <charlie@facebook.com>
14 */
15class t_doc {
16
Mark Sleee9ce01c2007-05-16 02:29:53 +000017 public:
18 void set_doc(const std::string& doc) {
19 doc_ = doc;
20 has_doc_ = true;
21 }
22
23 const std::string& get_doc() const {
24 return doc_;
25 }
26
27 bool has_doc() {
28 return has_doc_;
29 }
30
31 private:
32 std::string doc_;
33 bool has_doc_;
Mark Slee74eea202007-02-05 21:47:03 +000034
35};
36
37#endif