Author: chug
Date: Wed Jan 15 17:31:48 2014
New Revision: 1558481

URL: http://svn.apache.org/r1558481
Log:
NO-JIRA: Reformat white space with Visual Studio 2010 ^K^F Format Selection.

Modified:
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Duration.h
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/QpidException.h
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.cpp
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Sender.cpp
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.cpp
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.cpp
    qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.h

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Duration.h
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Duration.h?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Duration.h (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Duration.h Wed Jan 15 17:31:48 
2014
@@ -42,14 +42,14 @@ namespace Messaging {
 
     public:
 
-        Duration(const Duration % rhs) :
-            milliseconds(rhs.milliseconds) {}
+        Duration(const Duration % rhs)
+            : milliseconds(rhs.milliseconds) {}
 
-        explicit Duration(System::UInt64 mS) :
-            milliseconds(mS) {}
+        explicit Duration(System::UInt64 mS)
+            : milliseconds(mS) {}
 
-        Duration()                           :
-            milliseconds(System::UInt64::MaxValue) {}
+        Duration()
+            : milliseconds(System::UInt64::MaxValue) {}
 
         property System::UInt64 Milliseconds
         {

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/QpidException.h
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/QpidException.h?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/QpidException.h (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/QpidException.h Wed Jan 15 
17:31:48 2014
@@ -29,13 +29,13 @@ using namespace System;
 [Serializable]
 public ref class QpidException : System::Exception
 {
- public:
+public:
 
- QpidException()
-    : System::Exception() {}
+    QpidException()
+        : System::Exception() {}
 
- QpidException(String^ estring)
-    : System::Exception(estring) {}
+    QpidException(String^ estring)
+        : System::Exception(estring) {}
 
 };
 

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.cpp?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.cpp (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Receiver.cpp Wed Jan 15 
17:31:48 2014
@@ -53,8 +53,8 @@ namespace Messaging {
 
     // unmanaged clone
     Receiver::Receiver(const ::qpid::messaging::Receiver & r,
-        Org::Apache::Qpid::Messaging::Session ^ sessRef) :
-    parentSession(sessRef)
+        Org::Apache::Qpid::Messaging::Session ^ sessRef)
+        : parentSession(sessRef)
     {
         System::Exception ^ newException = nullptr;
 
@@ -102,8 +102,8 @@ namespace Messaging {
 
 
     // Copy constructor look-alike (C#)
-    Receiver::Receiver(const Receiver ^ receiver) :
-    parentSession(receiver->parentSession)
+    Receiver::Receiver(const Receiver ^ receiver)
+        : parentSession(receiver->parentSession)
     {
         System::Exception ^ newException = nullptr;
 
@@ -126,8 +126,8 @@ namespace Messaging {
     }
 
     // Copy constructor implicitly dereferenced (C++)
-    Receiver::Receiver(const Receiver % receiver) :
-    parentSession(receiver.parentSession)
+    Receiver::Receiver(const Receiver % receiver)
+        : parentSession(receiver.parentSession)
     {
         System::Exception ^ newException = nullptr;
 
@@ -349,10 +349,10 @@ namespace Messaging {
 
         try
         {
-                       msclr::lock lk(privateLock);
-                       ThrowIfDisposed();
+            msclr::lock lk(privateLock);
+            ThrowIfDisposed();
 
-                       nativeObjPtr->close();
+            nativeObjPtr->close();
         }
         catch (const ::qpid::types::Exception & error)
         {

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Sender.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Sender.cpp?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Sender.cpp (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Sender.cpp Wed Jan 15 17:31:48 
2014
@@ -50,8 +50,8 @@ namespace Messaging {
 
     // unmanaged clone
     Sender::Sender(const ::qpid::messaging::Sender & s,
-        Org::Apache::Qpid::Messaging::Session ^ sessRef) :
-    parentSession(sessRef)
+        Org::Apache::Qpid::Messaging::Session ^ sessRef)
+        : parentSession(sessRef)
     {
         System::Exception ^ newException = nullptr;
 

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.cpp?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.cpp (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/Session.cpp Wed Jan 15 
17:31:48 2014
@@ -55,8 +55,8 @@ namespace Messaging {
 
     // unmanaged clone
     Session::Session(const ::qpid::messaging::Session & session,
-        Org::Apache::Qpid::Messaging::Connection ^ connRef) :
-    parentConnectionp(connRef)
+        Org::Apache::Qpid::Messaging::Connection ^ connRef)
+        : parentConnectionp(connRef)
     {
         System::Exception ^ newException = nullptr;
 

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.cpp?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.cpp (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.cpp Wed Jan 15 
17:31:48 2014
@@ -42,8 +42,9 @@ namespace Messaging {
     // The given object is a Dictionary.
     // Add its elements to the qpid map.
     //
-    void TypeTranslator::ManagedToNative(QpidMap ^ theDictionary,
-                                         ::qpid::types::Variant::Map & qpidMap)
+    void TypeTranslator::ManagedToNative(
+        QpidMap ^ theDictionary,
+        ::qpid::types::Variant::Map & qpidMap)
     {
         // iterate the items, converting each to a variant and adding to the 
map
         for each (System::Collections::Generic::KeyValuePair
@@ -107,8 +108,9 @@ namespace Messaging {
     // The given object is a List.
     // Add its elements to the qpid list.
     //
-    void TypeTranslator::ManagedToNative(QpidList ^ theList,
-                                         ::qpid::types::Variant::List & 
qpidList)
+    void TypeTranslator::ManagedToNative(
+        QpidList ^ theList,
+        ::qpid::types::Variant::List & qpidList)
     {
         // iterate the items, converting each to a variant and adding to the 
map
         for each (System::Object ^ listObj in theList)
@@ -162,8 +164,9 @@ namespace Messaging {
     // Returns a variant representing simple native type object.
     // Not to be called for Map/List objects.
     //
-    void TypeTranslator::ManagedToNativeObject(System::Object ^ managedValue,
-                               ::qpid::types::Variant & qpidVariant)
+    void TypeTranslator::ManagedToNativeObject(
+        System::Object ^ managedValue,
+        ::qpid::types::Variant & qpidVariant)
     {
         System::Type     ^ typeP    = (*managedValue).GetType();
         System::TypeCode   typeCode = System::Type::GetTypeCode( typeP );
@@ -257,8 +260,9 @@ namespace Messaging {
     // Given a user Dictionary and a qpid map,
     //   extract the qpid elements and put them into the dictionary.
     //
-    void TypeTranslator::NativeToManaged(::qpid::types::Variant::Map & qpidMap,
-                                         QpidMap ^ dict)
+    void TypeTranslator::NativeToManaged(
+        ::qpid::types::Variant::Map & qpidMap,
+        QpidMap ^ dict)
     {
         // For each object in the message map,
         //  create a .NET object and add it to the dictionary.
@@ -357,7 +361,9 @@ namespace Messaging {
     }
 
 
-    void TypeTranslator::NativeToManaged(::qpid::types::Variant::List & 
qpidList, QpidList ^ managedList)
+    void TypeTranslator::NativeToManaged(
+        ::qpid::types::Variant::List & qpidList,
+        QpidList ^ managedList)
     {
         // For each object in the qpidList
         //  create a .NET object and add it to the managed List.

Modified: qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.h
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.h?rev=1558481&r1=1558480&r2=1558481&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.h (original)
+++ qpid/trunk/qpid/cpp/bindings/qpid/dotnet/src/TypeTranslator.h Wed Jan 15 
17:31:48 2014
@@ -45,27 +45,32 @@ namespace Messaging {
     public:
         // The given object is a managed Dictionary.
         // Add its elements to the qpid map.
-        static void ManagedToNative(QpidMap ^ theDictionary,
-                                    ::qpid::types::Variant::Map & qpidMap);
+        static void ManagedToNative(
+            QpidMap ^ theDictionary,
+            ::qpid::types::Variant::Map & qpidMap);
 
         // The given object is a managed List.
         // Add its elements to the qpid list.
-        static void ManagedToNative(QpidList ^ theList,
-                                    ::qpid::types::Variant::List & qpidList);
+        static void ManagedToNative(
+            QpidList ^ theList,
+            ::qpid::types::Variant::List & qpidList);
 
         // The given object is a simple managed type (not a Dictionary or List)
         // Returns a variant representing simple native type object.
-        static void ManagedToNativeObject(System::Object ^ managedValue,
-                                          ::qpid::types::Variant & 
qpidVariant);
+        static void ManagedToNativeObject(
+            System::Object ^ managedValue,
+            ::qpid::types::Variant & qpidVariant);
 
         // The given object is a qpid map.
         // Add its elements to the managed Dictionary.
-        static void NativeToManaged(::qpid::types::Variant::Map & qpidMap,
-                                    QpidMap ^ dict);
+        static void NativeToManaged(
+            ::qpid::types::Variant::Map & qpidMap,
+            QpidMap ^ dict);
 
         // The given object is a qpid list.
         // Add its elements to the managed List.
-        static void NativeToManaged(::qpid::types::Variant::List & qpidList,
-                                    QpidList ^ managedList);
+        static void NativeToManaged(
+            ::qpid::types::Variant::List & qpidList,
+            QpidList ^ managedList);
     };
 }}}}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to