CORBA Programming Reference
|
|
Creates the Any object using a TypeCode and a value.
CORBA::Any::Any(TypeCode_ptr TC, void * Value, Boolean Release)
A pointer to the data to be used to create the Any object. The data type of this argument must match the TypeCode specified.
Determines whether the Any assumes ownership of the memory specified by the Value argument. If Release is CORBA_TRUE, the Any assumes ownership. If Release is CORBA_FALSE, the Any does not assume ownership; the data pointed to by the Value argument is not released upon assignment or destruction.
This constructor is used with the nontype-safe Any interface. It duplicates the specified TypeCode object reference and then inserts the data pointed to by value inside the Any object.
|
|
|