Public Member Functions | |
| Context (map< string, double > &aVar) | |
| Context (Context &ctx) | |
| void | Init (void) |
| Context & | operator= (Context &ctx) |
| Context & | operator+= (Context &ctx) |
| Context & | operator-= (Context &ctx) |
| Context & | operator *= (Context &ctx) |
| Context & | operator/= (Context &ctx) |
| Context & | operator|= (Context &ctx) |
Data Fields | |
| map< icstring, double > & | variables |
| association of the variable names and their values (for this case random) | |
| double | val |
|
|
Definition at line 32 of file ars/exprint.h. References Init(), val, and variables.
|
|
|
Definition at line 36 of file ars/exprint.h. References Init(), val, and variables.
|
|
|
Definition at line 40 of file ars/exprint.h. References Cfg::GetCfg(), Cfg::Handler::GetCfgInt(), icstring, and variables. Referenced by Context().
00041 {
00042 Cfg::Handler &h = Cfg::GetCfg();
00043 variables.insert( make_pair( icstring( "scrw" ) , h.GetCfgInt( "SetupScreen" , "screenw" ) ) );
00044 variables.insert( make_pair( icstring( "scrh" ) , h.GetCfgInt( "SetupScreen" , "screenh" ) ) );
00045 }
|
|
|
Definition at line 63 of file ars/exprint.h. References val.
00064 {
00065 val *= ctx.val;
00066 return *this;
00067 }
|
|
|
Definition at line 53 of file ars/exprint.h. References val.
00054 {
00055 val += ctx.val;
00056 return *this;
00057 }
|
|
|
Definition at line 58 of file ars/exprint.h. References val.
00059 {
00060 val -= ctx.val;
00061 return *this;
00062 }
|
|
|
Definition at line 68 of file ars/exprint.h. References val.
00069 {
00070 val /= ctx.val;
00071 return *this;
00072 }
|
|
|
Definition at line 47 of file ars/exprint.h. References val.
00048 {
00049 val = ctx.val;
00050 return *this;
00051 }
|
|
|
Definition at line 73 of file ars/exprint.h. References val.
|
|
|
Definition at line 30 of file ars/exprint.h. Referenced by Context(), operator *=(), operator+=(), operator-=(), operator/=(), operator=(), operator|=(), and Ars::ExprParser::WalkTree(). |
|
|
association of the variable names and their values (for this case random)
Definition at line 29 of file ars/exprint.h. Referenced by Context(), Init(), and Ars::ExprParser::WalkTree(). |
1.3.3