You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/04/03 01:32:12 UTC
svn commit: r1463792 -
/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/
Author: tabish
Date: Tue Apr 2 23:32:11 2013
New Revision: 1463792
URL: http://svn.apache.org/r1463792
Log:
minor formatting cleanups
Modified:
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Closeable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Connection.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageProducer.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Startable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Stoppable.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.h
activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.h
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h Tue Apr 2 23:32:11 2013
@@ -27,7 +27,7 @@
#include <cms/MessageEOFException.h>
#include <cms/MessageFormatException.h>
-namespace cms{
+namespace cms {
/**
* A BytesMessage object is used to send a message containing a stream of unsigned
@@ -63,7 +63,7 @@ namespace cms{
*
* @since 1.0
*/
- class CMS_API BytesMessage : public Message{
+ class CMS_API BytesMessage : public Message {
public:
virtual ~BytesMessage();
@@ -79,7 +79,7 @@ namespace cms{
* @throws CMSException - If an internal error occurs.
* @throws MessageNotWriteableException - if in Read Only Mode.
*/
- virtual void setBodyBytes( const unsigned char* buffer, int numBytes ) = 0;
+ virtual void setBodyBytes(const unsigned char* buffer, int numBytes) = 0;
/**
* Gets the bytes that are contained in this message and returns them in a newly
@@ -137,7 +137,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeBoolean( bool value ) = 0;
+ virtual void writeBoolean(bool value) = 0;
/**
* Reads a Byte from the Bytes message stream
@@ -161,7 +161,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeByte( unsigned char value ) = 0;
+ virtual void writeByte(unsigned char value) = 0;
/**
* Reads a byte array from the bytes message stream.
@@ -187,7 +187,7 @@ namespace cms{
* @throws MessageEOFException - if unexpected end of bytes stream has been reached.
* @throws MessageNotReadableException - if the message is in write-only mode.
*/
- virtual int readBytes( std::vector<unsigned char>& value ) const = 0;
+ virtual int readBytes(std::vector<unsigned char>& value) const = 0;
/**
* Writes a byte array to the bytes message stream using the vector
@@ -200,7 +200,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeBytes( const std::vector<unsigned char>& value ) = 0;
+ virtual void writeBytes(const std::vector<unsigned char>& value) = 0;
/**
* Reads a portion of the bytes message stream.
@@ -233,7 +233,7 @@ namespace cms{
* @throws MessageEOFException - if unexpected end of bytes stream has been reached.
* @throws MessageNotReadableException - if the message is in write-only mode.
*/
- virtual int readBytes( unsigned char* buffer, int length ) const = 0;
+ virtual int readBytes(unsigned char* buffer, int length) const = 0;
/**
* Writes a portion of a byte array to the bytes message stream.
@@ -250,7 +250,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeBytes( const unsigned char* value, int offset, int length ) = 0;
+ virtual void writeBytes(const unsigned char* value, int offset, int length) = 0;
/**
* Reads a Char from the Bytes message stream
@@ -274,7 +274,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeChar( char value ) = 0;
+ virtual void writeChar(char value) = 0;
/**
* Reads a 32 bit float from the Bytes message stream
@@ -297,7 +297,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeFloat( float value ) = 0;
+ virtual void writeFloat(float value) = 0;
/**
* Reads a 64 bit double from the Bytes message stream
@@ -320,7 +320,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeDouble( double value ) = 0;
+ virtual void writeDouble(double value) = 0;
/**
* Reads a 16 bit signed short from the Bytes message stream
@@ -344,7 +344,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeShort( short value ) = 0;
+ virtual void writeShort(short value) = 0;
/**
* Reads a 16 bit unsigned short from the Bytes message stream
@@ -368,7 +368,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeUnsignedShort( unsigned short value ) = 0;
+ virtual void writeUnsignedShort(unsigned short value) = 0;
/**
* Reads a 32 bit signed integer from the Bytes message stream
@@ -392,7 +392,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeInt( int value ) = 0;
+ virtual void writeInt(int value) = 0;
/**
* Reads a 64 bit long from the Bytes message stream
@@ -416,7 +416,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeLong( long long value ) = 0;
+ virtual void writeLong(long long value) = 0;
/**
* Reads an ASCII String from the Bytes message stream
@@ -440,7 +440,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeString( const std::string& value ) = 0;
+ virtual void writeString(const std::string& value) = 0;
/**
* Reads an UTF String from the BytesMessage stream
@@ -464,7 +464,7 @@ namespace cms{
* some internal error.
* @throws MessageNotWriteableException - if the message is in read-only mode.
*/
- virtual void writeUTF( const std::string& value ) = 0;
+ virtual void writeUTF(const std::string& value) = 0;
/**
* Clones this message.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.h Tue Apr 2 23:32:11 2013
@@ -23,7 +23,7 @@
#include <string>
#include <vector>
-namespace cms{
+namespace cms {
/**
* Interface for a Java-like properties object. This is essentially
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Closeable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Closeable.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Closeable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Closeable.h Tue Apr 2 23:32:11 2013
@@ -21,7 +21,7 @@
#include <cms/Config.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* Interface for a class that implements the close method.
@@ -32,7 +32,7 @@ namespace cms{
*
* @since 1.0
*/
- class CMS_API Closeable{
+ class CMS_API Closeable {
public:
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Connection.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Connection.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Connection.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Connection.h Tue Apr 2 23:32:11 2013
@@ -25,7 +25,7 @@
#include <cms/Session.h>
#include <cms/ConnectionMetaData.h>
-namespace cms{
+namespace cms {
class ExceptionListener;
class MessageTransformer;
@@ -67,10 +67,7 @@ namespace cms{
*
* @since 1.0
*/
- class CMS_API Connection : public Startable,
- public Stoppable,
- public Closeable
- {
+ class CMS_API Connection : public Startable, public Stoppable, public Closeable {
public:
virtual ~Connection();
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.h Tue Apr 2 23:32:11 2013
@@ -22,7 +22,7 @@
#include <string>
-namespace cms{
+namespace cms {
class Connection;
class ExceptionListener;
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.h Tue Apr 2 23:32:11 2013
@@ -21,7 +21,7 @@
#include <cms/Config.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* A ConnectionMetaData object provides information describing the Connection object.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/DeliveryMode.h Tue Apr 2 23:32:11 2013
@@ -20,7 +20,7 @@
#include <cms/Config.h>
-namespace cms{
+namespace cms {
/**
* This is an Abstract class whose purpose is to provide a container
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.h Tue Apr 2 23:32:11 2013
@@ -23,7 +23,7 @@
#include <string>
-namespace cms{
+namespace cms {
/**
* A Destination object encapsulates a provider-specific address.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h Tue Apr 2 23:32:11 2013
@@ -21,7 +21,7 @@
#include <cms/Config.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* If a CMS provider detects a serious problem, it notifies the client
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.h Tue Apr 2 23:32:11 2013
@@ -26,7 +26,7 @@
#include <cms/Startable.h>
#include <cms/Stoppable.h>
-namespace cms{
+namespace cms {
class MessageTransformer;
@@ -82,7 +82,7 @@ namespace cms{
*
* @throws CMSException - If an internal error occurs.
*/
- virtual Message* receive( int millisecs ) = 0;
+ virtual Message* receive(int millisecs) = 0;
/**
* Receive a Message, does not wait if there isn't a new message
@@ -102,7 +102,7 @@ namespace cms{
*
* @throws CMSException - If an internal error occurs.
*/
- virtual void setMessageListener( MessageListener* listener ) = 0;
+ virtual void setMessageListener(MessageListener* listener) = 0;
/**
* Gets the MessageListener that this class will send mew Message
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h Tue Apr 2 23:32:11 2013
@@ -20,7 +20,7 @@
#include <cms/Config.h>
-namespace cms{
+namespace cms {
class Message;
@@ -30,7 +30,7 @@ namespace cms{
*
* @since 1.0
*/
- class CMS_API MessageListener{
+ class CMS_API MessageListener {
public:
virtual ~MessageListener();
@@ -52,7 +52,7 @@ namespace cms{
* @param message
* Message object {const} pointer recipient does not own.
*/
- virtual void onMessage( const Message* message ) = 0;
+ virtual void onMessage(const Message* message) = 0;
};
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageProducer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageProducer.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageProducer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageProducer.h Tue Apr 2 23:32:11 2013
@@ -29,7 +29,7 @@
#include <cms/UnsupportedOperationException.h>
#include <cms/DeliveryMode.h>
-namespace cms{
+namespace cms {
class MessageTransformer;
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.h Tue Apr 2 23:32:11 2013
@@ -21,7 +21,7 @@
#include <cms/Config.h>
#include <cms/Message.h>
-namespace cms{
+namespace cms {
/**
* Place holder for interaction with JMS systems that support Java, the C++
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.h Tue Apr 2 23:32:11 2013
@@ -22,7 +22,7 @@
#include <cms/Destination.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* An interface encapsulating a provider-specific queue name.
@@ -34,7 +34,7 @@ namespace cms{
*
* @since 1.0
*/
- class CMS_API Queue : public Destination{
+ class CMS_API Queue : public Destination {
public:
virtual ~Queue();
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.h Tue Apr 2 23:32:11 2013
@@ -26,7 +26,7 @@
#include <cms/CMSException.h>
#include <cms/MessageEnumeration.h>
-namespace cms{
+namespace cms {
/**
* This class implements in interface for browsing the messages in a Queue
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h Tue Apr 2 23:32:11 2013
@@ -35,7 +35,7 @@
#include <cms/TemporaryQueue.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
class MessageTransformer;
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Startable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Startable.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Startable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Startable.h Tue Apr 2 23:32:11 2013
@@ -21,7 +21,7 @@
#include <cms/Config.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* Interface for a class that implements the start method.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Stoppable.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Stoppable.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Stoppable.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Stoppable.h Tue Apr 2 23:32:11 2013
@@ -21,7 +21,7 @@
#include <cms/Config.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* Interface for a class that implements the stop method.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h Tue Apr 2 23:32:11 2013
@@ -22,7 +22,7 @@
#include <cms/Queue.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* Defines a Temporary Queue based Destination.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h Tue Apr 2 23:32:11 2013
@@ -22,7 +22,7 @@
#include <cms/Topic.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* Defines a Temporary Topic based Destination.
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.h Tue Apr 2 23:32:11 2013
@@ -23,7 +23,7 @@
#include <cms/CMSException.h>
#include <cms/MessageNotWriteableException.h>
-namespace cms{
+namespace cms {
/**
* Interface for a text message.
@@ -38,7 +38,7 @@ namespace cms{
*
* @since 1.0
*/
- class CMS_API TextMessage : public Message{
+ class CMS_API TextMessage : public Message {
public:
virtual ~TextMessage();
@@ -62,7 +62,7 @@ namespace cms{
* @throws CMSException - if an internal error occurs.
* @throws MessageNotWriteableException - if the message is in read-only mode..
*/
- virtual void setText( const char* msg ) = 0;
+ virtual void setText(const char* msg) = 0;
/**
* Sets the message contents
@@ -73,7 +73,7 @@ namespace cms{
* @throws CMSException - if an internal error occurs.
* @throws MessageNotWriteableException - if the message is in read-only mode..
*/
- virtual void setText( const std::string& msg ) = 0;
+ virtual void setText(const std::string& msg) = 0;
};
}
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.h?rev=1463792&r1=1463791&r2=1463792&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.h Tue Apr 2 23:32:11 2013
@@ -22,7 +22,7 @@
#include <cms/Destination.h>
#include <cms/CMSException.h>
-namespace cms{
+namespace cms {
/**
* An interface encapsulating a provider-specific topic name.