commore  1.0.6-SNAPSHOT
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
commore::GlobVarLog Class Reference

#include <GlobVar.h>

+ Inheritance diagram for commore::GlobVarLog:

Public Member Functions

 GlobVarLog (const Symbol &module, const AChar *source_file_name)
 
 GlobVarLog (const Symbol &module, const AChar *source_file_name, Int defaultValue)
 
 operator Int () const
 
Int get () const
 
Int set (Int value)
 
GlobVarLogoperator++ (int)
 
GlobVarLogoperator-- (int)
 
- 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 Int get (const Symbol &module, const Symbol &name)
 
static Int set (const Symbol &module, const Symbol &name, Int value)
 
static Int get_default (const Symbol &module)
 
static Int get_default ()
 
static Int set_default (const Symbol &module, Int value)
 
static Int set_default (Int 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)
 
 ~GlobVar ()
 
- Protected Attributes inherited from commore::GlobVar
Implimpl_
 

Detailed Description

Log level global variable Used by loggin macros

Constructor & Destructor Documentation

GlobVarLog::GlobVarLog ( const Symbol module,
const AChar source_file_name 
)
Parameters
modulemodule name
source_file_namesource file name
GlobVarLog::GlobVarLog ( const Symbol module,
const AChar source_file_name,
Int  defaultValue 
)

Member Function Documentation

Int GlobVarLog::get ( ) const
Returns
variable value
Int GlobVarLog::get ( const Symbol module,
const Symbol name 
)
static
Parameters
modulename
name
Returns
value of variable
Int GlobVarLog::get_default ( const Symbol module)
static
Parameters
modulename
Returns
the default value for module
Int GlobVarLog::get_default ( )
static
Returns
default value
size_t GlobVarLog::get_names ( const Symbol module,
ListSymbol names 
)
static

Get list of Int variable names of module

Parameters
modulename
names
commore::GlobVarLog::operator Int ( ) const
inline
Returns
global var value
GlobVarLog & GlobVarLog::operator++ ( int  )

Increment variable value

GlobVarLog & GlobVarLog::operator-- ( int  )

Decrement variable value

Int GlobVarLog::set ( Int  value)

Set variable value

Parameters
valuenew variable value
Returns
previous variable value
Int GlobVarLog::set ( const Symbol module,
const Symbol name,
Int  value 
)
static

Set a Int variable value

Parameters
modulename
name
valuenew variable value
Returns
previous value of variable
Int GlobVarLog::set_default ( const Symbol module,
Int  value 
)
static

Set module default value

Parameters
modulename
valuenew value
Returns
previous value
Int GlobVarLog::set_default ( Int  value)
static

Set default value

Parameters
valuenew value
Returns
previous value

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