13.1.24.1 Argument Mapping
An attribute is equivalent to two operations, one to return the
attribute and one to set the attribute. For example, the
itemInfo
attribute listed above is equivalent to:
void itemInfo (in itemStruct itemInfo);
itemStruct itemInfo ();
The argument mapping for the attribute is the same as the mapping for an operation argument. The attribute is mapped to the corresponding C++ type as described in the following table Basic OMG IDL and C++ Data Types and table Object, Pseudo-object, and User-defined OMG IDL and C++ Types. The parameter passing modes for arguments in an operation are described in table Basic Argument and Result Passing and table T_var Argument and Result Passing.
Parent topic: Attributes