 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Alessandro Fragnani de Mo Guest
|
Posted: Tue Jan 20, 2004 1:58 pm Post subject: Is it possible to use classes on interface declaration (IDL |
|
|
Hi,
I´m trying to create a IDL like this:
module ModulePeople {
interface People{
string getName();
void setName(in string name);
};
// PeopleManager
interface AlunoManager {
boolean connect();
boolean disconnect();
boolean addPeople(in People people);
boolean deletePeople(in string name);
///// this is the problem
Vector giveAllPeoples();
/////
};
};
Is it possible to use this kind of constructions (objects) on IDL
definitions? Or do I only have the "basic types" (string, integer, etc)?
Thanks in advance
Alessandro
--
Alessandro Fragnani de Morais
Analista de Sistemas
Softplan/Poligraph
Sistema da Qualidade Certificado ISO9001-BVQI/INMETRO
Fone/Fax: 0xx(4 3027-8000
http://www.softplan.com.br
|
|
| Back to top |
|
 |
Tor Iver Wilhelmsen Guest
|
Posted: Wed Jan 21, 2004 8:04 am Post subject: Re: Is it possible to use classes on interface declaration ( |
|
|
"Alessandro Fragnani de Morais" <fragnani (AT) softplan (DOT) com.br> writes:
| Quote: | Is it possible to use this kind of constructions (objects) on IDL
definitions? Or do I only have the "basic types" (string, integer, etc)?
|
IDL separates code (interfaces) and data (structs); mostly because it
evolved from non-OO environments like C.
So you need to use IDL keywords like "struct", "typedef" and
"sequence" to create complex data types.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|