activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r926754 [1/2] - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/
Date Tue, 23 Mar 2010 19:50:27 GMT
Author: tabish
Date: Tue Mar 23 19:50:25 2010
New Revision: 926754

URL: http://svn.apache.org/viewvc?rev=926754&view=rev
Log:
Regenerated commands using new generator code, initializes all member data in the constructor initializer list to reduce the number of method calls that are made when a DataStructure object is created.  Improves overall performance and eliminates warnings produced by GCC when -Weffc++ is enabled.

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessageTemplate.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseCommand.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BooleanExpression.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LocalTransactionId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/RemoveSubscriptionInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ReplayCommand.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ReplayCommand.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Response.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Response.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SessionId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SessionInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SessionInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ShutdownInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ShutdownInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/SubscriptionInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/TransactionId.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/TransactionInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/TransactionInfo.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/WireFormatInfo.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/XATransactionId.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBlobMessage.cpp Tue Mar 23 19:50:25 2010
@@ -26,9 +26,15 @@ using namespace activemq::commands;
 ////////////////////////////////////////////////////////////////////////////////
 const std::string ActiveMQBlobMessage::BINARY_MIME_TYPE = "application/octet-stream";
 
+std::string remoteBlobUrl;
+std::string mimeType;
+std::string name;
+bool deletedByBroker;
+
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQBlobMessage::ActiveMQBlobMessage() :
-    mimeType( ActiveMQBlobMessage::BINARY_MIME_TYPE ), deletedByBroker( false ) {
+ActiveMQBlobMessage::ActiveMQBlobMessage() : ActiveMQMessageTemplate<cms::Message>(),
+                                             remoteBlobUrl(), mimeType( ActiveMQBlobMessage::BINARY_MIME_TYPE ),
+                                             name(), deletedByBroker( false ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp Tue Mar 23 19:50:25 2010
@@ -44,6 +44,11 @@ namespace{
 
         int* length;
 
+    private:
+
+        ByteCounterOutputStream( const ByteCounterOutputStream& );
+        ByteCounterOutputStream operator= ( const ByteCounterOutputStream& );
+
     public:
 
         ByteCounterOutputStream( int* length, OutputStream* stream, bool own = false )
@@ -82,7 +87,7 @@ namespace{
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQBytesMessage::ActiveMQBytesMessage() :
-    ActiveMQMessageTemplate< cms::BytesMessage >(), length( 0 ) {
+    ActiveMQMessageTemplate<cms::BytesMessage>(), bytesOut(NULL), dataIn(), dataOut(), length(0) {
 
     this->clearBody();
 }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQDestination.cpp Tue Mar 23 19:50:25 2010
@@ -50,24 +50,25 @@ const std::string ActiveMQDestination::T
 const std::string ActiveMQDestination::TEMP_QUEUE_QUALIFED_PREFIX = "temp-queue://";
 const std::string ActiveMQDestination::TEMP_TOPIC_QUALIFED_PREFIX = "temp-topic://";
 
+bool exclusive;
+bool ordered;
+bool advisory;
+std::string orderedTarget;
+
+std::string physicalName;
+util::ActiveMQProperties options;
+
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQDestination::ActiveMQDestination() {
+ActiveMQDestination::ActiveMQDestination() :
+    BaseDataStructure(), exclusive(false), ordered(false), advisory(false), orderedTarget(DEFAULT_ORDERED_TARGET), physicalName(), options() {
 
-    this->physicalName = "";
-    this->orderedTarget = DEFAULT_ORDERED_TARGET;
-    this->exclusive = false;
-    this->ordered = false;
-    this->advisory = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQDestination::ActiveMQDestination( const std::string& physicalName ) {
+ActiveMQDestination::ActiveMQDestination( const std::string& physicalName ) :
+    BaseDataStructure(), exclusive(false), ordered(false), advisory(false), orderedTarget(DEFAULT_ORDERED_TARGET), physicalName(), options() {
 
     this->setPhysicalName( physicalName );
-    this->orderedTarget = DEFAULT_ORDERED_TARGET;
-    this->exclusive = false;
-    this->ordered = false;
-    this->advisory = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMapMessage.cpp Tue Mar 23 19:50:25 2010
@@ -45,7 +45,7 @@ using namespace activemq::wireformat::op
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQMapMessage::ActiveMQMapMessage() :
-    ActiveMQMessageTemplate<cms::MapMessage>() {
+    ActiveMQMessageTemplate<cms::MapMessage>(), map() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessageTemplate.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessageTemplate.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessageTemplate.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQMessageTemplate.h Tue Mar 23 19:50:25 2010
@@ -45,7 +45,7 @@ namespace commands {
 
     public:
 
-        ActiveMQMessageTemplate() : commands::Message() {
+        ActiveMQMessageTemplate() : commands::Message(), propertiesInterceptor() {
             this->propertiesInterceptor.reset(
                 new wireformat::openwire::utils::MessagePropertyInterceptor(
                     this, &this->getMessageProperties() ) );

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQStreamMessage.cpp Tue Mar 23 19:50:25 2010
@@ -58,7 +58,7 @@ using namespace decaf::util::zip;
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQStreamMessage::ActiveMQStreamMessage() :
-    ActiveMQMessageTemplate< cms::StreamMessage >() {
+    ActiveMQMessageTemplate< cms::StreamMessage >(), bytesOut(NULL), dataIn(), dataOut(), remainingBytes(-1) {
 
     this->clearBody();
 }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTempDestination.h Tue Mar 23 19:50:25 2010
@@ -50,6 +50,11 @@ namespace commands{
 
         const static unsigned char ID_ACTIVEMQTEMPDESTINATION = 0;
 
+    private:
+
+        ActiveMQTempDestination( const ActiveMQTempDestination& ) : ActiveMQDestination(), connection(NULL) {};
+        ActiveMQTempDestination& operator= ( const ActiveMQTempDestination& ) { return *this; };
+
     public:
 
         ActiveMQTempDestination();

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ActiveMQTextMessage.cpp Tue Mar 23 19:50:25 2010
@@ -41,7 +41,7 @@ using namespace decaf::util::zip;
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQTextMessage::ActiveMQTextMessage() :
-    ActiveMQMessageTemplate<cms::TextMessage>() {
+    ActiveMQMessageTemplate<cms::TextMessage>(), text() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseCommand.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseCommand.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BaseCommand.h Tue Mar 23 19:50:25 2010
@@ -32,9 +32,7 @@ namespace commands{
 
     public:
 
-        BaseCommand() {
-            this->commandId = 0;
-            this->responseRequired = false;
+        BaseCommand() : Command(), responseRequired(false), commandId(0) {
         }
 
         virtual ~BaseCommand() {}

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BooleanExpression.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BooleanExpression.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BooleanExpression.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BooleanExpression.h Tue Mar 23 19:50:25 2010
@@ -27,7 +27,7 @@ namespace commands{
     class AMQCPP_API BooleanExpression : public BaseDataStructure {
     public:
 
-        BooleanExpression() {}
+        BooleanExpression() : BaseDataStructure() {}
         virtual ~BooleanExpression() {}
 
         /**

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.cpp Tue Mar 23 19:50:25 2010
@@ -26,6 +26,10 @@ using namespace activemq::commands;
 using namespace decaf::lang::exceptions;
 
 ////////////////////////////////////////////////////////////////////////////////
+BrokerError::BrokerError() : BaseCommand(), message(), exceptionClass(), stackTraceElements(), cause() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
 BrokerError::~BrokerError() {
     this->stackTraceElements.clear();
 }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerError.h Tue Mar 23 19:50:25 2010
@@ -53,7 +53,8 @@ namespace commands{
 
     public:
 
-        BrokerError() {}
+        BrokerError();
+
         virtual ~BrokerError();
 
         /**

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerId.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerId.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerId.cpp Tue Mar 23 19:50:25 2010
@@ -39,13 +39,15 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-BrokerId::BrokerId() : BaseDataStructure() {
+BrokerId::BrokerId() 
+    : BaseDataStructure(), value("") {
 
-    this->value = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-BrokerId::BrokerId( const BrokerId& other ) : BaseDataStructure() {
+BrokerId::BrokerId( const BrokerId& other )
+    : BaseDataStructure(), value("") {
+
     this->copyDataStructure( &other );
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.cpp Tue Mar 23 19:50:25 2010
@@ -38,18 +38,11 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-BrokerInfo::BrokerInfo() : BaseCommand() {
+BrokerInfo::BrokerInfo() 
+    : BaseCommand(), brokerId(NULL), brokerURL(""), peerBrokerInfos(NULL), brokerName(""), slaveBroker(false), masterBroker(false), 
+      faultTolerantConfiguration(false), duplexConnection(false), networkConnection(false), connectionId(0), brokerUploadUrl(""), 
+      networkProperties("") {
 
-    this->brokerURL = "";
-    this->brokerName = "";
-    this->slaveBroker = false;
-    this->masterBroker = false;
-    this->faultTolerantConfiguration = false;
-    this->duplexConnection = false;
-    this->networkConnection = false;
-    this->connectionId = 0;
-    this->brokerUploadUrl = "";
-    this->networkProperties = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/BrokerInfo.h Tue Mar 23 19:50:25 2010
@@ -65,10 +65,10 @@ namespace commands{
 
         const static unsigned char ID_BROKERINFO = 2;
 
-    protected:
+    private:
 
-        BrokerInfo( const BrokerInfo& ) : BaseCommand() {};
-        BrokerInfo& operator= ( const BrokerInfo& ) { return *this; };
+        BrokerInfo( const BrokerInfo& );
+        BrokerInfo& operator= ( const BrokerInfo& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.cpp Tue Mar 23 19:50:25 2010
@@ -38,16 +38,10 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionControl::ConnectionControl() : BaseCommand() {
+ConnectionControl::ConnectionControl() 
+    : BaseCommand(), close(false), exit(false), faultTolerant(false), resume(false), suspend(false), connectedBrokers(""), reconnectTo(""), 
+      rebalanceConnection(false) {
 
-    this->close = false;
-    this->exit = false;
-    this->faultTolerant = false;
-    this->resume = false;
-    this->suspend = false;
-    this->connectedBrokers = "";
-    this->reconnectTo = "";
-    this->rebalanceConnection = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionControl.h Tue Mar 23 19:50:25 2010
@@ -59,10 +59,10 @@ namespace commands{
 
         const static unsigned char ID_CONNECTIONCONTROL = 18;
 
-    protected:
+    private:
 
-        ConnectionControl( const ConnectionControl& ) : BaseCommand() {};
-        ConnectionControl& operator= ( const ConnectionControl& ) { return *this; };
+        ConnectionControl( const ConnectionControl& );
+        ConnectionControl& operator= ( const ConnectionControl& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionError::ConnectionError() : BaseCommand() {
+ConnectionError::ConnectionError() 
+    : BaseCommand(), exception(NULL), connectionId(NULL) {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionError.h Tue Mar 23 19:50:25 2010
@@ -55,10 +55,10 @@ namespace commands{
 
         const static unsigned char ID_CONNECTIONERROR = 16;
 
-    protected:
+    private:
 
-        ConnectionError( const ConnectionError& ) : BaseCommand() {};
-        ConnectionError& operator= ( const ConnectionError& ) { return *this; };
+        ConnectionError( const ConnectionError& );
+        ConnectionError& operator= ( const ConnectionError& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionId.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionId.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionId.cpp Tue Mar 23 19:50:25 2010
@@ -42,28 +42,36 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionId::ConnectionId() : BaseDataStructure() {
+ConnectionId::ConnectionId() 
+    : BaseDataStructure(), value("") {
 
-    this->value = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionId::ConnectionId( const ConnectionId& other ) : BaseDataStructure() {
+ConnectionId::ConnectionId( const ConnectionId& other )
+    : BaseDataStructure(), value("") {
+
     this->copyDataStructure( &other );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionId::ConnectionId( const SessionId* sessionId ) {
+ConnectionId::ConnectionId( const SessionId* sessionId )
+    : BaseDataStructure(), value("") {
+
     this->value = sessionId->getConnectionId();
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionId::ConnectionId( const ProducerId* producerId ) {
+ConnectionId::ConnectionId( const ProducerId* producerId )
+    : BaseDataStructure(), value("") {
+
     this->value = producerId->getConnectionId();
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionId::ConnectionId( const ConsumerId* consumerId ) {
+ConnectionId::ConnectionId( const ConsumerId* consumerId )
+    : BaseDataStructure(), value("") {
+
     this->value = consumerId->getConnectionId();
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.cpp Tue Mar 23 19:50:25 2010
@@ -38,15 +38,10 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConnectionInfo::ConnectionInfo() : BaseCommand() {
+ConnectionInfo::ConnectionInfo() 
+    : BaseCommand(), connectionId(NULL), clientId(""), password(""), userName(""), brokerPath(NULL), brokerMasterConnector(false), 
+      manageable(false), clientMaster(false), faultTolerant(false) {
 
-    this->clientId = "";
-    this->password = "";
-    this->userName = "";
-    this->brokerMasterConnector = false;
-    this->manageable = false;
-    this->clientMaster = false;
-    this->faultTolerant = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConnectionInfo.h Tue Mar 23 19:50:25 2010
@@ -63,10 +63,10 @@ namespace commands{
 
         const static unsigned char ID_CONNECTIONINFO = 3;
 
-    protected:
+    private:
 
-        ConnectionInfo( const ConnectionInfo& ) : BaseCommand() {};
-        ConnectionInfo& operator= ( const ConnectionInfo& ) { return *this; };
+        ConnectionInfo( const ConnectionInfo& );
+        ConnectionInfo& operator= ( const ConnectionInfo& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.cpp Tue Mar 23 19:50:25 2010
@@ -38,13 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConsumerControl::ConsumerControl() : BaseCommand() {
+ConsumerControl::ConsumerControl() 
+    : BaseCommand(), destination(NULL), close(false), consumerId(NULL), prefetch(0), flush(false), start(false), stop(false) {
 
-    this->close = false;
-    this->prefetch = 0;
-    this->flush = false;
-    this->start = false;
-    this->stop = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerControl.h Tue Mar 23 19:50:25 2010
@@ -60,10 +60,10 @@ namespace commands{
 
         const static unsigned char ID_CONSUMERCONTROL = 17;
 
-    protected:
+    private:
 
-        ConsumerControl( const ConsumerControl& ) : BaseCommand() {};
-        ConsumerControl& operator= ( const ConsumerControl& ) { return *this; };
+        ConsumerControl( const ConsumerControl& );
+        ConsumerControl& operator= ( const ConsumerControl& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.cpp Tue Mar 23 19:50:25 2010
@@ -40,19 +40,28 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConsumerId::ConsumerId() : BaseDataStructure() {
+ConsumerId::ConsumerId() 
+    : BaseDataStructure(), parentId(), connectionId(""), sessionId(0), value(0) {
 
-    this->connectionId = "";
-    this->sessionId = 0;
-    this->value = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ConsumerId::ConsumerId( const ConsumerId& other ) : BaseDataStructure() {
+ConsumerId::ConsumerId( const ConsumerId& other )
+    : BaseDataStructure(), parentId(), connectionId(""), sessionId(0), value(0) {
+
     this->copyDataStructure( &other );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
+ConsumerId::ConsumerId( const SessionId& sessionId, long long consumerIdd )
+    : BaseDataStructure(), parentId(), connectionId(""), sessionId(0), value(0) {
+
+    this->connectionId = sessionId.getConnectionId();
+    this->sessionId = sessionId.getValue();
+    this->value = consumerIdd;
+}
+
+////////////////////////////////////////////////////////////////////////////////
 ConsumerId::~ConsumerId() {
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerId.h Tue Mar 23 19:50:25 2010
@@ -68,11 +68,7 @@ namespace commands{
 
         ConsumerId( const ConsumerId& other );
 
-        ConsumerId( const SessionId& sessionId, long long consumerIdd ) {
-            this->connectionId = sessionId.getConnectionId();
-            this->sessionId = sessionId.getValue();
-            this->value = consumerIdd;
-        }
+        ConsumerId( const SessionId& sessionId, long long consumerIdd );
 
         virtual ~ConsumerId();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.cpp Tue Mar 23 19:50:25 2010
@@ -38,21 +38,11 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ConsumerInfo::ConsumerInfo() : BaseCommand() {
+ConsumerInfo::ConsumerInfo() 
+    : BaseCommand(), consumerId(NULL), browser(false), destination(NULL), prefetchSize(0), maximumPendingMessageLimit(0), dispatchAsync(false), 
+      selector(""), subscriptionName(""), noLocal(false), exclusive(false), retroactive(false), priority(0), brokerPath(NULL), 
+      additionalPredicate(NULL), networkSubscription(false), optimizedAcknowledge(false), noRangeAcks(false), networkConsumerPath(NULL) {
 
-    this->browser = false;
-    this->prefetchSize = 0;
-    this->maximumPendingMessageLimit = 0;
-    this->dispatchAsync = false;
-    this->selector = "";
-    this->subscriptionName = "";
-    this->noLocal = false;
-    this->exclusive = false;
-    this->retroactive = false;
-    this->priority = 0;
-    this->networkSubscription = false;
-    this->optimizedAcknowledge = false;
-    this->noRangeAcks = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ConsumerInfo.h Tue Mar 23 19:50:25 2010
@@ -74,10 +74,10 @@ namespace commands{
 
         const static unsigned char ID_CONSUMERINFO = 5;
 
-    protected:
+    private:
 
-        ConsumerInfo( const ConsumerInfo& ) : BaseCommand() {};
-        ConsumerInfo& operator= ( const ConsumerInfo& ) { return *this; };
+        ConsumerInfo( const ConsumerInfo& );
+        ConsumerInfo& operator= ( const ConsumerInfo& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ControlCommand::ControlCommand() : BaseCommand() {
+ControlCommand::ControlCommand() 
+    : BaseCommand(), command("") {
 
-    this->command = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ControlCommand.h Tue Mar 23 19:50:25 2010
@@ -52,10 +52,10 @@ namespace commands{
 
         const static unsigned char ID_CONTROLCOMMAND = 14;
 
-    protected:
+    private:
 
-        ControlCommand( const ControlCommand& ) : BaseCommand() {};
-        ControlCommand& operator= ( const ControlCommand& ) { return *this; };
+        ControlCommand( const ControlCommand& );
+        ControlCommand& operator= ( const ControlCommand& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-DataArrayResponse::DataArrayResponse() : Response() {
+DataArrayResponse::DataArrayResponse() 
+    : Response(), data(NULL) {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataArrayResponse.h Tue Mar 23 19:50:25 2010
@@ -53,10 +53,10 @@ namespace commands{
 
         const static unsigned char ID_DATAARRAYRESPONSE = 33;
 
-    protected:
+    private:
 
-        DataArrayResponse( const DataArrayResponse& ) : Response() {};
-        DataArrayResponse& operator= ( const DataArrayResponse& ) { return *this; };
+        DataArrayResponse( const DataArrayResponse& );
+        DataArrayResponse& operator= ( const DataArrayResponse& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-DataResponse::DataResponse() : Response() {
+DataResponse::DataResponse() 
+    : Response(), data(NULL) {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DataResponse.h Tue Mar 23 19:50:25 2010
@@ -53,10 +53,10 @@ namespace commands{
 
         const static unsigned char ID_DATARESPONSE = 32;
 
-    protected:
+    private:
 
-        DataResponse( const DataResponse& ) : Response() {};
-        DataResponse& operator= ( const DataResponse& ) { return *this; };
+        DataResponse( const DataResponse& );
+        DataResponse& operator= ( const DataResponse& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.cpp Tue Mar 23 19:50:25 2010
@@ -38,10 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-DestinationInfo::DestinationInfo() : BaseCommand() {
+DestinationInfo::DestinationInfo() 
+    : BaseCommand(), connectionId(NULL), destination(NULL), operationType(0), timeout(0), brokerPath(NULL) {
 
-    this->operationType = 0;
-    this->timeout = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DestinationInfo.h Tue Mar 23 19:50:25 2010
@@ -59,10 +59,10 @@ namespace commands{
 
         const static unsigned char ID_DESTINATIONINFO = 8;
 
-    protected:
+    private:
 
-        DestinationInfo( const DestinationInfo& ) : BaseCommand() {};
-        DestinationInfo& operator= ( const DestinationInfo& ) { return *this; };
+        DestinationInfo( const DestinationInfo& );
+        DestinationInfo& operator= ( const DestinationInfo& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.cpp Tue Mar 23 19:50:25 2010
@@ -38,10 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-DiscoveryEvent::DiscoveryEvent() : BaseDataStructure() {
+DiscoveryEvent::DiscoveryEvent() 
+    : BaseDataStructure(), serviceName(""), brokerName("") {
 
-    this->serviceName = "";
-    this->brokerName = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/DiscoveryEvent.h Tue Mar 23 19:50:25 2010
@@ -53,10 +53,10 @@ namespace commands{
 
         const static unsigned char ID_DISCOVERYEVENT = 40;
 
-    protected:
+    private:
 
-        DiscoveryEvent( const DiscoveryEvent& ) : BaseDataStructure() {};
-        DiscoveryEvent& operator= ( const DiscoveryEvent& ) { return *this; };
+        DiscoveryEvent( const DiscoveryEvent& );
+        DiscoveryEvent& operator= ( const DiscoveryEvent& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ExceptionResponse::ExceptionResponse() : Response() {
+ExceptionResponse::ExceptionResponse() 
+    : Response(), exception(NULL) {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ExceptionResponse.h Tue Mar 23 19:50:25 2010
@@ -53,10 +53,10 @@ namespace commands{
 
         const static unsigned char ID_EXCEPTIONRESPONSE = 31;
 
-    protected:
+    private:
 
-        ExceptionResponse( const ExceptionResponse& ) : Response() {};
-        ExceptionResponse& operator= ( const ExceptionResponse& ) { return *this; };
+        ExceptionResponse( const ExceptionResponse& );
+        ExceptionResponse& operator= ( const ExceptionResponse& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-FlushCommand::FlushCommand() : BaseCommand() {
+FlushCommand::FlushCommand() 
+    : BaseCommand() {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/FlushCommand.h Tue Mar 23 19:50:25 2010
@@ -51,10 +51,10 @@ namespace commands{
 
         const static unsigned char ID_FLUSHCOMMAND = 15;
 
-    protected:
+    private:
 
-        FlushCommand( const FlushCommand& ) : BaseCommand() {};
-        FlushCommand& operator= ( const FlushCommand& ) { return *this; };
+        FlushCommand( const FlushCommand& );
+        FlushCommand& operator= ( const FlushCommand& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-IntegerResponse::IntegerResponse() : Response() {
+IntegerResponse::IntegerResponse() 
+    : Response(), result(0) {
 
-    this->result = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/IntegerResponse.h Tue Mar 23 19:50:25 2010
@@ -52,10 +52,10 @@ namespace commands{
 
         const static unsigned char ID_INTEGERRESPONSE = 34;
 
-    protected:
+    private:
 
-        IntegerResponse( const IntegerResponse& ) : Response() {};
-        IntegerResponse& operator= ( const IntegerResponse& ) { return *this; };
+        IntegerResponse( const IntegerResponse& );
+        IntegerResponse& operator= ( const IntegerResponse& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-JournalQueueAck::JournalQueueAck() : BaseDataStructure() {
+JournalQueueAck::JournalQueueAck() 
+    : BaseDataStructure(), destination(NULL), messageAck(NULL) {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalQueueAck.h Tue Mar 23 19:50:25 2010
@@ -55,10 +55,10 @@ namespace commands{
 
         const static unsigned char ID_JOURNALQUEUEACK = 52;
 
-    protected:
+    private:
 
-        JournalQueueAck( const JournalQueueAck& ) : BaseDataStructure() {};
-        JournalQueueAck& operator= ( const JournalQueueAck& ) { return *this; };
+        JournalQueueAck( const JournalQueueAck& );
+        JournalQueueAck& operator= ( const JournalQueueAck& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.cpp Tue Mar 23 19:50:25 2010
@@ -38,11 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-JournalTopicAck::JournalTopicAck() : BaseDataStructure() {
+JournalTopicAck::JournalTopicAck() 
+    : BaseDataStructure(), destination(NULL), messageId(NULL), messageSequenceId(0), subscritionName(""), clientId(""), transactionId(NULL) {
 
-    this->messageSequenceId = 0;
-    this->subscritionName = "";
-    this->clientId = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTopicAck.h Tue Mar 23 19:50:25 2010
@@ -60,10 +60,10 @@ namespace commands{
 
         const static unsigned char ID_JOURNALTOPICACK = 50;
 
-    protected:
+    private:
 
-        JournalTopicAck( const JournalTopicAck& ) : BaseDataStructure() {};
-        JournalTopicAck& operator= ( const JournalTopicAck& ) { return *this; };
+        JournalTopicAck( const JournalTopicAck& );
+        JournalTopicAck& operator= ( const JournalTopicAck& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-JournalTrace::JournalTrace() : BaseDataStructure() {
+JournalTrace::JournalTrace() 
+    : BaseDataStructure(), message("") {
 
-    this->message = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTrace.h Tue Mar 23 19:50:25 2010
@@ -52,10 +52,10 @@ namespace commands{
 
         const static unsigned char ID_JOURNALTRACE = 53;
 
-    protected:
+    private:
 
-        JournalTrace( const JournalTrace& ) : BaseDataStructure() {};
-        JournalTrace& operator= ( const JournalTrace& ) { return *this; };
+        JournalTrace( const JournalTrace& );
+        JournalTrace& operator= ( const JournalTrace& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.cpp Tue Mar 23 19:50:25 2010
@@ -38,10 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-JournalTransaction::JournalTransaction() : BaseDataStructure() {
+JournalTransaction::JournalTransaction() 
+    : BaseDataStructure(), transactionId(NULL), type(0), wasPrepared(false) {
 
-    this->type = 0;
-    this->wasPrepared = false;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/JournalTransaction.h Tue Mar 23 19:50:25 2010
@@ -55,10 +55,10 @@ namespace commands{
 
         const static unsigned char ID_JOURNALTRANSACTION = 54;
 
-    protected:
+    private:
 
-        JournalTransaction( const JournalTransaction& ) : BaseDataStructure() {};
-        JournalTransaction& operator= ( const JournalTransaction& ) { return *this; };
+        JournalTransaction( const JournalTransaction& );
+        JournalTransaction& operator= ( const JournalTransaction& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-KeepAliveInfo::KeepAliveInfo() : BaseCommand() {
+KeepAliveInfo::KeepAliveInfo() 
+    : BaseCommand() {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/KeepAliveInfo.h Tue Mar 23 19:50:25 2010
@@ -51,10 +51,10 @@ namespace commands{
 
         const static unsigned char ID_KEEPALIVEINFO = 10;
 
-    protected:
+    private:
 
-        KeepAliveInfo( const KeepAliveInfo& ) : BaseCommand() {};
-        KeepAliveInfo& operator= ( const KeepAliveInfo& ) { return *this; };
+        KeepAliveInfo( const KeepAliveInfo& );
+        KeepAliveInfo& operator= ( const KeepAliveInfo& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.cpp Tue Mar 23 19:50:25 2010
@@ -38,7 +38,8 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-LastPartialCommand::LastPartialCommand() : PartialCommand() {
+LastPartialCommand::LastPartialCommand() 
+    : PartialCommand() {
 
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LastPartialCommand.h Tue Mar 23 19:50:25 2010
@@ -51,10 +51,10 @@ namespace commands{
 
         const static unsigned char ID_LASTPARTIALCOMMAND = 61;
 
-    protected:
+    private:
 
-        LastPartialCommand( const LastPartialCommand& ) : PartialCommand() {};
-        LastPartialCommand& operator= ( const LastPartialCommand& ) { return *this; };
+        LastPartialCommand( const LastPartialCommand& );
+        LastPartialCommand& operator= ( const LastPartialCommand& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LocalTransactionId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LocalTransactionId.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LocalTransactionId.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/LocalTransactionId.cpp Tue Mar 23 19:50:25 2010
@@ -39,13 +39,15 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-LocalTransactionId::LocalTransactionId() : TransactionId() {
+LocalTransactionId::LocalTransactionId() 
+    : TransactionId(), value(0), connectionId(NULL) {
 
-    this->value = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-LocalTransactionId::LocalTransactionId( const LocalTransactionId& other ) : TransactionId() {
+LocalTransactionId::LocalTransactionId( const LocalTransactionId& other )
+    : TransactionId(), value(0), connectionId(NULL) {
+
     this->copyDataStructure( &other );
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.cpp Tue Mar 23 19:50:25 2010
@@ -43,27 +43,14 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-Message::Message() : BaseCommand() {
+Message::Message() 
+    : BaseCommand(), ackHandler(NULL), properties(), readOnlyProperties(false), readOnlyBody(false), connection(NULL), producerId(NULL), 
+      destination(NULL), transactionId(NULL), originalDestination(NULL), messageId(NULL), originalTransactionId(NULL), 
+      groupID(""), groupSequence(0), correlationId(""), persistent(false), expiration(0), priority(0), replyTo(NULL), timestamp(0), 
+      type(""), content(NULL), marshalledProperties(NULL), dataStructure(NULL), targetConsumerId(NULL), compressed(false), 
+      redeliveryCounter(0), brokerPath(NULL), arrival(0), userID(""), recievedByDFBridge(false), droppable(false), cluster(NULL), 
+      brokerInTime(0), brokerOutTime(0) {
 
-    this->readOnlyBody = false;
-    this->readOnlyProperties = false;
-    this->connection = NULL;
-    this->groupID = "";
-    this->groupSequence = 0;
-    this->correlationId = "";
-    this->persistent = false;
-    this->expiration = 0;
-    this->priority = 0;
-    this->timestamp = 0;
-    this->type = "";
-    this->compressed = false;
-    this->redeliveryCounter = 0;
-    this->arrival = 0;
-    this->userID = "";
-    this->recievedByDFBridge = false;
-    this->droppable = false;
-    this->brokerInTime = 0;
-    this->brokerOutTime = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/Message.h Tue Mar 23 19:50:25 2010
@@ -115,10 +115,10 @@ namespace commands{
 
         const static unsigned char ID_MESSAGE = 0;
 
-    protected:
+    private:
 
-        Message( const Message& ) : BaseCommand() {};
-        Message& operator= ( const Message& ) { return *this; };
+        Message( const Message& );
+        Message& operator= ( const Message& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.cpp Tue Mar 23 19:50:25 2010
@@ -38,10 +38,10 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageAck::MessageAck() : BaseCommand() {
+MessageAck::MessageAck() 
+    : BaseCommand(), destination(NULL), transactionId(NULL), consumerId(NULL), ackType(0), firstMessageId(NULL), lastMessageId(NULL), 
+      messageCount(0) {
 
-    this->ackType = 0;
-    this->messageCount = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageAck.h Tue Mar 23 19:50:25 2010
@@ -62,10 +62,10 @@ namespace commands{
 
         const static unsigned char ID_MESSAGEACK = 22;
 
-    protected:
+    private:
 
-        MessageAck( const MessageAck& ) : BaseCommand() {};
-        MessageAck& operator= ( const MessageAck& ) { return *this; };
+        MessageAck( const MessageAck& );
+        MessageAck& operator= ( const MessageAck& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageDispatch::MessageDispatch() : BaseCommand() {
+MessageDispatch::MessageDispatch() 
+    : BaseCommand(), consumerId(NULL), destination(NULL), message(NULL), redeliveryCounter(0) {
 
-    this->redeliveryCounter = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatch.h Tue Mar 23 19:50:25 2010
@@ -58,10 +58,10 @@ namespace commands{
 
         const static unsigned char ID_MESSAGEDISPATCH = 21;
 
-    protected:
+    private:
 
-        MessageDispatch( const MessageDispatch& ) : BaseCommand() {};
-        MessageDispatch& operator= ( const MessageDispatch& ) { return *this; };
+        MessageDispatch( const MessageDispatch& );
+        MessageDispatch& operator= ( const MessageDispatch& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageDispatchNotification::MessageDispatchNotification() : BaseCommand() {
+MessageDispatchNotification::MessageDispatchNotification() 
+    : BaseCommand(), consumerId(NULL), destination(NULL), deliverySequenceId(0), messageId(NULL) {
 
-    this->deliverySequenceId = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageDispatchNotification.h Tue Mar 23 19:50:25 2010
@@ -58,10 +58,10 @@ namespace commands{
 
         const static unsigned char ID_MESSAGEDISPATCHNOTIFICATION = 90;
 
-    protected:
+    private:
 
-        MessageDispatchNotification( const MessageDispatchNotification& ) : BaseCommand() {};
-        MessageDispatchNotification& operator= ( const MessageDispatchNotification& ) { return *this; };
+        MessageDispatchNotification( const MessageDispatchNotification& );
+        MessageDispatchNotification& operator= ( const MessageDispatchNotification& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageId.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageId.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageId.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessageId.cpp Tue Mar 23 19:50:25 2010
@@ -41,36 +41,45 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageId::MessageId() : BaseDataStructure() {
+MessageId::MessageId() 
+    : BaseDataStructure(), key(""), producerId(NULL), producerSequenceId(0), brokerSequenceId(0) {
 
-    this->producerSequenceId = 0;
-    this->brokerSequenceId = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageId::MessageId( const MessageId& other ) : BaseDataStructure() {
+MessageId::MessageId( const MessageId& other )
+    : BaseDataStructure(), key(""), producerId(NULL), producerSequenceId(0), brokerSequenceId(0) {
+
     this->copyDataStructure( &other );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageId::MessageId( const std::string& messageKey ) {
+MessageId::MessageId( const std::string& messageKey )
+    : BaseDataStructure(), key(""), producerId(NULL), producerSequenceId(0), brokerSequenceId(0) {
+
     this->setValue( messageKey );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageId::MessageId( const Pointer<ProducerInfo>& producerInfo, long long producerSequenceId ) {
+MessageId::MessageId( const Pointer<ProducerInfo>& producerInfo, long long producerSequenceId )
+    : BaseDataStructure(), key(""), producerId(NULL), producerSequenceId(0), brokerSequenceId(0) {
+
     this->producerId = producerInfo->getProducerId();
     this->producerSequenceId = producerSequenceId;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageId::MessageId( const Pointer<ProducerId>& producerId, long long producerSequenceId ) {
+MessageId::MessageId( const Pointer<ProducerId>& producerId, long long producerSequenceId )
+    : BaseDataStructure(), key(""), producerId(NULL), producerSequenceId(0), brokerSequenceId(0) {
+
     this->producerId = producerId;
     this->producerSequenceId = producerSequenceId;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageId::MessageId( const std::string& producerId, long long producerSequenceId ) {
+MessageId::MessageId( const std::string& producerId, long long producerSequenceId )
+    : BaseDataStructure(), key(""), producerId(NULL), producerSequenceId(0), brokerSequenceId(0) {
+
     this->producerId.reset( new ProducerId( producerId ) );
     this->producerSequenceId = producerSequenceId;
 }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.cpp Tue Mar 23 19:50:25 2010
@@ -38,10 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-MessagePull::MessagePull() : BaseCommand() {
+MessagePull::MessagePull() 
+    : BaseCommand(), consumerId(NULL), destination(NULL), timeout(0), correlationId(""), messageId(NULL) {
 
-    this->timeout = 0;
-    this->correlationId = "";
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/MessagePull.h Tue Mar 23 19:50:25 2010
@@ -59,10 +59,10 @@ namespace commands{
 
         const static unsigned char ID_MESSAGEPULL = 20;
 
-    protected:
+    private:
 
-        MessagePull( const MessagePull& ) : BaseCommand() {};
-        MessagePull& operator= ( const MessagePull& ) { return *this; };
+        MessagePull( const MessagePull& );
+        MessagePull& operator= ( const MessagePull& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-NetworkBridgeFilter::NetworkBridgeFilter() : BaseDataStructure() {
+NetworkBridgeFilter::NetworkBridgeFilter() 
+    : BaseDataStructure(), networkTTL(0), networkBrokerId(NULL) {
 
-    this->networkTTL = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/NetworkBridgeFilter.h Tue Mar 23 19:50:25 2010
@@ -54,10 +54,10 @@ namespace commands{
 
         const static unsigned char ID_NETWORKBRIDGEFILTER = 91;
 
-    protected:
+    private:
 
-        NetworkBridgeFilter( const NetworkBridgeFilter& ) : BaseDataStructure() {};
-        NetworkBridgeFilter& operator= ( const NetworkBridgeFilter& ) { return *this; };
+        NetworkBridgeFilter( const NetworkBridgeFilter& );
+        NetworkBridgeFilter& operator= ( const NetworkBridgeFilter& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-PartialCommand::PartialCommand() : BaseDataStructure() {
+PartialCommand::PartialCommand() 
+    : BaseDataStructure(), commandId(0), data(NULL) {
 
-    this->commandId = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/PartialCommand.h Tue Mar 23 19:50:25 2010
@@ -53,10 +53,10 @@ namespace commands{
 
         const static unsigned char ID_PARTIALCOMMAND = 60;
 
-    protected:
+    private:
 
-        PartialCommand( const PartialCommand& ) : BaseDataStructure() {};
-        PartialCommand& operator= ( const PartialCommand& ) { return *this; };
+        PartialCommand( const PartialCommand& );
+        PartialCommand& operator= ( const PartialCommand& );
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.cpp Tue Mar 23 19:50:25 2010
@@ -38,9 +38,9 @@ using namespace decaf::lang::exceptions;
  */
 
 ////////////////////////////////////////////////////////////////////////////////
-ProducerAck::ProducerAck() : BaseCommand() {
+ProducerAck::ProducerAck() 
+    : BaseCommand(), producerId(NULL), size(0) {
 
-    this->size = 0;
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.h?rev=926754&r1=926753&r2=926754&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/commands/ProducerAck.h Tue Mar 23 19:50:25 2010
@@ -54,10 +54,10 @@ namespace commands{
 
         const static unsigned char ID_PRODUCERACK = 19;
 
-    protected:
+    private:
 
-        ProducerAck( const ProducerAck& ) : BaseCommand() {};
-        ProducerAck& operator= ( const ProducerAck& ) { return *this; };
+        ProducerAck( const ProducerAck& );
+        ProducerAck& operator= ( const ProducerAck& );
 
     public:
 



Mime
View raw message