how to get address of a Reference in UNo?

189 Views Asked by At

In Uno suppose I have Interface of UNO type. I need to access its value or address. Which method should I call?

1

There are 1 best solutions below

0
On

Like any C++ object, you get the address of an object with &. A reference itself doesn't have an address, but you can still use & to get the address of the object refered to.

"value" is a bit more complex. What's the value of an iLaunchRocket* interface? Many interfaces offer only functions and do not have (publicly visible) data. In such cases, the notion of a "value" is tricky.