OTX Reference  
OpenTestSystem.Otx.Core.Declarations.Declaration Class Reference

Abstract base type for declarations More...

Inheritance diagram for OpenTestSystem.Otx.Core.Declarations.Declaration:
Inheritance graph

Classes

class  DeclarationRealisation
 For declarations at specification stage, having a name for the declaration is sufficient. For realisation stage, the declaration needs a data type assignment. The optional realisation element is used for exactly this task – it contains a dataType sub element. More...
 

Public Attributes

DeclarationRealisation realisation
 For declarations at specification stage, having a name for the declaration is sufficient. For realisation stage, the declaration needs a data type assignment. The optional realisation element is used for exactly this task – it contains a dataType sub element. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.UniversalTypes.NamedAndSpecified
ExtensibleData[] extendedData
 Declares general data for NamedAndSpecified which can be extented by new general data defined in new OTX extensions using the standardised extension mechanism. For example it can be used to specify specification relevant content in a better structured way. More...
 
OtxId id
 Unique identifier of an element More...
 
MetaData metaData
 Additional tool-specific data More...
 
OtxName name
 Name of an element More...
 
System.String specification
 Descriptive specification More...
 

Detailed Description

Abstract base type for declarations

The abstract Declaration type is used for declarations in the global, local and parameter declaration blocks. It is the base for all parameter, constant and variable declarations. The visibility of declared identifiers depends on the location of the declaration and of the Visibility modifier. Every declaration is composed of a name (the identifier) and a data type.

Note
Declarations will be processed before procedure execution.
Data type assignment
For each OTX data type, there are different rules concerning the declaration and especially the initialisation of identifier values. An overview about the possible data types that can be assigned to an identifier at declaration time is given in the following picture.

Member Data Documentation

◆ realisation

DeclarationRealisation OpenTestSystem.Otx.Core.Declarations.Declaration.realisation

For declarations at specification stage, having a name for the declaration is sufficient. For realisation stage, the declaration needs a data type assignment. The optional realisation element is used for exactly this task – it contains a dataType sub element.