From c922ccae07d060f891848e688f7f1e29dc07c552 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 11 Sep 2007 11:25:27 +0000 Subject: 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/qpid@574551 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/rubygen/templates/structs.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cpp/rubygen/templates') diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb index 363fe4ec35..69405f05f5 100644 --- a/cpp/rubygen/templates/structs.rb +++ b/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) -- cgit v1.2.1