CORBA Programming Reference
Type safe insertion operators for Any.
void CORBA::Any::operator<<=(from_boolean Value)
void CORBA::Any::operator<<=(from_char Value)
void CORBA::Any::operator<<=(from_octet Value)
void CORBA::Any::operator<<=(from_string Value)
These insertion member functions perform a type-safe insertion of a CORBA::Boolean
, a CORBA::Char,
or a CORBA::Octet
reference into an Any. If the Any had a previous value, and its Release
flag is CORBA_TRUE
, the memory is deallocated and the previous TypeCode object reference is freed. The new value is inserted into the Any object by copying the value passed in using the Value
parameter. The appropriate TypeCode reference is duplicated.