PreviousNext

Structure

The structure of the attribute configuration file is as follows:

interface_header

{

interface_body

}

Follow these structural rules when writing an attribute configuration file:

· The basename of the ACF must be the same as the basename of the IDL file although the extensions are different.

· The interface name in the ACF must be the same as the interface name in the corresponding IDL file.

· With a few exceptions, any type, parameter, or operation names in the ACF must be declared in the IDL file, or defined in files included by use of the include statement, as the same class of name.

· Except for additional status parameters, any parameter name that occurs within an operation in the ACF must also occur within that operation in the IDL file.

More:

ACF Interface Header

ACF Interface Body

The include Statement and the C++ cstub and sstub

The auto_handle Attribute

The explicit_handle Attribute

The implicit_handle Attribute

The client_memory Attribute

The comm_status and fault_status Attributes

The code and nocode Attributes

The represent_as Attribute

The enable_allocate Attribute

The heap Attribute

The extern_exceptions Attribute

The encode and decode Attributes

The cs_char Attribute

The cs_stag, cs_drtag, and cs_rtag Attributes

The cs_tag_rtn Attribute

The binding_callout Attribute

The C++ Attributes cxx_new, cxx_static, cxx_lookup, and cxx_delegate