Jive reference manual
List of all members | Public Types | Static Public Member Functions | Static Public Attributes
jive::util::FuncUtils Class Reference

#include <jive/util/FuncUtils.h>

Public Types

typedef jem::Array< Ref< Function > > FuncArray
 

Static Public Member Functions

static Ref< FunctionnewFunc (double value=0.0)
 
static Ref< FunctionnewFunc (const String &expr)
 
static Ref< FunctionnewFunc (const String &args, const String &expr)
 
static Ref< FunctionnewFunc (const String &expr, const Properties &globdat)
 
static Ref< FunctionnewFunc (const String &args, const String &expr, const Properties &globdat)
 
static Ref< FunctionnewFunc (const String &name, const Properties &props, const Properties &globdat)
 
static Ref< FunctionnewFunc (const String &args, const String &name, const Properties &props, const Properties &globdat)
 
static bool configFunc (Ref< Function > &func, const String &name, const Properties &props, const Properties &globdat)
 
static bool configFunc (Ref< Function > &func, const String &args, const String &name, const Properties &props, const Properties &globdat)
 
static bool configFuncs (FuncArray &funcs, const String &name, const Properties &props, const Properties &globdat)
 
static bool configFuncs (FuncArray &funcs, const String &args, const String &name, const Properties &props, const Properties &globdat)
 
static void getConfig (const Properties &conf, const Ref< Function > &func, const String &name)
 
static void getConfig (const Properties &conf, const FuncArray &func, const String &name)
 
static double evalExpr (const String &expr, const Properties &globdat)
 
static double evalFunc (Function &func, const Properties &globdat)
 
static double evalFunc (Function &func, const double *args, const Properties &globdat)
 
static Ref< FunctionnewCond (bool value=true)
 
static Ref< FunctionnewCond (const char *expr)
 
static Ref< FunctionnewCond (const String &expr)
 
static Ref< FunctionnewCond (const String &expr, const Properties &globdat)
 
static bool configCond (Ref< Function > &cond, const String &name, const Properties &props, const Properties &globdat)
 
static bool evalCond (Function &cond, const Properties &globdat)
 
static void resolve (Function &func, const Properties &globdat)
 
static void resolve (const FuncArray &funcs, const Properties &globdat)
 
static void declareVars (Function &func, const Properties &globdat)
 
static Ref< FunctiongetFunc (const String &name, const Properties &globdat, const String &context)
 
static Ref< FunctionfindFunc (const String &name, const Properties &globdat)
 
static void storeFunc (const String &name, const Ref< Function > &func, const Properties &globdat)
 
static Ref< DictionarygetFuncs (const Properties &globdat)
 
static Ref< DictionaryfindFuncs (const Properties &globdat)
 

Static Public Attributes

static const char * STD_ARGS
 

Member Typedef Documentation

Member Function Documentation

static Ref<Function> jive::util::FuncUtils::newFunc ( double  value = 0.0)
static
static Ref<Function> jive::util::FuncUtils::newFunc ( const String expr)
static
static Ref<Function> jive::util::FuncUtils::newFunc ( const String args,
const String expr 
)
static
static Ref<Function> jive::util::FuncUtils::newFunc ( const String expr,
const Properties globdat 
)
static
static Ref<Function> jive::util::FuncUtils::newFunc ( const String args,
const String expr,
const Properties globdat 
)
static
Ref< Function > jive::util::FuncUtils::newFunc ( const String name,
const Properties props,
const Properties globdat 
)
static
static Ref<Function> jive::util::FuncUtils::newFunc ( const String args,
const String name,
const Properties props,
const Properties globdat 
)
static
bool jive::util::FuncUtils::configFunc ( Ref< Function > &  func,
const String name,
const Properties props,
const Properties globdat 
)
static
static bool jive::util::FuncUtils::configFunc ( Ref< Function > &  func,
const String args,
const String name,
const Properties props,
const Properties globdat 
)
static
bool jive::util::FuncUtils::configFuncs ( FuncArray funcs,
const String name,
const Properties props,
const Properties globdat 
)
static
static bool jive::util::FuncUtils::configFuncs ( FuncArray funcs,
const String args,
const String name,
const Properties props,
const Properties globdat 
)
static
static void jive::util::FuncUtils::getConfig ( const Properties conf,
const Ref< Function > &  func,
const String name 
)
static
static void jive::util::FuncUtils::getConfig ( const Properties conf,
const FuncArray func,
const String name 
)
static
static double jive::util::FuncUtils::evalExpr ( const String expr,
const Properties globdat 
)
static
static double jive::util::FuncUtils::evalFunc ( Function func,
const Properties globdat 
)
static
static double jive::util::FuncUtils::evalFunc ( Function func,
const double *  args,
const Properties globdat 
)
static
static Ref<Function> jive::util::FuncUtils::newCond ( bool  value = true)
static
static Ref<Function> jive::util::FuncUtils::newCond ( const char *  expr)
static
static Ref<Function> jive::util::FuncUtils::newCond ( const String expr)
static
static Ref<Function> jive::util::FuncUtils::newCond ( const String expr,
const Properties globdat 
)
static
static bool jive::util::FuncUtils::configCond ( Ref< Function > &  cond,
const String name,
const Properties props,
const Properties globdat 
)
static
static bool jive::util::FuncUtils::evalCond ( Function cond,
const Properties globdat 
)
static
static void jive::util::FuncUtils::resolve ( Function func,
const Properties globdat 
)
static
static void jive::util::FuncUtils::resolve ( const FuncArray funcs,
const Properties globdat 
)
static
static void jive::util::FuncUtils::declareVars ( Function func,
const Properties globdat 
)
static
static Ref<Function> jive::util::FuncUtils::getFunc ( const String name,
const Properties globdat,
const String context 
)
static
static Ref<Function> jive::util::FuncUtils::findFunc ( const String name,
const Properties globdat 
)
static
static void jive::util::FuncUtils::storeFunc ( const String name,
const Ref< Function > &  func,
const Properties globdat 
)
static
static Ref<Dictionary> jive::util::FuncUtils::getFuncs ( const Properties globdat)
static
static Ref<Dictionary> jive::util::FuncUtils::findFuncs ( const Properties globdat)
static

Member Data Documentation

const char* jive::util::FuncUtils::STD_ARGS
static