[omniORB] Regarding Datatype in C++

Rajesh Khan rajeshkhan808 at gmail.com
Thu Dec 15 18:25:04 GMT 2011


Hi is there anyway to quickly familiarize with the datatypes being used .
It gets confusing sometimes for example
        CORBA::ORB_var orb = CORBA::ORB_init(argc, argv);
        CORBA::Object_var obj = getObjectReference(orb);  //orb is of type
CORBA::ORB_var

However its being passed to a function which requires CORBA::ORB_ptr
static CORBA::Object_ptr getObjectReference(CORBA::ORB_ptr orb)
{...... }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20111215/95d6b685/attachment.htm


More information about the omniORB-list mailing list