Hi Gang,
I've started noticing some things in my CORBA examples. It appears that CORBA is providing member functions that I don't understand. For example if I declare a CORBA::String_var s. To then use cout or fout I hacked until s.in() allowed me to do it. I had just happened to notice other variables in examples using the .in(), .out(), and .inout(). My original attempt was with .out() and that didn't appear to work.
Is CORBA generating these member functions, if that's what they are? And what are they doing? It appears to my meagre understanding that .in() must be a type cast, which in this case casts a CORBA::String_var to a char *. Is that a correct observation?
Thanks,
Frank
I've started noticing some things in my CORBA examples. It appears that CORBA is providing member functions that I don't understand. For example if I declare a CORBA::String_var s. To then use cout or fout I hacked until s.in() allowed me to do it. I had just happened to notice other variables in examples using the .in(), .out(), and .inout(). My original attempt was with .out() and that didn't appear to work.
Is CORBA generating these member functions, if that's what they are? And what are they doing? It appears to my meagre understanding that .in() must be a type cast, which in this case casts a CORBA::String_var to a char *. Is that a correct observation?
Thanks,
Frank