Component module symbols

This topic describes the symbols defined for each component module.

DeviceType Component type, corresponding to the component name within PE.
DeviceTypeCount() A number of components of the given type included and enabled in the project (current project configuration); the function is available for component scripts only.
DeviceName User-defined component name unique within the project (in future, this may be more than just an identifier).
ModuleName Module name, so far identical with DeviceName, 100% identifier.
Comment Comments to the component, list of strings, component header generating symbol, not defined unless a comment is written by the user.
runHighSpeed If the device is capable of running in HighSpeedMode; the symbol is not available for SpeedModeList mode, runSpeedMode should be used instead.
runLowSpeed If the device is capable of running in LowSpeedMode; the symbol is not available for SpeedModeList mode, runSpeedMode should be used instead.
runSlowSpeed If the device is capable of running in SlowSpeedMode; the symbol is not available for SpeedModeList mode, runSpeedMode should be used instead.
runSpeedMode List of supported modes (Yes/No identifiers).
runSpeedModeNum Number of supported modes.
<method> Names of all methods requested by the user.
<method>_Hint Hint for the method in question - header declaration.
<method>_HintHint Hint for the method in question - description according to the component (reduced).
<method>_HintLong Hint for the method in question - description according to the component (unreduced).
<event> Names of all events requested by the user; the value stands for the user implementation (procedure name).
<event>Prior Event priority (>= device priority), only defined if the event has a priority.
<event>Module Module of event implementing (replaces the EventModule).
<event>_Hint Hint for the event in question - header declaration.
MethodList List of names of all methods requested.
MethodHints list of hints (headers) of all methods requested.
EventList list of names of all events requested.
EventModules List of all component event modules (replaces EventModule); the list is empty if event modules are not generated; the symbol will be available only during generating. In shared modules, this will contain event modules of all components within the project.
InhrSymbolList List of symbols of all inheritance items with components generating code (a component module) and all linked components.
ComponentVersion Component version.
ComponentTemplate Component template, defined for templates only.
ComponentUserCopyright User copyright for the component (only defined if specified in .bean), a list of lines to be generated within the header.
ComponentAllocatedLicenses The list is available if the component options contains feature "AllocateAllLicenses" and contains all licenses, that were allocated; as the licenses are allocated only for code generation, the symbol is also available only during code generation - it should not be accessed from TST or CHG scripts, use PE_GENERATING symbol to check if it is code generation in progress.