Accessing Elements

To allow easy access to the elements of the component, a macro is defined automatically for each element. Each element can then be accessed simply by its element name.

The public elements defined in other components can be accessed from within C functions using the notation <DefiningObject>.<PublicElement>. Access is restricted to basic elements, arrays and matrices. The public interface of complex elements defined in other components, e.g. using the getAt, setAt or search and interpolate methods as in ESDL, cannot be accessed from C functions.

See also

Variables and Function Parameters

Automatically Generated define Statements for Instance Variables

Working with Basic Elements

Messages (C Code)

Arguments

Local Variables

Arrays and Matrices in C Code

Characteristic Lines (C Code)

Characteristic Maps (C Code)