summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/templates
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-09-11 11:25:27 +0000
committerGordon Sim <gsim@apache.org>2007-09-11 11:25:27 +0000
commit8cd3a6fcf3e0831daf97a5e7b2fe69d4917b5310 (patch)
tree241ed1045cdc321a630932a90e6b3bd9665b2106 /qpid/cpp/rubygen/templates
parent14fffae30f6157a79c79ff4908d2eb68baf2143f (diff)
downloadqpid-python-8cd3a6fcf3e0831daf97a5e7b2fe69d4917b5310.tar.gz
Moved old ClientChannel class from using basic to using message for publish & consume.
(Get and qos still use the basic class's defintions, that will be changed next) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@574551 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/rubygen/templates')
-rw-r--r--qpid/cpp/rubygen/templates/structs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/qpid/cpp/rubygen/templates/structs.rb b/qpid/cpp/rubygen/templates/structs.rb
index 363fe4ec35..69405f05f5 100644
--- a/qpid/cpp/rubygen/templates/structs.rb
+++ b/qpid/cpp/rubygen/templates/structs.rb
@@ -152,6 +152,9 @@ EOS
def define_accessors(f)
genl "void set#{f.name.caps}(#{f.cpptype.param} _#{f.cppname}) { #{f.cppname} = _#{f.cppname}; }"
genl "#{f.cpptype.ret} get#{f.name.caps}() const { return #{f.cppname}; }"
+ if (f.cpptype.name == "FieldTable")
+ genl "#{f.cpptype.name}& get#{f.name.caps}() { return #{f.cppname}; }"
+ end
end
def define_struct(s)