Previous | Table of Contents | Next |
A regular event type satisfies the following syntax:
(137) <event_dcl> ::= <event_header> “{? <value_element> * “}?
(138) <event_header> ::= [ “custom? ] “eventtype? <identifier> [ <value_inheritance_spec> ]
3.16.1.1 Event Header
The event header consists of two elements:
• The event type’s name and optional modifier specifying whether the event type uses custom marshaling.
• An optional value inheritance specification described in Section 3.9.1.3, “Value Inheritance Specification,? on page 3-27.
3.16.1.2 Event Element
An event can contain all the elements that a value can as described in Section 3.9.1.2,
“Value Element,? on page 3-27 (i.e., attributes, operations, initializers, state members).