svn adding t_doc.h

Summary: charlie you missed this one!

Reviewed By: cheever


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664973 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/parse/t_doc.h b/compiler/cpp/src/parse/t_doc.h
new file mode 100644
index 0000000..daa277f
--- /dev/null
+++ b/compiler/cpp/src/parse/t_doc.h
@@ -0,0 +1,32 @@
+#ifndef T_DOC_H
+#define T_DOC_H
+
+/**
+ *
+ *
+ * @author Charlie Cheever <charlie@facebook.com>
+ */
+class t_doc {
+
+  public:
+
+    void set_doc(const std::string& doc) {
+      doc_ = doc;
+      has_doc_ = true;
+    }
+
+    const std::string& get_doc() const {
+      return doc_;
+    }
+
+    bool has_doc() {
+      return has_doc_;
+    }
+
+  private:
+    std::string doc_;
+    bool has_doc_;
+
+};
+
+#endif