Author: aconway
Date: Tue Aug 28 17:00:50 2007
New Revision: 570595
URL: http://svn.apache.org/viewvc?rev=570595&view=rev
Log:
* rubygen/cppgen.rb: Use class Uuid for AMQP uuids.
* rubygen/templates/structs.rb: Use class Uuid for AMQP uuids.
Modified:
incubator/qpid/trunk/qpid/cpp/rubygen/cppgen.rb
incubator/qpid/trunk/qpid/cpp/rubygen/templates/structs.rb
Modified: incubator/qpid/trunk/qpid/cpp/rubygen/cppgen.rb
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/rubygen/cppgen.rb?rev=570595&r1=570594&r2=570595&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/rubygen/cppgen.rb (original)
+++ incubator/qpid/trunk/qpid/cpp/rubygen/cppgen.rb Tue Aug 28 17:00:50 2007
@@ -119,9 +119,7 @@
"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
Modified: incubator/qpid/trunk/qpid/cpp/rubygen/templates/structs.rb
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/rubygen/templates/structs.rb?rev=570595&r1=570594&r2=570595&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/rubygen/templates/structs.rb (original)
+++ incubator/qpid/trunk/qpid/cpp/rubygen/templates/structs.rb Tue Aug 28
17:00:50 2007
@@ -20,8 +20,7 @@
"timestamp"=>"LongLong",
"table"=>"FieldTable",
"content"=>"Content",
- "long-struct"=>"LongString",
- "uuid" => "ShortString" # FIXME aconway 2007-08-27: Remove.
+ "long-struct"=>"LongString"
}
SizeMap={
"octet"=>"1",