Non-typedef'd arrays in IDL files
- From: ERDI Gergo <cactus cactus rulez org>
- To: Diego Sevilla Ruiz <dsevilla ditec um es>, orbit-list gnome org
- Subject: Non-typedef'd arrays in IDL files
- Date: Tue, 30 Apr 2002 13:53:38 +0200 (CEST)
Suppose I have the following IDL:
struct Test_st
{
long num;
string text[2];
};
Is this valid? (as opposed to requiring an explicit typedef, i.e.:
typedef string MyStringArray[2];
struct Test_st
{
long num;
MyStringArray text;
};
)
Also, according to the C++ CORBA spec, you need to define auxillary
classes and functions for arrays (like T_dup or T_out), which is of course
quite impossible without an explicit typedef.
thanks,
Gergo
--
.--= ULLA! =---------------------. `We are not here to give users what
\ http://cactus.rulez.org \ they want' -- RMS, at GUADEC 2001
`---= cactus@cactus.rulez.org =---'
God created the universe in 6 days because He didn't have to worry about an installed base.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]