// server side code char* str = "Hello world!"; CORBA::String_var string_var(str); // ... obj->myMethod(string_var.out()); // Using as an input // client side code CORBA::String_var outString_var; obj->myMethod(outString_var.inout()); // Using as an outputIn this example, the String_var is used as both an input and output parameter in a CORBA method call. The server-side initializes the String_var with a string value and passes it as an input parameter to the myMethod method, which is defined in the CORBA interface. On the client-side, the String_var is used as an output parameter to return the value back from the server. Package Library: The CPP CORBA String_var is a part of the CORBA API for C++ programming language, which is included in the standard CORBA library.