8 Attributes

8.1 connect

Identifier:

.connect

Classification: Attribute of the class RECORD, specific of the object

Definition

Argument type

boolean

C definition

AT_connect

C data type

DT_boolean

COBOL definition

AT-connect

COBOL data type

DT-boolean

Access

get, set

changed, i.e. attribute can be used to trigger rules.

This attribute allows the user to dynamically control the connection of a record with functions to a C++-class instance. When changing the condition to true, a C++-class instance is generated and at the same time the this-pointer of the instance is taken note of. If the attribute value is set as false, the instance on C++ will be destroyed. This attribute is only statically available and will not be passed on.

See Also

DM_Record::connect

Attribute shadow

8.2 shadow

Identifier:

.shadow

Classification: Attribute of the class RECORD, specific of the object

Definition

Argument type

pointer

C definition

AT_shadow

C data type

DT_pointer

COBOL definition

AT-shadow

COBOL data type

DT-pointer

Access

get, set

changed, i.e. attribute can be used to trigger rules.

This attribute contains the this-pointer of the C++-class instance of a record with functions, which is connected with a class instance on the C++-side. No connection will be identified through a NULL pointer. Please note that the application can crash if the attribute is set with a false pointer.

In setting the attribute with a correct this-pointer, the .connect-attribute will be set automatically. However, in setting the attribute to the NULL pointer the .connect-attribute is set back, while the C++-class instance is not destroyed.

This attribute is only statically available and will not be passed on.

See Also

DM_Record::connect

Attribute connect