diff options
author | Michi Henning <michi@zeroc.com> | 2005-07-04 02:06:23 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2005-07-04 02:06:23 +0000 |
commit | 11440f12c77b43a7d43e948e15df35c4b71c7e00 (patch) | |
tree | a93bf57b23a16939e6e1c99f42b9263191247704 /cpp/demo/Ice/value/Client.cpp | |
parent | Made Ice.ObjectImpl abstract. (diff) | |
download | ice-11440f12c77b43a7d43e948e15df35c4b71c7e00.tar.bz2 ice-11440f12c77b43a7d43e948e15df35c4b71c7e00.tar.xz ice-11440f12c77b43a7d43e948e15df35c4b71c7e00.zip |
Made Ice::Object abstract.
Diffstat (limited to 'cpp/demo/Ice/value/Client.cpp')
-rw-r--r-- | cpp/demo/Ice/value/Client.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/cpp/demo/Ice/value/Client.cpp b/cpp/demo/Ice/value/Client.cpp index 7dcee461d21..2be467eb6c5 100644 --- a/cpp/demo/Ice/value/Client.cpp +++ b/cpp/demo/Ice/value/Client.cpp @@ -65,17 +65,6 @@ ValueClient::run(int argc, char* argv[]) cout << "==> " << simple->message << endl; cout << '\n' - << "Ok, this worked. Now let's try to transfer an object for a class\n" - << "with operations as type ::Ice::Object. Because no factory is installed,\n" - << "the class will be sliced to ::Ice::Object.\n" - << "[press enter]\n"; - cin.getline(c, 2); - - ::Ice::ObjectPtr obj = initial->getPrinterAsObject(); - cout << "==> The type ID of the received object is \"" << obj->ice_id() << "\"" << endl; - assert(obj->ice_id() == "::Ice::Object"); - - cout << '\n' << "Yes, this worked. Now let's try to transfer an object for a class\n" << "with operations as type ::Demo::Printer, without installing a factory first.\n" << "This should give us a `no factory' exception.\n" |