Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 09-07-2006
kamran kamran is offline
Registered User
 
Name: Kamran Bumbia
Organization: Continental Ailines
Project: None
 
Join Date: Apr 2006
Posts: 2
Send a message via AIM to kamran Send a message via Yahoo to kamran
-->
Deprecating Classes in ICE

Hi Guys
i found that slice has deprecate keyword which can be used to deprecate functions in interface and or classes.
I want to deprecate the whole class ( it is a value object only).
In C++ #pragma deprecated(ClassName) is used to deprecate the class.
I tried many things in the slice file itself but non of them worked

Does Ice support something like this ?

Kamran Bumbia
Reply With Quote
  #2 (permalink)  
Old 09-07-2006
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,564
Hi,

Could you please set your signature? See this thread for information on how to set your signature.

To answer your question, the "deprecate" metadata is only supported for class or interface operations with the slice2cpp compiler.

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
C# classes semerich Comments 3 02-08-2006 09:23 AM
no Slice classes in Ice-E? n2503v Help Center 1 10-06-2005 02:30 AM
About Classes transmit level Help Center 4 09-22-2004 09:21 PM
Classes vs. Exceptions andreynech Comments 7 02-28-2003 11:12 AM
Why operations on classes? bernard Comments 1 02-21-2003 11:36 AM


All times are GMT -4. The time now is 12:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.