Skip navigation.

CORBA Programming Reference

  Previous Next vertical dots separating previous/next from contents/index/pdf Contents View as PDF   Get Adobe Reader

 


CORBA::Any::Any(TypeCode_ptr TC, void * Value, Boolean Release)

Synopsis

Creates the Any object using a TypeCode and a value.

C++ Binding

CORBA::Any::Any(TypeCode_ptr TC, void * Value, Boolean Release)

Arguments

TC

A pointer to a TypeCode pseudo-object reference, specifying the type to be created.

Value

A pointer to the data to be used to create the Any object. The data type of this argument must match the TypeCode specified.

Release

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.

Description

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.

Return Values

None.

 

Skip navigation bar  Back to Top Previous Next