<div dir="ltr"><br>Hello all,<br><br>I have defined a complex type SeqSeqStr:<br><br>module MyModule{<br> interface MyClass{<br> typedef sequence<string> SeqStr;<br> typedef sequence<SeqStr> SeqSeqStr;<br>
...<br> };<br>};<br><br>Inside the interface MyClass I defined the<br>function:<br><br>SeqSeqStr * list(const char * locator);<br><br>The implementation of list is as follows:<br><br>MyModule::MyClass::SeqSeqStr * MyClassImp::list(const char * query){<br>
MyModule::MyClass::SeqSeqStr_var res;<br> <br> ...<br> <br> return res._retn();<br>};<br><br>The invocation is<br><br> MyModule::MyClass::SeqSeqStr_var listv;<br> <br> ... <br> <br> listv=manager->list(query_);<br>
<br> I know that omniORB does not use<br> null pointers to represent nil references.<br> How could I check the validity of listv?<br> Can be _is_nil(CORBA::Object *) applied<br> in this case?<br> <br> Thank you, <br> Hamilton <br>
<br><br><br><br><br> <br><br><br><br><br><br><br><br><br><br><br></div>