Ada Programming/Attributes/'External Tag

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Description

[edit | edit source]

An external string representation of the tagged type.

For every subtype S of a tagged type T (specific or class-wide):

S'External_Tag denotes an external string representation for S'Tag; it is of the predefined type String. External_Tag may be specified for a specific tagged type via an attribute_definition_clause; the expression of such a clause shall be static. The default external tag representation is implementation defined.

Example

[edit | edit source]
SExternal_Tag return String