activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r508989 - /activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
Date Sun, 18 Feb 2007 20:44:38 GMT
Author: tabish
Date: Sun Feb 18 12:44:37 2007
New Revision: 508989

URL: http://svn.apache.org/viewvc?view=rev&rev=508989
Log:
http://issues.apache.org/activemq/browse/AMQCPP-30

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java

Modified: activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java?view=diff&rev=508989&r1=508988&r2=508989
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
(original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/openwire-scripts/AmqCppClassesGenerator.java
Sun Feb 18 12:44:37 2007
@@ -319,6 +319,10 @@
 out.println("        stream << \" Value of "+propertyName+"[\" << i" + parameterName+"
<< \"] = \" << this->"+getter+"()[i"+parameterName+"] << std::endl;"
);
 out.println("    }" );
 
+    } else if( type.equals("unsigned char") ){
+
+out.println("    stream << \" Value of "+propertyName+" = \" << (int)this->"+getter+"()
<< std::endl;");
+
     } else if( property.getType().isPrimitiveType() ||
                type.equals("std::string") ){
 



Mime
View raw message