commore  1.0.6-SNAPSHOT
All Classes Namespaces Functions Variables Typedefs Enumerations Pages
commore::GlobVarBool Class Reference

#include <GlobVar.h>

+ Inheritance diagram for commore::GlobVarBool:

Public Member Functions

 GlobVarBool (const Symbol &module, const Symbol &name)
 
 GlobVarBool (const Symbol &module, const Symbol &name, Bool defaultValue)
 
 operator Bool () const
 
Bool get () const
 
Bool set (Bool value)
 
- Public Member Functions inherited from commore::GlobVar
const Symbolget_module () const
 
const Symbolget_name () const
 

Static Public Member Functions

static size_t get_names (const Symbol &module, ListSymbol &names)
 
static Bool get (const Symbol &module, const Symbol &name)
 
static Bool set (const Symbol &module, const Symbol &name, Bool value)
 
- Static Public Member Functions inherited from commore::GlobVar
static size_t get_modules (ListSymbol &modules)
 

Additional Inherited Members

- Protected Member Functions inherited from commore::GlobVar
 GlobVar (const Symbol &module, const Symbol &name, int type)
 
- Protected Attributes inherited from commore::GlobVar
Impl * impl_
 

Detailed Description

Bool global variable

Constructor & Destructor Documentation

commore::GlobVarBool::GlobVarBool ( const Symbol module,
const Symbol name 
)
Parameters
modulename
nameof the variable

Member Function Documentation

Bool commore::GlobVarBool::get ( ) const
Returns
variable value
static Bool commore::GlobVarBool::get ( const Symbol module,
const Symbol name 
)
static
Parameters
modulename
name
Returns
value of variable
static size_t commore::GlobVarBool::get_names ( const Symbol module,
ListSymbol names 
)
static

Get list of bool variable names of module

Parameters
modulename
names
commore::GlobVarBool::operator Bool ( ) const
inline
Returns
global var value
Bool commore::GlobVarBool::set ( Bool  value)

Set variable value

Parameters
valuenew variable value
Returns
previous variable value
static Bool commore::GlobVarBool::set ( const Symbol module,
const Symbol name,
Bool  value 
)
static

Set bool variable value

Parameters
modulename
name
valuenew variable value
Returns
previous value of variable

The documentation for this class was generated from the following file: