xsd_namespace keyword for thrift
Summary: So you can Spaceify the Shiznits
Reviewed By: fett
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664959 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/parse/t_program.h b/compiler/cpp/src/parse/t_program.h
index 9a86621..7f7af44 100644
--- a/compiler/cpp/src/parse/t_program.h
+++ b/compiler/cpp/src/parse/t_program.h
@@ -130,6 +130,13 @@
return java_package_;
}
+ void set_xsd_namespace(std::string xsd_namespace) {
+ xsd_namespace_ = xsd_namespace;
+ }
+
+ const std::string& get_xsd_namespace() const {
+ return xsd_namespace_;
+ }
private:
@@ -168,6 +175,9 @@
// Java package
std::string java_package_;
+ // XSD namespace
+ std::string xsd_namespace_;
+
};
#endif