From f3737cf4414656f9804dde96271ef426523df050 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Tue, 21 Aug 2007 20:11:20 +0000 Subject: Invocation now uses the visitor mechanism git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@568249 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/rubygen/templates/structs.rb | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'cpp/rubygen') diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb index 972a0386b9..571a85b827 100644 --- a/cpp/rubygen/templates/structs.rb +++ b/cpp/rubygen/templates/structs.rb @@ -129,45 +129,6 @@ class StructGen < CppGen inline ClassId amqpClassId() const { return CLASS_ID; } inline MethodId amqpMethodId() const { return METHOD_ID; } EOS - if (s.is_server_method?) - gen <#{s.cppname} - ( -EOS - if (s.amqp_parent.name == "message" && (s.name == "transfer" || s.name == "append")) - indent(4) { genl "*this" } - else - indent(4) { genl s.param_names.join(",\n") } - end - - genl <(target); - if (ptr) { - ptr->#{s.cppname}( -EOS - if (s.amqp_parent.name == "message" && (s.name == "transfer" || s.name == "append")) - indent(5) { genl "*this" } - else - indent(5) { genl s.param_names.join(",\n") } - end - - gen <