summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Current.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2005-08-11 17:24:17 +0000
committerMark Spruiell <mes@zeroc.com>2005-08-11 17:24:17 +0000
commit9979b5ebc61fb982c6278ce66aded7b0cabe21c7 (patch)
tree2146087abae72a2a5faa2b7e657520e3c18e5b8f /cppe/src/IceE/Current.cpp
parentRemoved extra includes (see bug #80) (diff)
downloadice-9979b5ebc61fb982c6278ce66aded7b0cabe21c7.tar.bz2
ice-9979b5ebc61fb982c6278ce66aded7b0cabe21c7.tar.xz
ice-9979b5ebc61fb982c6278ce66aded7b0cabe21c7.zip
minor (non-code) cleanup
Diffstat (limited to 'cppe/src/IceE/Current.cpp')
-rwxr-xr-xcppe/src/IceE/Current.cpp240
1 files changed, 120 insertions, 120 deletions
diff --git a/cppe/src/IceE/Current.cpp b/cppe/src/IceE/Current.cpp
index 7fd39d608cf..62feaa34c9f 100755
--- a/cppe/src/IceE/Current.cpp
+++ b/cppe/src/IceE/Current.cpp
@@ -1,120 +1,120 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice-E is licensed to you under the terms described in the
-// ICEE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-
-#include <IceE/Current.h>
-
-bool
-Ice::Current::operator==(const Current& __rhs) const
-{
- return !operator!=(__rhs);
-}
-
-bool
-Ice::Current::operator!=(const Current& __rhs) const
-{
- if(this == &__rhs)
- {
- return false;
- }
- if(adapter != __rhs.adapter)
- {
- return true;
- }
- if(con != __rhs.con)
- {
- return true;
- }
- if(id != __rhs.id)
- {
- return true;
- }
- if(facet != __rhs.facet)
- {
- return true;
- }
- if(operation != __rhs.operation)
- {
- return true;
- }
- if(mode != __rhs.mode)
- {
- return true;
- }
- if(ctx != __rhs.ctx)
- {
- return true;
- }
- return false;
-}
-
-bool
-Ice::Current::operator<(const Current& __rhs) const
-{
- if(this == &__rhs)
- {
- return false;
- }
- if(adapter < __rhs.adapter)
- {
- return true;
- }
- else if(__rhs.adapter < adapter)
- {
- return false;
- }
- if(con < __rhs.con)
- {
- return true;
- }
- else if(__rhs.con < con)
- {
- return false;
- }
- if(id < __rhs.id)
- {
- return true;
- }
- else if(__rhs.id < id)
- {
- return false;
- }
- if(facet < __rhs.facet)
- {
- return true;
- }
- else if(__rhs.facet < facet)
- {
- return false;
- }
- if(operation < __rhs.operation)
- {
- return true;
- }
- else if(__rhs.operation < operation)
- {
- return false;
- }
- if(mode < __rhs.mode)
- {
- return true;
- }
- else if(__rhs.mode < mode)
- {
- return false;
- }
- if(ctx < __rhs.ctx)
- {
- return true;
- }
- else if(__rhs.ctx < ctx)
- {
- return false;
- }
- return false;
-}
+// **********************************************************************
+//
+// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice-E is licensed to you under the terms described in the
+// ICEE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#include <IceE/Current.h>
+
+bool
+Ice::Current::operator==(const Current& __rhs) const
+{
+ return !operator!=(__rhs);
+}
+
+bool
+Ice::Current::operator!=(const Current& __rhs) const
+{
+ if(this == &__rhs)
+ {
+ return false;
+ }
+ if(adapter != __rhs.adapter)
+ {
+ return true;
+ }
+ if(con != __rhs.con)
+ {
+ return true;
+ }
+ if(id != __rhs.id)
+ {
+ return true;
+ }
+ if(facet != __rhs.facet)
+ {
+ return true;
+ }
+ if(operation != __rhs.operation)
+ {
+ return true;
+ }
+ if(mode != __rhs.mode)
+ {
+ return true;
+ }
+ if(ctx != __rhs.ctx)
+ {
+ return true;
+ }
+ return false;
+}
+
+bool
+Ice::Current::operator<(const Current& __rhs) const
+{
+ if(this == &__rhs)
+ {
+ return false;
+ }
+ if(adapter < __rhs.adapter)
+ {
+ return true;
+ }
+ else if(__rhs.adapter < adapter)
+ {
+ return false;
+ }
+ if(con < __rhs.con)
+ {
+ return true;
+ }
+ else if(__rhs.con < con)
+ {
+ return false;
+ }
+ if(id < __rhs.id)
+ {
+ return true;
+ }
+ else if(__rhs.id < id)
+ {
+ return false;
+ }
+ if(facet < __rhs.facet)
+ {
+ return true;
+ }
+ else if(__rhs.facet < facet)
+ {
+ return false;
+ }
+ if(operation < __rhs.operation)
+ {
+ return true;
+ }
+ else if(__rhs.operation < operation)
+ {
+ return false;
+ }
+ if(mode < __rhs.mode)
+ {
+ return true;
+ }
+ else if(__rhs.mode < mode)
+ {
+ return false;
+ }
+ if(ctx < __rhs.ctx)
+ {
+ return true;
+ }
+ else if(__rhs.ctx < ctx)
+ {
+ return false;
+ }
+ return false;
+}