summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Shared.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-11-05 10:51:35 -0400
committerBernard Normier <bernard@zeroc.com>2016-11-05 10:51:35 -0400
commit298bccf0b6243f2cd741af59b1547b915128356b (patch)
treeaff10041d00b5aec3413e620db079cc735c83375 /cpp/include/IceUtil/Shared.h
parentRevert "Replaced double underscores in C# mapping by ice-prefix names" (diff)
downloadice-298bccf0b6243f2cd741af59b1547b915128356b.tar.bz2
ice-298bccf0b6243f2cd741af59b1547b915128356b.tar.xz
ice-298bccf0b6243f2cd741af59b1547b915128356b.zip
Revert "Reverted previous double-underscore changes in IceUtil classes"
This reverts commit 2e6243dd2955e6a292bbe8a569d4e1711253746a.
Diffstat (limited to 'cpp/include/IceUtil/Shared.h')
-rw-r--r--cpp/include/IceUtil/Shared.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/include/IceUtil/Shared.h b/cpp/include/IceUtil/Shared.h
index 756b10e5f22..b9971c3d855 100644
--- a/cpp/include/IceUtil/Shared.h
+++ b/cpp/include/IceUtil/Shared.h
@@ -45,13 +45,13 @@ public:
return *this;
}
- void __incRef()
+ void iceIncRef()
{
assert(_ref >= 0);
++_ref;
}
- void __decRef()
+ void iceDecRef()
{
assert(_ref > 0);
if(--_ref == 0)
@@ -63,12 +63,12 @@ public:
}
}
- int __getRef() const
+ int iceGetRef() const
{
return _ref;
}
- void __setNoDelete(bool b)
+ void iceSetNoDelete(bool b)
{
_noDelete = b;
}
@@ -101,22 +101,22 @@ public:
return *this;
}
- virtual void __incRef();
- virtual void __decRef();
- virtual int __getRef() const;
- virtual void __setNoDelete(bool);
+ virtual void iceIncRef();
+ virtual void iceDecRef();
+ virtual int iceGetRef() const;
+ virtual void iceSetNoDelete(bool);
- void __setFlag(unsigned char flag)
+ void iceSetFlag(unsigned char flag)
{
_flags |= flag;
}
- void __clearFlag(unsigned char flag)
+ void iceClearFlag(unsigned char flag)
{
_flags &= ~flag;
}
- bool __hasFlag(unsigned char flag)
+ bool iceHasFlag(unsigned char flag)
{
return (_flags & flag) > 0;
}