Difference between revisions of "Core.Visibilities"

From emotive
Jump to navigation Jump to search
m (Hb moved page Core.OtxVisibilities to Core.Visibilities: #3153)
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
 
The visibility attribute determines whether global elements can be used in other documents or not. These global elements are:
 
The visibility attribute determines whether global elements can be used in other documents or not. These global elements are:
  
* Procedures
+
* Validities
 
* Signatures
 
* Signatures
 
* Global constants
 
* Global constants
 
* Context variables
 
* Context variables
* Validities
+
* State variables
 +
* Procedures
  
 
There are the three levels of visibility as follows:
 
There are the three levels of visibility as follows:
Line 21: Line 22:
  
 
== See also ==
 
== See also ==
[[Core.OtxValidation|Validation (OTX-Checker)]] <br/>
+
[[Core.Validation|Validation (OTX-Checker)]] <br/>
​​[[General.OtxNamingConventions|Naming Conventions]] <br/>
+
​​[[General.NamingConventions|Naming Conventions]] <br/>
[[Core.OtxImports|Imports]] <br/>
+
[[Core.Imports|Imports]] <br/>
[[Core.OtxDeclarations|Declarations]] <br/>
+
[[Core.Declarations|Declarations]] <br/>
[[Core.OtxValidities|Validities]] <br/>
+
[[Core.Validities|Validities]] <br/>
[[Core.OtxSignatures|Signatures]] <br/>
+
[[Core.Signatures|Signatures]] <br/>
[[Core.OtxParameters|Parameter Declarations]] <br/>
+
[[Core.Parameters|Parameter Declarations]] <br/>
[[Core.OtxProcedures|Procedures]] <br/>
+
[[Core.Procedures|Procedures]] <br/>
[[Core.OtxComments|Comments]]
+
[[Core.Comments|Comments]]

Latest revision as of 09:49, 29 August 2018

Classification

Name Visibilities
Short Description An attribute of the global elements to determine accessibility
Class OTX Core
Pre-Conditions -
Specified by ISO 13209-2

Introduction

The visibility attribute determines whether global elements can be used in other documents or not. These global elements are:

  • Validities
  • Signatures
  • Global constants
  • Context variables
  • State variables
  • Procedures

There are the three levels of visibility as follows:

  • Private
    The corresponding element can only be used within the same document. It is, therefore, invisible to other OTX documents.
  • Package
    The corresponding element can only be used in the documents within the same package. It is, therefore, invisible to OTX documents outside the current package.
  • Public
    The corresponding element can be used by all of the documents. Therefore, it is visible to all OTX documents.

Global variables always have the visibility private, i.e. they can not be used in other documents!

See also

Validation (OTX-Checker)
​​Naming Conventions
Imports
Declarations
Validities
Signatures
Parameter Declarations
Procedures
Comments