[omniORB] sequence question
James Dempsey
jdempsey@sctcorp.com
Fri, 1 Sep 2000 06:04:33 -0400
Hi,
I have the following IDL:
typedef sequence<string> List;
interface X {
List getNames( );
};
I've implemented the operation as follows:
List* getNames( ) {
List_var list = new List( );
list.length( 2 );
list[0] = "Jim";
list[1] = "Mary";
return List::_duplicate( list );
}
The compiler complains that _duplicate( ) is not a member of List. Is
there some other way I should be returning the List I create?
Thanks,
Jim Dempsey
SCT
jdempsey@sctcorp.com