#include <GlobVar.h>
| commore::GlobVarInt::GlobVarInt |
( |
const Symbol & |
module, |
|
|
const Symbol & |
name |
|
) |
| |
| commore::GlobVarInt::GlobVarInt |
( |
const Symbol & |
module, |
|
|
const Symbol & |
name, |
|
|
Int |
default_value |
|
) |
| |
- Parameters
-
| module | module name |
| name | |
| default_value | |
| Int commore::GlobVarInt::get |
( |
| ) |
const |
| static Int commore::GlobVarInt::get |
( |
const Symbol & |
module, |
|
|
const Symbol & |
name |
|
) |
| |
|
static |
- Returns
- the variable value
- Parameters
-
| module | name |
| name | variable name |
| static size_t commore::GlobVarInt::get_names |
( |
const Symbol & |
module, |
|
|
ListSymbol & |
names |
|
) |
| |
|
static |
Get list of module variables
- Parameters
-
| module | name |
| names | list of variable name |
- Returns
- number of variable
| commore::GlobVarInt::operator Int |
( |
| ) |
const |
|
inline |
| GlobVarInt& commore::GlobVarInt::operator++ |
( |
int |
| ) |
|
Increment global variable
| GlobVarInt& commore::GlobVarInt::operator-- |
( |
int |
| ) |
|
Decrement global variable
| Int commore::GlobVarInt::set |
( |
Int |
value | ) |
|
Set variable value
- Parameters
-
- Returns
- previous variable value
| static Int commore::GlobVarInt::set |
( |
const Symbol & |
module, |
|
|
const Symbol & |
name, |
|
|
Int |
value |
|
) |
| |
|
static |
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 file: