activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r741774 [15/17] - in /activemq/activemq-cpp/trunk/src: main/ main/activemq/commands/ main/activemq/core/ main/activemq/exceptions/ main/activemq/state/ main/activemq/wireformat/openwire/marshal/ main/activemq/wireformat/openwire/marshal/v1/...
Date Fri, 06 Feb 2009 23:11:39 GMT
Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTextMessageMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTextMessageMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTextMessageMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTextMessageMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ActiveMQTextMessage.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ActiveMQTextMessageMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTopicMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTopicMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTopicMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ActiveMQTopicMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ActiveMQTopic.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ActiveMQTopicMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BaseCommandMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BaseCommandMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BaseCommandMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BaseCommandMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/BaseCommand.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 void BaseCommandMarshaller::tightUnmarshal( OpenWireFormat* wireFormat, DataStructure* dataStructure, DataInputStream* dataIn, BooleanStream* bs ) throw( decaf::io::IOException ) {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerIdMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerIdMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerIdMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerIdMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/BrokerId.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* BrokerIdMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerInfoMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerInfoMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerInfoMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/BrokerInfoMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/BrokerInfo.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* BrokerInfoMarshaller::createObject() const {
@@ -57,16 +59,16 @@
 
         BrokerInfo* info =
             dynamic_cast<BrokerInfo*>( dataStructure );
-        info->setBrokerId( dynamic_cast< BrokerId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setBrokerId( Pointer<BrokerId>( dynamic_cast< BrokerId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
         info->setBrokerURL( tightUnmarshalString( dataIn, bs ) );
 
         if( bs->readBoolean() ) {
             short size = dataIn->readShort();
             info->getPeerBrokerInfos().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getPeerBrokerInfos().push_back( dynamic_cast< BrokerInfo* >(
-                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+                info->getPeerBrokerInfos().push_back( Pointer<BrokerInfo>( dynamic_cast< BrokerInfo* >(
+                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
             }
         }
         else {
@@ -96,7 +98,7 @@
             dynamic_cast<BrokerInfo*>( dataStructure );
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getBrokerId(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getBrokerId().get(), bs );
         rc += tightMarshalString1( info->getBrokerURL(), bs );
         rc += tightMarshalObjectArray1( wireFormat, info->getPeerBrokerInfos(), bs );
         rc += tightMarshalString1( info->getBrokerName(), bs );
@@ -125,7 +127,7 @@
 
         BrokerInfo* info =
             dynamic_cast<BrokerInfo*>( dataStructure );
-        tightMarshalCachedObject2( wireFormat, info->getBrokerId(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getBrokerId().get(), dataOut, bs );
         tightMarshalString2( info->getBrokerURL(), dataOut, bs );
         tightMarshalObjectArray2( wireFormat, info->getPeerBrokerInfos(), dataOut, bs );
         tightMarshalString2( info->getBrokerName(), dataOut, bs );
@@ -151,16 +153,16 @@
         BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         BrokerInfo* info =
             dynamic_cast<BrokerInfo*>( dataStructure );
-        info->setBrokerId( dynamic_cast< BrokerId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setBrokerId( Pointer<BrokerId>( dynamic_cast< BrokerId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
         info->setBrokerURL( looseUnmarshalString( dataIn ) );
 
         if( dataIn->readBoolean() ) {
             short size = dataIn->readShort();
             info->getPeerBrokerInfos().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getPeerBrokerInfos().push_back( dynamic_cast<BrokerInfo* >(
-                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+                info->getPeerBrokerInfos().push_back( Pointer<BrokerInfo>( dynamic_cast<BrokerInfo* >(
+                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
             }
         }
         else {
@@ -190,7 +192,7 @@
             dynamic_cast<BrokerInfo*>( dataStructure );
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalCachedObject( wireFormat, info->getBrokerId(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getBrokerId().get(), dataOut );
         looseMarshalString( info->getBrokerURL(), dataOut );
         looseMarshalObjectArray( wireFormat, info->getPeerBrokerInfos(), dataOut );
         looseMarshalString( info->getBrokerName(), dataOut );

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionControlMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionControlMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionControlMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionControlMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConnectionControl.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConnectionControlMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionErrorMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionErrorMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionErrorMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionErrorMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConnectionError.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConnectionErrorMarshaller::createObject() const {
@@ -57,10 +59,10 @@
 
         ConnectionError* info =
             dynamic_cast<ConnectionError*>( dataStructure );
-        info->setException( dynamic_cast< BrokerError* >(
-            tightUnmarshalBrokerError( wireFormat, dataIn, bs ) ) );
-        info->setConnectionId( dynamic_cast< ConnectionId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setException( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
+            tightUnmarshalBrokerError( wireFormat, dataIn, bs ) ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -76,8 +78,8 @@
             dynamic_cast<ConnectionError*>( dataStructure );
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalBrokerError1( wireFormat, info->getException(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getConnectionId(), bs );
+        rc += tightMarshalBrokerError1( wireFormat, info->getException().get(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getConnectionId().get(), bs );
 
         return rc + 0;
     }
@@ -95,8 +97,8 @@
 
         ConnectionError* info =
             dynamic_cast<ConnectionError*>( dataStructure );
-        tightMarshalBrokerError2( wireFormat, info->getException(), dataOut, bs );
-        tightMarshalNestedObject2( wireFormat, info->getConnectionId(), dataOut, bs );
+        tightMarshalBrokerError2( wireFormat, info->getException().get(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getConnectionId().get(), dataOut, bs );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -111,10 +113,10 @@
         BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         ConnectionError* info =
             dynamic_cast<ConnectionError*>( dataStructure );
-        info->setException( dynamic_cast< BrokerError* >(
-            looseUnmarshalBrokerError( wireFormat, dataIn ) ) );
-        info->setConnectionId( dynamic_cast< ConnectionId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setException( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
+            looseUnmarshalBrokerError( wireFormat, dataIn ) ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -130,8 +132,8 @@
             dynamic_cast<ConnectionError*>( dataStructure );
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalBrokerError( wireFormat, info->getException(), dataOut );
-        looseMarshalNestedObject( wireFormat, info->getConnectionId(), dataOut );
+        looseMarshalBrokerError( wireFormat, info->getException().get(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getConnectionId().get(), dataOut );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionIdMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionIdMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionIdMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionIdMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConnectionId.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConnectionIdMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionInfoMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionInfoMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionInfoMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConnectionInfoMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConnectionInfo.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConnectionInfoMarshaller::createObject() const {
@@ -57,8 +59,8 @@
 
         ConnectionInfo* info =
             dynamic_cast<ConnectionInfo*>( dataStructure );
-        info->setConnectionId( dynamic_cast< ConnectionId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
         info->setClientId( tightUnmarshalString( dataIn, bs ) );
         info->setPassword( tightUnmarshalString( dataIn, bs ) );
         info->setUserName( tightUnmarshalString( dataIn, bs ) );
@@ -67,8 +69,8 @@
             short size = dataIn->readShort();
             info->getBrokerPath().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getBrokerPath().push_back( dynamic_cast< BrokerId* >(
-                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+                info->getBrokerPath().push_back( Pointer<BrokerId>( dynamic_cast< BrokerId* >(
+                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
             }
         }
         else {
@@ -92,7 +94,7 @@
             dynamic_cast<ConnectionInfo*>( dataStructure );
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId().get(), bs );
         rc += tightMarshalString1( info->getClientId(), bs );
         rc += tightMarshalString1( info->getPassword(), bs );
         rc += tightMarshalString1( info->getUserName(), bs );
@@ -117,7 +119,7 @@
 
         ConnectionInfo* info =
             dynamic_cast<ConnectionInfo*>( dataStructure );
-        tightMarshalCachedObject2( wireFormat, info->getConnectionId(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getConnectionId().get(), dataOut, bs );
         tightMarshalString2( info->getClientId(), dataOut, bs );
         tightMarshalString2( info->getPassword(), dataOut, bs );
         tightMarshalString2( info->getUserName(), dataOut, bs );
@@ -139,8 +141,8 @@
         BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         ConnectionInfo* info =
             dynamic_cast<ConnectionInfo*>( dataStructure );
-        info->setConnectionId( dynamic_cast< ConnectionId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
         info->setClientId( looseUnmarshalString( dataIn ) );
         info->setPassword( looseUnmarshalString( dataIn ) );
         info->setUserName( looseUnmarshalString( dataIn ) );
@@ -149,8 +151,8 @@
             short size = dataIn->readShort();
             info->getBrokerPath().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getBrokerPath().push_back( dynamic_cast<BrokerId* >(
-                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+                info->getBrokerPath().push_back( Pointer<BrokerId>( dynamic_cast<BrokerId* >(
+                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
             }
         }
         else {
@@ -174,7 +176,7 @@
             dynamic_cast<ConnectionInfo*>( dataStructure );
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalCachedObject( wireFormat, info->getConnectionId(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getConnectionId().get(), dataOut );
         looseMarshalString( info->getClientId(), dataOut );
         looseMarshalString( info->getPassword(), dataOut );
         looseMarshalString( info->getUserName(), dataOut );

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerControlMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerControlMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerControlMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerControlMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConsumerControl.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConsumerControlMarshaller::createObject() const {
@@ -58,8 +60,8 @@
         ConsumerControl* info =
             dynamic_cast<ConsumerControl*>( dataStructure );
         info->setClose( bs->readBoolean() );
-        info->setConsumerId( dynamic_cast< ConsumerId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
         info->setPrefetch( dataIn->readInt() );
         info->setFlush( bs->readBoolean() );
         info->setStart( bs->readBoolean() );
@@ -80,7 +82,7 @@
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
         bs->writeBoolean( info->isClose() );
-        rc += tightMarshalNestedObject1( wireFormat, info->getConsumerId(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getConsumerId().get(), bs );
         bs->writeBoolean( info->isFlush() );
         bs->writeBoolean( info->isStart() );
         bs->writeBoolean( info->isStop() );
@@ -102,7 +104,7 @@
         ConsumerControl* info =
             dynamic_cast<ConsumerControl*>( dataStructure );
         bs->readBoolean();
-        tightMarshalNestedObject2( wireFormat, info->getConsumerId(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getConsumerId().get(), dataOut, bs );
         dataOut->writeInt( info->getPrefetch() );
         bs->readBoolean();
         bs->readBoolean();
@@ -122,8 +124,8 @@
         ConsumerControl* info =
             dynamic_cast<ConsumerControl*>( dataStructure );
         info->setClose( dataIn->readBoolean() );
-        info->setConsumerId( dynamic_cast< ConsumerId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
         info->setPrefetch( dataIn->readInt() );
         info->setFlush( dataIn->readBoolean() );
         info->setStart( dataIn->readBoolean() );
@@ -144,7 +146,7 @@
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
         dataOut->writeBoolean( info->isClose() );
-        looseMarshalNestedObject( wireFormat, info->getConsumerId(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getConsumerId().get(), dataOut );
         dataOut->writeInt( info->getPrefetch() );
         dataOut->writeBoolean( info->isFlush() );
         dataOut->writeBoolean( info->isStart() );

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerIdMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerIdMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerIdMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerIdMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConsumerId.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConsumerIdMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerInfoMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerInfoMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerInfoMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ConsumerInfoMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ConsumerInfo.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ConsumerInfoMarshaller::createObject() const {
@@ -57,11 +59,11 @@
 
         ConsumerInfo* info =
             dynamic_cast<ConsumerInfo*>( dataStructure );
-        info->setConsumerId( dynamic_cast< ConsumerId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
         info->setBrowser( bs->readBoolean() );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
         info->setPrefetchSize( dataIn->readInt() );
         info->setMaximumPendingMessageLimit( dataIn->readInt() );
         info->setDispatchAsync( bs->readBoolean() );
@@ -76,15 +78,15 @@
             short size = dataIn->readShort();
             info->getBrokerPath().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getBrokerPath().push_back( dynamic_cast< BrokerId* >(
-                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+                info->getBrokerPath().push_back( Pointer<BrokerId>( dynamic_cast< BrokerId* >(
+                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
             }
         }
         else {
             info->getBrokerPath().clear();
         }
-        info->setAdditionalPredicate( dynamic_cast< BooleanExpression* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setAdditionalPredicate( Pointer<BooleanExpression>( dynamic_cast< BooleanExpression* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
         info->setNetworkSubscription( bs->readBoolean() );
         info->setOptimizedAcknowledge( bs->readBoolean() );
         info->setNoRangeAcks( bs->readBoolean() );
@@ -103,9 +105,9 @@
             dynamic_cast<ConsumerInfo*>( dataStructure );
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId().get(), bs );
         bs->writeBoolean( info->isBrowser() );
-        rc += tightMarshalCachedObject1( wireFormat, info->getDestination(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getDestination().get(), bs );
         bs->writeBoolean( info->isDispatchAsync() );
         rc += tightMarshalString1( info->getSelector(), bs );
         rc += tightMarshalString1( info->getSubscriptionName(), bs );
@@ -113,7 +115,7 @@
         bs->writeBoolean( info->isExclusive() );
         bs->writeBoolean( info->isRetroactive() );
         rc += tightMarshalObjectArray1( wireFormat, info->getBrokerPath(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getAdditionalPredicate(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getAdditionalPredicate().get(), bs );
         bs->writeBoolean( info->isNetworkSubscription() );
         bs->writeBoolean( info->isOptimizedAcknowledge() );
         bs->writeBoolean( info->isNoRangeAcks() );
@@ -134,9 +136,9 @@
 
         ConsumerInfo* info =
             dynamic_cast<ConsumerInfo*>( dataStructure );
-        tightMarshalCachedObject2( wireFormat, info->getConsumerId(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getConsumerId().get(), dataOut, bs );
         bs->readBoolean();
-        tightMarshalCachedObject2( wireFormat, info->getDestination(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
         dataOut->writeInt( info->getPrefetchSize() );
         dataOut->writeInt( info->getMaximumPendingMessageLimit() );
         bs->readBoolean();
@@ -147,7 +149,7 @@
         bs->readBoolean();
         dataOut->write( info->getPriority() );
         tightMarshalObjectArray2( wireFormat, info->getBrokerPath(), dataOut, bs );
-        tightMarshalNestedObject2( wireFormat, info->getAdditionalPredicate(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getAdditionalPredicate().get(), dataOut, bs );
         bs->readBoolean();
         bs->readBoolean();
         bs->readBoolean();
@@ -165,11 +167,11 @@
         BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         ConsumerInfo* info =
             dynamic_cast<ConsumerInfo*>( dataStructure );
-        info->setConsumerId( dynamic_cast< ConsumerId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
         info->setBrowser( dataIn->readBoolean() );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
         info->setPrefetchSize( dataIn->readInt() );
         info->setMaximumPendingMessageLimit( dataIn->readInt() );
         info->setDispatchAsync( dataIn->readBoolean() );
@@ -184,15 +186,15 @@
             short size = dataIn->readShort();
             info->getBrokerPath().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getBrokerPath().push_back( dynamic_cast<BrokerId* >(
-                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+                info->getBrokerPath().push_back( Pointer<BrokerId>( dynamic_cast<BrokerId* >(
+                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
             }
         }
         else {
             info->getBrokerPath().clear();
         }
-        info->setAdditionalPredicate( dynamic_cast< BooleanExpression* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setAdditionalPredicate( Pointer<BooleanExpression>( dynamic_cast< BooleanExpression* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
         info->setNetworkSubscription( dataIn->readBoolean() );
         info->setOptimizedAcknowledge( dataIn->readBoolean() );
         info->setNoRangeAcks( dataIn->readBoolean() );
@@ -211,9 +213,9 @@
             dynamic_cast<ConsumerInfo*>( dataStructure );
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalCachedObject( wireFormat, info->getConsumerId(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getConsumerId().get(), dataOut );
         dataOut->writeBoolean( info->isBrowser() );
-        looseMarshalCachedObject( wireFormat, info->getDestination(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getDestination().get(), dataOut );
         dataOut->writeInt( info->getPrefetchSize() );
         dataOut->writeInt( info->getMaximumPendingMessageLimit() );
         dataOut->writeBoolean( info->isDispatchAsync() );
@@ -224,7 +226,7 @@
         dataOut->writeBoolean( info->isRetroactive() );
         dataOut->write( info->getPriority() );
         looseMarshalObjectArray( wireFormat, info->getBrokerPath(), dataOut );
-        looseMarshalNestedObject( wireFormat, info->getAdditionalPredicate(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getAdditionalPredicate().get(), dataOut );
         dataOut->writeBoolean( info->isNetworkSubscription() );
         dataOut->writeBoolean( info->isOptimizedAcknowledge() );
         dataOut->writeBoolean( info->isNoRangeAcks() );

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ControlCommandMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ControlCommandMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ControlCommandMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ControlCommandMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ControlCommand.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ControlCommandMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataArrayResponseMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataArrayResponseMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataArrayResponseMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataArrayResponseMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/DataArrayResponse.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* DataArrayResponseMarshaller::createObject() const {
@@ -62,8 +64,8 @@
             short size = dataIn->readShort();
             info->getData().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getData().push_back( dynamic_cast< DataStructure* >(
-                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+                info->getData().push_back( Pointer<DataStructure>( dynamic_cast< DataStructure* >(
+                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
             }
         }
         else {
@@ -122,8 +124,8 @@
             short size = dataIn->readShort();
             info->getData().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getData().push_back( dynamic_cast<DataStructure* >(
-                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+                info->getData().push_back( Pointer<DataStructure>( dynamic_cast<DataStructure* >(
+                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
             }
         }
         else {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataResponseMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataResponseMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataResponseMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DataResponseMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/DataResponse.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* DataResponseMarshaller::createObject() const {
@@ -57,8 +59,8 @@
 
         DataResponse* info =
             dynamic_cast<DataResponse*>( dataStructure );
-        info->setData( dynamic_cast< DataStructure* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setData( Pointer<DataStructure>( dynamic_cast< DataStructure* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -74,7 +76,7 @@
             dynamic_cast<DataResponse*>( dataStructure );
 
         int rc = ResponseMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getData(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getData().get(), bs );
 
         return rc + 0;
     }
@@ -92,7 +94,7 @@
 
         DataResponse* info =
             dynamic_cast<DataResponse*>( dataStructure );
-        tightMarshalNestedObject2( wireFormat, info->getData(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getData().get(), dataOut, bs );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -107,8 +109,8 @@
         ResponseMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         DataResponse* info =
             dynamic_cast<DataResponse*>( dataStructure );
-        info->setData( dynamic_cast< DataStructure* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setData( Pointer<DataStructure>( dynamic_cast< DataStructure* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -124,7 +126,7 @@
             dynamic_cast<DataResponse*>( dataStructure );
         ResponseMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalNestedObject( wireFormat, info->getData(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getData().get(), dataOut );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DestinationInfoMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DestinationInfoMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DestinationInfoMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DestinationInfoMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/DestinationInfo.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* DestinationInfoMarshaller::createObject() const {
@@ -57,10 +59,10 @@
 
         DestinationInfo* info =
             dynamic_cast<DestinationInfo*>( dataStructure );
-        info->setConnectionId( dynamic_cast< ConnectionId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
         info->setOperationType( dataIn->readByte() );
         info->setTimeout( tightUnmarshalLong( wireFormat, dataIn, bs ) );
 
@@ -68,8 +70,8 @@
             short size = dataIn->readShort();
             info->getBrokerPath().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getBrokerPath().push_back( dynamic_cast< BrokerId* >(
-                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+                info->getBrokerPath().push_back( Pointer<BrokerId>( dynamic_cast< BrokerId* >(
+                    tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
             }
         }
         else {
@@ -90,8 +92,8 @@
             dynamic_cast<DestinationInfo*>( dataStructure );
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId(), bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getDestination(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId().get(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getDestination().get(), bs );
         rc += tightMarshalLong1( wireFormat, info->getTimeout(), bs );
         rc += tightMarshalObjectArray1( wireFormat, info->getBrokerPath(), bs );
 
@@ -111,8 +113,8 @@
 
         DestinationInfo* info =
             dynamic_cast<DestinationInfo*>( dataStructure );
-        tightMarshalCachedObject2( wireFormat, info->getConnectionId(), dataOut, bs );
-        tightMarshalCachedObject2( wireFormat, info->getDestination(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getConnectionId().get(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
         dataOut->write( info->getOperationType() );
         tightMarshalLong2( wireFormat, info->getTimeout(), dataOut, bs );
         tightMarshalObjectArray2( wireFormat, info->getBrokerPath(), dataOut, bs );
@@ -130,10 +132,10 @@
         BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         DestinationInfo* info =
             dynamic_cast<DestinationInfo*>( dataStructure );
-        info->setConnectionId( dynamic_cast< ConnectionId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
         info->setOperationType( dataIn->readByte() );
         info->setTimeout( looseUnmarshalLong( wireFormat, dataIn ) );
 
@@ -141,8 +143,8 @@
             short size = dataIn->readShort();
             info->getBrokerPath().reserve( size );
             for( int i = 0; i < size; i++ ) {
-                info->getBrokerPath().push_back( dynamic_cast<BrokerId* >(
-                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+                info->getBrokerPath().push_back( Pointer<BrokerId>( dynamic_cast<BrokerId* >(
+                    looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
             }
         }
         else {
@@ -163,8 +165,8 @@
             dynamic_cast<DestinationInfo*>( dataStructure );
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalCachedObject( wireFormat, info->getConnectionId(), dataOut );
-        looseMarshalCachedObject( wireFormat, info->getDestination(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getConnectionId().get(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getDestination().get(), dataOut );
         dataOut->write( info->getOperationType() );
         looseMarshalLong( wireFormat, info->getTimeout(), dataOut );
         looseMarshalObjectArray( wireFormat, info->getBrokerPath(), dataOut );

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DiscoveryEventMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DiscoveryEventMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DiscoveryEventMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/DiscoveryEventMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/DiscoveryEvent.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* DiscoveryEventMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ExceptionResponseMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ExceptionResponseMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ExceptionResponseMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/ExceptionResponseMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/ExceptionResponse.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* ExceptionResponseMarshaller::createObject() const {
@@ -57,8 +59,8 @@
 
         ExceptionResponse* info =
             dynamic_cast<ExceptionResponse*>( dataStructure );
-        info->setException( dynamic_cast< BrokerError* >(
-            tightUnmarshalBrokerError( wireFormat, dataIn, bs ) ) );
+        info->setException( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
+            tightUnmarshalBrokerError( wireFormat, dataIn, bs ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -74,7 +76,7 @@
             dynamic_cast<ExceptionResponse*>( dataStructure );
 
         int rc = ResponseMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalBrokerError1( wireFormat, info->getException(), bs );
+        rc += tightMarshalBrokerError1( wireFormat, info->getException().get(), bs );
 
         return rc + 0;
     }
@@ -92,7 +94,7 @@
 
         ExceptionResponse* info =
             dynamic_cast<ExceptionResponse*>( dataStructure );
-        tightMarshalBrokerError2( wireFormat, info->getException(), dataOut, bs );
+        tightMarshalBrokerError2( wireFormat, info->getException().get(), dataOut, bs );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -107,8 +109,8 @@
         ResponseMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         ExceptionResponse* info =
             dynamic_cast<ExceptionResponse*>( dataStructure );
-        info->setException( dynamic_cast< BrokerError* >(
-            looseUnmarshalBrokerError( wireFormat, dataIn ) ) );
+        info->setException( Pointer<BrokerError>( dynamic_cast< BrokerError* >(
+            looseUnmarshalBrokerError( wireFormat, dataIn ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -124,7 +126,7 @@
             dynamic_cast<ExceptionResponse*>( dataStructure );
         ResponseMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalBrokerError( wireFormat, info->getException(), dataOut );
+        looseMarshalBrokerError( wireFormat, info->getException().get(), dataOut );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/FlushCommandMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/FlushCommandMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/FlushCommandMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/FlushCommandMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/FlushCommand.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* FlushCommandMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/IntegerResponseMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/IntegerResponseMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/IntegerResponseMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/IntegerResponseMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/IntegerResponse.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* IntegerResponseMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalQueueAckMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalQueueAckMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalQueueAckMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalQueueAckMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/JournalQueueAck.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* JournalQueueAckMarshaller::createObject() const {
@@ -57,10 +59,10 @@
 
         JournalQueueAck* info =
             dynamic_cast<JournalQueueAck*>( dataStructure );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
-        info->setMessageAck( dynamic_cast< MessageAck* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
+        info->setMessageAck( Pointer<MessageAck>( dynamic_cast< MessageAck* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -76,8 +78,8 @@
             dynamic_cast<JournalQueueAck*>( dataStructure );
 
         int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getDestination(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getMessageAck(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getDestination().get(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getMessageAck().get(), bs );
 
         return rc + 0;
     }
@@ -95,8 +97,8 @@
 
         JournalQueueAck* info =
             dynamic_cast<JournalQueueAck*>( dataStructure );
-        tightMarshalNestedObject2( wireFormat, info->getDestination(), dataOut, bs );
-        tightMarshalNestedObject2( wireFormat, info->getMessageAck(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getMessageAck().get(), dataOut, bs );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -111,10 +113,10 @@
         BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         JournalQueueAck* info =
             dynamic_cast<JournalQueueAck*>( dataStructure );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
-        info->setMessageAck( dynamic_cast< MessageAck* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
+        info->setMessageAck( Pointer<MessageAck>( dynamic_cast< MessageAck* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -130,8 +132,8 @@
             dynamic_cast<JournalQueueAck*>( dataStructure );
         BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalNestedObject( wireFormat, info->getDestination(), dataOut );
-        looseMarshalNestedObject( wireFormat, info->getMessageAck(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getDestination().get(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getMessageAck().get(), dataOut );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTopicAckMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTopicAckMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTopicAckMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTopicAckMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/JournalTopicAck.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* JournalTopicAckMarshaller::createObject() const {
@@ -57,15 +59,15 @@
 
         JournalTopicAck* info =
             dynamic_cast<JournalTopicAck*>( dataStructure );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
-        info->setMessageId( dynamic_cast< MessageId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
+        info->setMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
         info->setMessageSequenceId( tightUnmarshalLong( wireFormat, dataIn, bs ) );
         info->setSubscritionName( tightUnmarshalString( dataIn, bs ) );
         info->setClientId( tightUnmarshalString( dataIn, bs ) );
-        info->setTransactionId( dynamic_cast< TransactionId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -81,12 +83,12 @@
             dynamic_cast<JournalTopicAck*>( dataStructure );
 
         int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getDestination(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getMessageId(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getDestination().get(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getMessageId().get(), bs );
         rc += tightMarshalLong1( wireFormat, info->getMessageSequenceId(), bs );
         rc += tightMarshalString1( info->getSubscritionName(), bs );
         rc += tightMarshalString1( info->getClientId(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getTransactionId(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getTransactionId().get(), bs );
 
         return rc + 0;
     }
@@ -104,12 +106,12 @@
 
         JournalTopicAck* info =
             dynamic_cast<JournalTopicAck*>( dataStructure );
-        tightMarshalNestedObject2( wireFormat, info->getDestination(), dataOut, bs );
-        tightMarshalNestedObject2( wireFormat, info->getMessageId(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getMessageId().get(), dataOut, bs );
         tightMarshalLong2( wireFormat, info->getMessageSequenceId(), dataOut, bs );
         tightMarshalString2( info->getSubscritionName(), dataOut, bs );
         tightMarshalString2( info->getClientId(), dataOut, bs );
-        tightMarshalNestedObject2( wireFormat, info->getTransactionId(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getTransactionId().get(), dataOut, bs );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -124,15 +126,15 @@
         BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         JournalTopicAck* info =
             dynamic_cast<JournalTopicAck*>( dataStructure );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
-        info->setMessageId( dynamic_cast< MessageId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
+        info->setMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
         info->setMessageSequenceId( looseUnmarshalLong( wireFormat, dataIn ) );
         info->setSubscritionName( looseUnmarshalString( dataIn ) );
         info->setClientId( looseUnmarshalString( dataIn ) );
-        info->setTransactionId( dynamic_cast< TransactionId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -148,12 +150,12 @@
             dynamic_cast<JournalTopicAck*>( dataStructure );
         BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalNestedObject( wireFormat, info->getDestination(), dataOut );
-        looseMarshalNestedObject( wireFormat, info->getMessageId(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getDestination().get(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getMessageId().get(), dataOut );
         looseMarshalLong( wireFormat, info->getMessageSequenceId(), dataOut );
         looseMarshalString( info->getSubscritionName(), dataOut );
         looseMarshalString( info->getClientId(), dataOut );
-        looseMarshalNestedObject( wireFormat, info->getTransactionId(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getTransactionId().get(), dataOut );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTraceMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTraceMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTraceMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTraceMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/JournalTrace.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* JournalTraceMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTransactionMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTransactionMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTransactionMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/JournalTransactionMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/JournalTransaction.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* JournalTransactionMarshaller::createObject() const {
@@ -57,8 +59,8 @@
 
         JournalTransaction* info =
             dynamic_cast<JournalTransaction*>( dataStructure );
-        info->setTransactionId( dynamic_cast< TransactionId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
         info->setType( dataIn->readByte() );
         info->setWasPrepared( bs->readBoolean() );
     }
@@ -76,7 +78,7 @@
             dynamic_cast<JournalTransaction*>( dataStructure );
 
         int rc = BaseDataStreamMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getTransactionId(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getTransactionId().get(), bs );
         bs->writeBoolean( info->getWasPrepared() );
 
         return rc + 1;
@@ -95,7 +97,7 @@
 
         JournalTransaction* info =
             dynamic_cast<JournalTransaction*>( dataStructure );
-        tightMarshalNestedObject2( wireFormat, info->getTransactionId(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getTransactionId().get(), dataOut, bs );
         dataOut->write( info->getType() );
         bs->readBoolean();
     }
@@ -112,8 +114,8 @@
         BaseDataStreamMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         JournalTransaction* info =
             dynamic_cast<JournalTransaction*>( dataStructure );
-        info->setTransactionId( dynamic_cast< TransactionId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
         info->setType( dataIn->readByte() );
         info->setWasPrepared( dataIn->readBoolean() );
     }
@@ -131,7 +133,7 @@
             dynamic_cast<JournalTransaction*>( dataStructure );
         BaseDataStreamMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalNestedObject( wireFormat, info->getTransactionId(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getTransactionId().get(), dataOut );
         dataOut->write( info->getType() );
         dataOut->writeBoolean( info->getWasPrepared() );
     }

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/KeepAliveInfoMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/KeepAliveInfoMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/KeepAliveInfoMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/KeepAliveInfoMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/KeepAliveInfo.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* KeepAliveInfoMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LastPartialCommandMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LastPartialCommandMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LastPartialCommandMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LastPartialCommandMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/LastPartialCommand.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* LastPartialCommandMarshaller::createObject() const {

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LocalTransactionIdMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LocalTransactionIdMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LocalTransactionIdMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/LocalTransactionIdMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/LocalTransactionId.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* LocalTransactionIdMarshaller::createObject() const {
@@ -58,8 +60,8 @@
         LocalTransactionId* info =
             dynamic_cast<LocalTransactionId*>( dataStructure );
         info->setValue( tightUnmarshalLong( wireFormat, dataIn, bs ) );
-        info->setConnectionId( dynamic_cast< ConnectionId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -76,7 +78,7 @@
 
         int rc = TransactionIdMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
         rc += tightMarshalLong1( wireFormat, info->getValue(), bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getConnectionId().get(), bs );
 
         return rc + 0;
     }
@@ -95,7 +97,7 @@
         LocalTransactionId* info =
             dynamic_cast<LocalTransactionId*>( dataStructure );
         tightMarshalLong2( wireFormat, info->getValue(), dataOut, bs );
-        tightMarshalCachedObject2( wireFormat, info->getConnectionId(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getConnectionId().get(), dataOut, bs );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -111,8 +113,8 @@
         LocalTransactionId* info =
             dynamic_cast<LocalTransactionId*>( dataStructure );
         info->setValue( looseUnmarshalLong( wireFormat, dataIn ) );
-        info->setConnectionId( dynamic_cast< ConnectionId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setConnectionId( Pointer<ConnectionId>( dynamic_cast< ConnectionId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )
@@ -129,7 +131,7 @@
         TransactionIdMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
         looseMarshalLong( wireFormat, info->getValue(), dataOut );
-        looseMarshalCachedObject( wireFormat, info->getConnectionId(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getConnectionId().get(), dataOut );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
     AMQ_CATCH_EXCEPTION_CONVERT( exceptions::ActiveMQException, decaf::io::IOException )

Modified: activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/MessageAckMarshaller.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/MessageAckMarshaller.cpp?rev=741774&r1=741773&r2=741774&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/MessageAckMarshaller.cpp (original)
+++ activemq/activemq-cpp/trunk/src/main/activemq/wireformat/openwire/marshal/v3/MessageAckMarshaller.cpp Fri Feb  6 23:11:28 2009
@@ -19,6 +19,7 @@
 
 #include <activemq/commands/MessageAck.h>
 #include <activemq/exceptions/ActiveMQException.h>
+#include <decaf/lang/Pointer.h>
 
 //
 //     NOTE!: This file is autogenerated - do not modify!
@@ -37,6 +38,7 @@
 using namespace activemq::wireformat::openwire::marshal::v3;
 using namespace decaf;
 using namespace decaf::io;
+using namespace decaf::lang;
 
 ///////////////////////////////////////////////////////////////////////////////
 DataStructure* MessageAckMarshaller::createObject() const {
@@ -57,17 +59,17 @@
 
         MessageAck* info =
             dynamic_cast<MessageAck*>( dataStructure );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
-        info->setTransactionId( dynamic_cast< TransactionId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
-        info->setConsumerId( dynamic_cast< ConsumerId* >(
-            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
+        info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
+        info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >(
+            tightUnmarshalCachedObject( wireFormat, dataIn, bs ) ) ) );
         info->setAckType( dataIn->readByte() );
-        info->setFirstMessageId( dynamic_cast< MessageId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
-        info->setLastMessageId( dynamic_cast< MessageId* >(
-            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) );
+        info->setFirstMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
+        info->setLastMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >(
+            tightUnmarshalNestedObject( wireFormat, dataIn, bs ) ) ) );
         info->setMessageCount( dataIn->readInt() );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
@@ -84,11 +86,11 @@
             dynamic_cast<MessageAck*>( dataStructure );
 
         int rc = BaseCommandMarshaller::tightMarshal1( wireFormat, dataStructure, bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getDestination(), bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getTransactionId(), bs );
-        rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getFirstMessageId(), bs );
-        rc += tightMarshalNestedObject1( wireFormat, info->getLastMessageId(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getDestination().get(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getTransactionId().get(), bs );
+        rc += tightMarshalCachedObject1( wireFormat, info->getConsumerId().get(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getFirstMessageId().get(), bs );
+        rc += tightMarshalNestedObject1( wireFormat, info->getLastMessageId().get(), bs );
 
         return rc + 5;
     }
@@ -106,12 +108,12 @@
 
         MessageAck* info =
             dynamic_cast<MessageAck*>( dataStructure );
-        tightMarshalCachedObject2( wireFormat, info->getDestination(), dataOut, bs );
-        tightMarshalCachedObject2( wireFormat, info->getTransactionId(), dataOut, bs );
-        tightMarshalCachedObject2( wireFormat, info->getConsumerId(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getDestination().get(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getTransactionId().get(), dataOut, bs );
+        tightMarshalCachedObject2( wireFormat, info->getConsumerId().get(), dataOut, bs );
         dataOut->write( info->getAckType() );
-        tightMarshalNestedObject2( wireFormat, info->getFirstMessageId(), dataOut, bs );
-        tightMarshalNestedObject2( wireFormat, info->getLastMessageId(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getFirstMessageId().get(), dataOut, bs );
+        tightMarshalNestedObject2( wireFormat, info->getLastMessageId().get(), dataOut, bs );
         dataOut->writeInt( info->getMessageCount() );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
@@ -127,17 +129,17 @@
         BaseCommandMarshaller::looseUnmarshal( wireFormat, dataStructure, dataIn );
         MessageAck* info =
             dynamic_cast<MessageAck*>( dataStructure );
-        info->setDestination( dynamic_cast< ActiveMQDestination* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
-        info->setTransactionId( dynamic_cast< TransactionId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
-        info->setConsumerId( dynamic_cast< ConsumerId* >( 
-            looseUnmarshalCachedObject( wireFormat, dataIn ) ) );
+        info->setDestination( Pointer<ActiveMQDestination>( dynamic_cast< ActiveMQDestination* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
+        info->setTransactionId( Pointer<TransactionId>( dynamic_cast< TransactionId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
+        info->setConsumerId( Pointer<ConsumerId>( dynamic_cast< ConsumerId* >( 
+            looseUnmarshalCachedObject( wireFormat, dataIn ) ) ) );
         info->setAckType( dataIn->readByte() );
-        info->setFirstMessageId( dynamic_cast< MessageId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
-        info->setLastMessageId( dynamic_cast< MessageId* >( 
-            looseUnmarshalNestedObject( wireFormat, dataIn ) ) );
+        info->setFirstMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
+        info->setLastMessageId( Pointer<MessageId>( dynamic_cast< MessageId* >( 
+            looseUnmarshalNestedObject( wireFormat, dataIn ) ) ) );
         info->setMessageCount( dataIn->readInt() );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )
@@ -154,12 +156,12 @@
             dynamic_cast<MessageAck*>( dataStructure );
         BaseCommandMarshaller::looseMarshal( wireFormat, dataStructure, dataOut );
 
-        looseMarshalCachedObject( wireFormat, info->getDestination(), dataOut );
-        looseMarshalCachedObject( wireFormat, info->getTransactionId(), dataOut );
-        looseMarshalCachedObject( wireFormat, info->getConsumerId(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getDestination().get(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getTransactionId().get(), dataOut );
+        looseMarshalCachedObject( wireFormat, info->getConsumerId().get(), dataOut );
         dataOut->write( info->getAckType() );
-        looseMarshalNestedObject( wireFormat, info->getFirstMessageId(), dataOut );
-        looseMarshalNestedObject( wireFormat, info->getLastMessageId(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getFirstMessageId().get(), dataOut );
+        looseMarshalNestedObject( wireFormat, info->getLastMessageId().get(), dataOut );
         dataOut->writeInt( info->getMessageCount() );
     }
     AMQ_CATCH_RETHROW( decaf::io::IOException )



Mime
View raw message