Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-01-2003
sylvain sylvain is offline
Registered User
 
Name: Sylvain Fasel
Organization: university of Geneva
Project: quantum cryptographic systems
 
Join Date: Feb 2003
Location: Geneva (Switzerland)
Posts: 42
IdentitySeq ?

Hi,

I am playing a little bit with Freeze::Map. For now, I have an .ice file that defines somethings like:
"
interface Patient
{
//some operations
};

sequence<Patient*> PatientPrxSeq;
*

I know how to create a Freeze::Map with my PatientPrxSeq as value, and it works perfectly.

Now I realize that it would be better for me to store Identity instead of proxies, so I tried to define
"
sequence<Identity> PatientIdSeq
"
with the idea to create a Freeze::Map with PatientIdSeq as value. But I was surprised to find that "Identity" is not defined in slice (not like Object).

I know how to create a Freeze::Map with Ice::Identity as value, but how could I do with seqence<Identity> for value ??

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 08-01-2003
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Ice::Identity is defined in Slice, you just need to include <Ice/Identity.ice>. Note that you will also need to specify the --ice option to your Slice compiler, so that it allows you to use the "Ice" symbol in Slice definitions.
Reply With Quote
  #3 (permalink)  
Old 08-01-2003
sylvain sylvain is offline
Registered User
 
Name: Sylvain Fasel
Organization: university of Geneva
Project: quantum cryptographic systems
 
Join Date: Feb 2003
Location: Geneva (Switzerland)
Posts: 42
Hi,

one more "oops, I am sorry" to my account. Tell me when I am about to exceed my quota.

Thanks a lot for your answer, and for providing Ice, that is a really really good product.
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


All times are GMT -4. The time now is 10:37 PM.


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