diff options
author | Alan Conway <aconway@apache.org> | 2008-11-04 19:52:49 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-11-04 19:52:49 +0000 |
commit | eda249ff22edb3726243da81ff48c82e4d88e872 (patch) | |
tree | 0939d790e6a1b0d86993c9c3804c1adaa369aeb8 /cpp/rubygen/cppgen.rb | |
parent | 5d2471636928eff8b8031237c54348db0d5c388d (diff) | |
download | qpid-python-eda249ff22edb3726243da81ff48c82e4d88e872.tar.gz |
constants.rb: generate type code constants for AMQP types. Useful with Array.
framing/Array:
- added some std:::vector like functions & typedefs.
- use TypeCode enums, human readable ostream << operator.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711365 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/rubygen/cppgen.rb')
-rwxr-xr-x | cpp/rubygen/cppgen.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/cppgen.rb b/cpp/rubygen/cppgen.rb index 13f6f3744d..7818e1c4b0 100755 --- a/cpp/rubygen/cppgen.rb +++ b/cpp/rubygen/cppgen.rb @@ -147,7 +147,7 @@ end class AmqpElement # convert my amqp type_ attribute to a C++ type. def amqp2cpp() - return "ArrayDomain<#{ArrayTypes[name].amqp2cpp}> " if type_=="array" + return "ArrayDomain<#{array_type(name).amqp2cpp}> " if type_=="array" return type_.amqp2cpp end |