summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-29 00:00:50 +0000
committerAlan Conway <aconway@apache.org>2007-08-29 00:00:50 +0000
commit3ab19469e58c0dc234b163957d7d3d67ca4ba7dd (patch)
tree7acda7990b8c981350bd8556713ac51993be1b74 /qpid/cpp
parent7ad51191a98ee68353d25910ab19883ba3f2ff88 (diff)
downloadqpid-python-3ab19469e58c0dc234b163957d7d3d67ca4ba7dd.tar.gz
* rubygen/cppgen.rb: Use class Uuid for AMQP uuids.
* rubygen/templates/structs.rb: Use class Uuid for AMQP uuids. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@570595 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rwxr-xr-xqpid/cpp/rubygen/cppgen.rb4
-rw-r--r--qpid/cpp/rubygen/templates/structs.rb3
2 files changed, 2 insertions, 5 deletions
diff --git a/qpid/cpp/rubygen/cppgen.rb b/qpid/cpp/rubygen/cppgen.rb
index 0063231e84..c6f06e80c7 100755
--- a/qpid/cpp/rubygen/cppgen.rb
+++ b/qpid/cpp/rubygen/cppgen.rb
@@ -119,9 +119,7 @@ class AmqpDomain
"content"=>CppType.new("Content").passcref.retcref.code("Content"),
"rfc1982-long-set"=>CppType.new("SequenceNumberSet").passcref.retcref,
"long-struct"=>CppType.new("string").passcref.retcref.code("LongString"),
- # FIXME aconway 2007-08-25: Use Uuid class.
- # "uuid"=>CppType.new("Uuid").passcref.retcref.code,
- "uuid"=>CppType.new("string").passcref.retcref.code("ShortString")
+ "uuid"=>CppType.new("Uuid").passcref.retcref
}
def cppname() name.caps; end
diff --git a/qpid/cpp/rubygen/templates/structs.rb b/qpid/cpp/rubygen/templates/structs.rb
index 2543c43717..fd949eb53d 100644
--- a/qpid/cpp/rubygen/templates/structs.rb
+++ b/qpid/cpp/rubygen/templates/structs.rb
@@ -20,8 +20,7 @@ class StructGen < CppGen
"timestamp"=>"LongLong",
"table"=>"FieldTable",
"content"=>"Content",
- "long-struct"=>"LongString",
- "uuid" => "ShortString" # FIXME aconway 2007-08-27: Remove.
+ "long-struct"=>"LongString"
}
SizeMap={
"octet"=>"1",