Author: tabish Date: Sat Nov 11 13:41:32 2006 New Revision: 473803 URL: http://svn.apache.org/viewvc?view=rev&rev=473803 Log: Updates for planned Openwire Support
Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h?view=diff&rev=473803&r1=473802&r2=473803 ============================================================================== --- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h (original) +++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/connector/openwire/commands/DataStructure.h Sat Nov 11 13:41:32 2006 @@ -41,6 +41,20 @@ */ virtual bool isMarshallAware() const = 0; + /** + * Clone this obbject and return a new instance that the + * caller now owns, this will be an exact copy of this one + * @returns new copy of this object. + */ + virtual DataStructure* cloneCommand() const = 0; + + /** + * Copy the contents of the passed object into this objects + * members, overwriting any existing data. + * @return src - Source Object + */ + virtual void copyCommand( const DataStructure* src ) = 0; + }; }}}}