company logo

ODC_Variable - Variable definition

Inherits:  SDB_Member

Variables are used in order to define parameters, global variables or constants. In ODE, variables are defined as global resources, i.e. variables can be referenced as parameter or return value in any number of functions or function implementations.

Since variables are development resources, documentation and notices are supported for variables.

Notes:

Sharing variables is an advantage, since variables need to be documented only once. On the other hand, one must be careful, since changing a variable specification may affect many functions.

Attributes
Relationships
  • externals_ref - Classes referring to the variable as external or global variable
  • constants_ref - Classes referring to the variable as constant
  • retvals - Functions referring to the variable as return value
  • parameters - Function implementations referring to the variable as constant
Keys
Functions