Previous Topic: Path DefinitionNext Topic: Group Definition


Enum Definition

Enumerated lists let strings be associated with signed 32-bit integers. They are defined in the component scope or in the scope of individual attributes. Component instrumentation uses these enumerations to pass integers through the DMI, so that management applications can display the corresponding text string in the user's native language.

The syntax of enumerated lists is:

start enum
	name = "enum name"
	vvv = "string literal for vvv"
	[xxx = "string literal for xxx"]
end enum
enum name

Specifies a unique enumeration list name in this component.

Integer values vvv and xxx

Specifies the lowest and highest numbers. This can be listed in any order. It is not necessary to have every number, which is represented between the lowest and highest, listed. However, each value must be unique in this enumeration definition.

Many enum definitions can appear in the component definition; one for each enumeration list. Enumerations do not have ID or description statements.