[omniORB] Pointer from a _var?

Bruce Fountain B_Fountain@motherwell.com.au
Thu, 21 Jun 2001 07:50:55 +0800


Wilson Jimmy wrote:
> The standard way to do it is to use CORBA::is_nil(ObjectRef). 
>  When you
> initialize your _var pointers, initialize them using
> ObjectNamespace::ObjectName::_nil() to return a NULL/nil 
> object reference to
> your _var pointer

Perhaps I wasn't clear: my _var pointer doesn't
contain an objref, it contains a sequence. As far as I can
tell there is no CORBA::is_nil() method that takes my user
defined datatype. Nor is there a generated _nil() method for
my sequence. And assigning NULL to my sequence _var works
fine.

Bruce Fountain
b_fountain@motherwell.com.au