Pol  Revision:cb584c9
Pol::Module::MathExecutorModule Class Reference

#include <mathmod.h>

+ Inheritance diagram for Pol::Module::MathExecutorModule:

Public Member Functions

 MathExecutorModule (Bscript::Executor &exec)
 
Bscript::BObjectImpmf_Abs ()
 
Bscript::BObjectImpmf_ACos ()
 
Bscript::BObjectImpmf_ASin ()
 
Bscript::BObjectImpmf_ATan ()
 
Bscript::BObjectImpmf_Ceil ()
 
Bscript::BObjectImpmf_ConstE ()
 
Bscript::BObjectImpmf_ConstPi ()
 
Bscript::BObjectImpmf_Cos ()
 
Bscript::BObjectImpmf_DegToRad ()
 
Bscript::BObjectImpmf_Floor ()
 
Bscript::BObjectImpmf_FormatRealToString ()
 
Bscript::BObjectImpmf_Log10 ()
 
Bscript::BObjectImpmf_LogE ()
 
Bscript::BObjectImpmf_Max ()
 
Bscript::BObjectImpmf_Min ()
 
Bscript::BObjectImpmf_Pow ()
 
Bscript::BObjectImpmf_RadToDeg ()
 
Bscript::BObjectImpmf_Root ()
 
Bscript::BObjectImpmf_Sin ()
 
Bscript::BObjectImpmf_Sqrt ()
 
Bscript::BObjectImpmf_Tan ()
 
- Public Member Functions inherited from Pol::Bscript::ExecutorModule
virtual ~ExecutorModule ()=default
 
BApplicObjBasegetApplicObjParam (unsigned param, const BApplicObjType *object_type)
 
void * getApplicPtrParam (unsigned param, const BApplicObjType *pointer_type)
 
bool getObjArrayParam (unsigned param, ObjArray *&pobjarr)
 
bool getParam (unsigned param, int &value)
 
bool getParam (unsigned param, int &value, int maxval)
 
bool getParam (unsigned param, int &value, int minval, int maxval)
 
bool getParam (unsigned param, unsigned &value)
 
bool getParam (unsigned param, short &value)
 
bool getParam (unsigned param, short &value, short maxval)
 
bool getParam (unsigned param, short &value, short minval, short maxval)
 
bool getParam (unsigned param, unsigned short &value)
 
bool getParam (unsigned param, unsigned short &value, unsigned short maxval)
 
bool getParam (unsigned param, unsigned short &value, unsigned short minval, unsigned short maxval)
 
BObjectImpgetParamImp (unsigned param)
 
BObjectImpgetParamImp (unsigned param, BObjectImp::BObjectType type)
 
bool getParamImp (unsigned param, BObjectImp *&imp)
 
bool getRealParam (unsigned param, double &value)
 
const StringgetStringParam (unsigned param)
 
bool getStringParam (unsigned param, const String *&pstr)
 
const std::string & scriptname () const
 

Additional Inherited Members

- Public Attributes inherited from Pol::Bscript::ExecutorModule
Executorexec
 
- Protected Member Functions inherited from Pol::Bscript::TmplExecutorModule< MathExecutorModule >
 TmplExecutorModule (const char *modname, Executor &exec)
 
virtual BObjectImpexecFunc (unsigned idx) POL_OVERRIDE
 
virtual int functionIndex (const std::string &funcname) POL_OVERRIDE
 
virtual std::string functionName (unsigned idx) POL_OVERRIDE
 
- Protected Member Functions inherited from Pol::Bscript::ExecutorModule
 ExecutorModule (const char *moduleName, Executor &iExec)
 
- Protected Attributes inherited from Pol::Bscript::ExecutorModule
boost_utils::function_name_flystring moduleName
 

Detailed Description

Definition at line 26 of file mathmod.h.

Constructor & Destructor Documentation

Pol::Module::MathExecutorModule::MathExecutorModule ( Bscript::Executor exec)

Definition at line 75 of file mathmod.cpp.

Member Function Documentation

Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_ACos ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_ASin ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_ATan ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Ceil ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_ConstE ( )

Definition at line 366 of file mathmod.cpp.

Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().

Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_ConstPi ( )

Definition at line 362 of file mathmod.cpp.

Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().

Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Cos ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_DegToRad ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Floor ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_FormatRealToString ( )
Todo:
: sprintf produces different output on some doubles (eg. M_PI) on Windows/Linux. Use something else? 2016-01-23 Bodom

Definition at line 371 of file mathmod.cpp.

References Pol::UoTool::buffer, Pol::Bscript::ExecutorModule::getParam(), and Pol::Bscript::ExecutorModule::getRealParam().

Referenced by Pol::Bscript::TmplExecutorModule< T >::function_table().

Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Log10 ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_LogE ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Pow ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_RadToDeg ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Root ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Sin ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Sqrt ( )
Bscript::BObjectImp * Pol::Module::MathExecutorModule::mf_Tan ( )

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