Or perhaps I misunderstand the use of structures.
~Matt
|
|
Or perhaps I misunderstand the use of structures.
~Matt
Last edited by mdoar; 01-21-2004 at 05:21 PM.
Sorry, but I'm afraid I don't understand the question.
The file IceJ-1.2.0/test/Ice/operations/Test.ice contains
struct Structure
{
MyClass* p;
MyEnum e;
AnotherStruct s;
};
and a number of sequences of other types, but not
sequence<Structure> StructS;
~Matt
Ah, now I understand. Well, we can't test every possible combination in the test suite. But rest assured that it works fine, we use sequences of structs in many other applications![]()
Well, actually, one can write code generators to create the .ice and .java files to test many more combinations than are currently tested. This detected some *very* subtle bugs for me once. It's also a helpful way to stress test the slice tools with very large files.
Anyway, I greatly enjoyed reading the ICE protocol chapter of the documentation last night - this looks like the right way to go. I'll be using it instead of CORBA in the future. Good luck!
~Matt
There are currently 1 users browsing this thread. (0 members and 1 guests)