summaryrefslogtreecommitdiff
path: root/cpp/rubygen/cppgen.rb
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-14 16:15:26 +0000
committerAlan Conway <aconway@apache.org>2007-08-14 16:15:26 +0000
commitcb65298edd497295d215220397f8fedff7b14aca (patch)
tree9f3a167ef11b0f3bd918507767fbf455d362d79d /cpp/rubygen/cppgen.rb
parentb3ddadd9b15088afecf1f9774d2004258b164258 (diff)
downloadqpid-python-cb65298edd497295d215220397f8fedff7b14aca.tar.gz
Removed unused types: RequestId, ResponseId, MethodContext.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@565821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/cppgen.rb')
-rwxr-xr-xcpp/rubygen/cppgen.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/rubygen/cppgen.rb b/cpp/rubygen/cppgen.rb
index 64987e763f..724634e514 100755
--- a/cpp/rubygen/cppgen.rb
+++ b/cpp/rubygen/cppgen.rb
@@ -172,6 +172,9 @@ class CppGen < Generator
def variantl(types) "boost::variant<#{types.join(", \n")}>"; end
def blank_variant(types) variant(["boost::blank"]+types); end
def tuple(types) "boost::tuple<#{types.join(', ')}>"; end
-
+
+ def public() outdent { genl "public:" } end
+ def private() outdent { genl "private:" } end
+ def protected() outdent { genl "protected:" } end
end