MagicSmoke  $VERSION$
formula.cpp File Reference
#include "formula.h"
#include "misc.h"
#include <QDebug>
#include <Nullable>
#include <ELAM/IntEngine>
#include <ELAM/BoolEngine>
#include <ELAM/FloatEngine>
#include <ELAM/StringEngine>

Functions

static QVariant fromMoneyFunc (const QList< QVariant > &lf, bool local)
 
static QVariant fromMoneyFuncLoc (const QList< QVariant > &lf, Engine &)
 
static QVariant fromMoneyFuncNLoc (const QList< QVariant > &lf, Engine &)
 
static QVariant nullboolCast (const QVariant &orig, const Engine &)
 
static QVariant nullintCast (const QVariant &orig, const Engine &)
 
static QVariant nullstrCast (const QVariant &orig, const Engine &)
 
static QVariant toMoneyFunc (const QList< QVariant > &lf, bool local)
 
static QVariant toMoneyFuncLoc (const QList< QVariant > &lf, Engine &)
 
static QVariant toMoneyFuncNLoc (const QList< QVariant > &lf, Engine &)
 
static QVariant unix2DateFunc (const QList< QVariant > &args, Engine &)
 
static QVariant unix2DateTimeFunc (const QList< QVariant > &args, Engine &)
 
static QVariant unix2DTFunc (const QList< QVariant > &args, int mode)
 
static QVariant unix2TimeFunc (const QList< QVariant > &args, Engine &)
 

Function Documentation

static QVariant fromMoneyFunc ( const QList< QVariant > &  lf,
bool  local 
)
inlinestatic

References str2cent().

Referenced by fromMoneyFuncLoc(), and fromMoneyFuncNLoc().

static QVariant fromMoneyFuncLoc ( const QList< QVariant > &  lf,
Engine &   
)
static

References fromMoneyFunc().

Referenced by MElamEngine::MElamEngine().

static QVariant fromMoneyFuncNLoc ( const QList< QVariant > &  lf,
Engine &   
)
static

References fromMoneyFunc().

Referenced by MElamEngine::MElamEngine().

static QVariant nullboolCast ( const QVariant &  orig,
const Engine &   
)
static
static QVariant nullintCast ( const QVariant &  orig,
const Engine &   
)
static
static QVariant nullstrCast ( const QVariant &  orig,
const Engine &   
)
static
static QVariant toMoneyFunc ( const QList< QVariant > &  lf,
bool  local 
)
inlinestatic

References cent2str().

Referenced by toMoneyFuncLoc(), and toMoneyFuncNLoc().

static QVariant toMoneyFuncLoc ( const QList< QVariant > &  lf,
Engine &   
)
static

References toMoneyFunc().

Referenced by MElamEngine::MElamEngine().

static QVariant toMoneyFuncNLoc ( const QList< QVariant > &  lf,
Engine &   
)
static

References toMoneyFunc().

Referenced by MElamEngine::MElamEngine().

static QVariant unix2DateFunc ( const QList< QVariant > &  args,
Engine &   
)
static

References unix2DTFunc().

Referenced by MElamEngine::MElamEngine().

static QVariant unix2DateTimeFunc ( const QList< QVariant > &  args,
Engine &   
)
static

References unix2DTFunc().

Referenced by MElamEngine::MElamEngine().

static QVariant unix2DTFunc ( const QList< QVariant > &  args,
int  mode 
)
inlinestatic
static QVariant unix2TimeFunc ( const QList< QVariant > &  args,
Engine &   
)
static

References unix2DTFunc().

Referenced by MElamEngine::MElamEngine().