summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Object.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2002-03-16 04:16:50 +0000
committerMark Spruiell <mes@zeroc.com>2002-03-16 04:16:50 +0000
commitaf701afba691dfc175d8bc9d8b1e886964d99a39 (patch)
treef8688dd34bbae273310dfe049c100f2398953242 /cpp/src/Ice/Object.cpp
parentChanged the names of the Parser and ErrorReporter classes to conform with (diff)
downloadice-af701afba691dfc175d8bc9d8b1e886964d99a39.tar.bz2
ice-af701afba691dfc175d8bc9d8b1e886964d99a39.tar.xz
ice-af701afba691dfc175d8bc9d8b1e886964d99a39.zip
removing __getClassIds
Diffstat (limited to 'cpp/src/Ice/Object.cpp')
-rw-r--r--cpp/src/Ice/Object.cpp20
1 files changed, 5 insertions, 15 deletions
diff --git a/cpp/src/Ice/Object.cpp b/cpp/src/Ice/Object.cpp
index 7a64a727b5c..66f63eb84ce 100644
--- a/cpp/src/Ice/Object.cpp
+++ b/cpp/src/Ice/Object.cpp
@@ -59,21 +59,15 @@ Ice::Object::ice_hash() const
return reinterpret_cast<Int>(this) >> 4;
}
-const string Ice::Object::__classIds[] =
+const string Ice::Object::__ids[] =
{
"::Ice::Object"
};
-const string*
-Ice::Object::__getClassIds() const
-{
- return __classIds;
-}
-
bool
Ice::Object::ice_isA(const string& s, const Current&)
{
- return s == "::Ice::Object";
+ return s == __ids[0];
}
void
@@ -85,17 +79,13 @@ Ice::Object::ice_ping(const Current&)
vector<string>
Ice::Object::ice_ids(const Current&)
{
- //
- // Note in general this must be __ids, not __classIds since
- // __classIds is only classes and not interfaces.
- //
- return vector<string>(&__classIds[0], &__classIds[1]);
+ return vector<string>(&__ids[0], &__ids[1]);
}
const string&
Ice::Object::ice_id(const Current&)
{
- return __classIds[0];
+ return __ids[0];
}
vector<string>
@@ -113,7 +103,7 @@ Ice::Object::ice_facets(const Current&)
const ::std::string&
Ice::Object::ice_staticId()
{
- return __classIds[0];
+ return __ids[0];
}
DispatchStatus