Chapter 5. Enumerated Types

BridgePoint Builder allows users to define types derived from its set of core data types. Support for the BridgePoint Builder interface for defining enumerated types is fully supported.

Overview of Enumeration Support

Enumerations provide the ability to represent discrete component sets in xtUML. MC-3020 supports the translation of these enumerated types into ANSI C.

Many systems require the ability to define a data type that can take on a finite number of discrete values. The current release of BridgePoint provides support for enumeration data types. MC-3020 4.0 provides support for the translation of enumerations and provides several extensions that are described here. Previous versions of BridgePoint did not support enumerations natively within the tool. The previous method for specifying enumerations by using strings is no longer documented but is still supported by MC-3020 for backward compatibility. Each enumeration specified in the xtUML models is translated into ANSI C defined constants.