#include <GlobVar.h>
GlobVarInt::GlobVarInt |
( |
const Symbol & |
module, |
|
|
const Symbol & |
name |
|
) |
| |
GlobVarInt::GlobVarInt |
( |
const Symbol & |
module, |
|
|
const Symbol & |
name, |
|
|
Int |
default_value |
|
) |
| |
- Parameters
-
module | module name |
name | |
default_value | |
Int GlobVarInt::get |
( |
| ) |
const |
- Returns
- the variable value
- Parameters
-
module | name |
name | variable name |
Get list of module variables
- Parameters
-
module | name |
names | list of variable name |
- Returns
- number of variable
commore::GlobVarInt::operator Int |
( |
| ) |
const |
|
inline |
Increment global variable
Decrement global variable
Int GlobVarInt::set |
( |
Int |
value | ) |
|
Set variable value
- Parameters
-
- Returns
- previous variable value
Set the variable value
- Returns
- previous the variable value
- Parameters
-
module | name |
name | variable name |
value | new variable value |
The documentation for this class was generated from the following files: