|
Pol
Rev 533
|
#include <basicmod.h>
Inheritance diagram for BasicExecutorModule:
Collaboration diagram for BasicExecutorModule:Public Member Functions | |
| BasicExecutorModule (Executor &exec) | |
| BObjectImp * | find () |
| BObjectImp * | len () |
| BObjectImp * | lower () |
| BObjectImp * | mf_Bin () |
| BObjectImp * | mf_CAsc () |
| BObjectImp * | mf_CAscZ () |
| BObjectImp * | mf_CChr () |
| BObjectImp * | mf_CChrZ () |
| BObjectImp * | mf_CDbl () |
| BObjectImp * | mf_CInt () |
| BObjectImp * | mf_Compare () |
| BObjectImp * | mf_CStr () |
| BObjectImp * | mf_Hex () |
| BObjectImp * | mf_Pack () |
| BObjectImp * | mf_SizeOf () |
| BObjectImp * | mf_SplitWords () |
| BObjectImp * | mf_StrReplace () |
| BObjectImp * | mf_substr () |
| BObjectImp * | mf_SubStrReplace () |
| BObjectImp * | mf_Trim () |
| BObjectImp * | mf_TypeOf () |
| BObjectImp * | mf_TypeOfInt () |
| BObjectImp * | mf_Unpack () |
| BObjectImp * | upper () |
Protected Member Functions | |
| virtual BObjectImp * | execFunc (unsigned idx) |
| virtual int | functionIndex (const char *func) |
| virtual std::string | functionName (unsigned idx) |
Static Protected Attributes | |
| static BasicFunctionDef | function_table [] |
Definition at line 42 of file basicmod.h.
| BasicExecutorModule::BasicExecutorModule | ( | Executor & | exec | ) | [inline] |
Definition at line 74 of file basicmod.h.
| BObjectImp * BasicExecutorModule::execFunc | ( | unsigned | idx | ) | [protected, virtual] |
Implements ExecutorModule.
Definition at line 566 of file basicmod.cpp.
References callMemberFunction, and function_table.
Definition at line 56 of file basicmod.cpp.
References ExecutorModule::exec, String::find(), Executor::getParamImp(), Executor::makeString(), Executor::paramAsLong(), and Executor::paramAsString().
Here is the call graph for this function:| int BasicExecutorModule::functionIndex | ( | const char * | func | ) | [protected, virtual] |
Implements ExecutorModule.
Definition at line 556 of file basicmod.cpp.
References arsize, and function_table.
| std::string BasicExecutorModule::functionName | ( | unsigned | idx | ) | [protected, virtual] |
Implements ExecutorModule.
Definition at line 571 of file basicmod.cpp.
References BasicFunctionDef::funcname, and function_table.
Definition at line 33 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), BObjectImp::getStringRep(), BObjectImp::isa(), BStruct::mapcount(), BObjectImp::OTArray, BObjectImp::OTError, BObjectImp::OTString, and ObjArray::ref_arr.
Referenced by mf_SubStrReplace().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 218 of file basicmod.cpp.
References ExecutorModule::exec, Executor::paramAsString(), and String::toLower().
Here is the call graph for this function:Definition at line 415 of file basicmod.cpp.
References buffer, ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), BObjectImp::OTLong, and BLong::value().
Here is the call graph for this function:Definition at line 284 of file basicmod.cpp.
References String::data(), ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), and BObjectImp::OTString.
Here is the call graph for this function:Definition at line 298 of file basicmod.cpp.
References ObjArray::addElement(), ExecutorModule::exec, Executor::getParamImp(), BObjectImp::getStringRep(), and Executor::paramAsLong().
Here is the call graph for this function:Definition at line 314 of file basicmod.cpp.
References ExecutorModule::getParam().
Here is the call graph for this function:Definition at line 330 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), BObjectImp::OTArray, BObjectImp::OTLong, Executor::paramAsLong(), ObjArray::ref_arr, and BLong::value().
Here is the call graph for this function:Definition at line 255 of file basicmod.cpp.
References BObjectImp::copy(), String::data(), ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), BObjectImp::OTDouble, BObjectImp::OTLong, BObjectImp::OTString, and BLong::value().
Here is the call graph for this function:Definition at line 232 of file basicmod.cpp.
References BObjectImp::copy(), String::data(), ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), BObjectImp::OTDouble, BObjectImp::OTLong, BObjectImp::OTString, and Double::value().
Here is the call graph for this function:Definition at line 157 of file basicmod.cpp.
References ExecutorModule::exec, Executor::paramAsLong(), and Executor::paramAsString().
Here is the call graph for this function:Definition at line 278 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), and BObjectImp::getStringRep().
Here is the call graph for this function:Definition at line 362 of file basicmod.cpp.
References String::data(), ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), BObjectImp::OTDouble, BObjectImp::OTLong, BObjectImp::OTString, BLong::value(), and Double::value().
Here is the call graph for this function:Definition at line 493 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), and BObjectImp::pack().
Here is the call graph for this function:Definition at line 517 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), and BObjectImp::sizeEstimate().
Here is the call graph for this function:Definition at line 437 of file basicmod.cpp.
References ObjArray::addElement(), ExecutorModule::exec, Executor::getParamImp(), Executor::getStringParam(), String::getStringRep(), BObjectImp::getStringRep(), and ISTRINGSTREAM.
Here is the call graph for this function:Definition at line 101 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), BObjectImp::getStringRep(), String::length(), BObjectImp::OTString, and ref_counted::release().
Here is the call graph for this function:Definition at line 68 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), Executor::makeString(), Executor::paramAsLong(), and String::StrStr().
Here is the call graph for this function:Definition at line 123 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), BObjectImp::getStringRep(), len(), String::length(), BObjectImp::OTString, and Executor::paramAsLong().
Here is the call graph for this function:Definition at line 78 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), BObjectImp::isa(), BObjectImp::OTString, Executor::paramAsLong(), and Executor::paramAsString().
Here is the call graph for this function:Definition at line 512 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), and BObjectImp::typeOf().
Here is the call graph for this function:Definition at line 522 of file basicmod.cpp.
References ExecutorModule::exec, Executor::getParamImp(), and BObjectImp::typeOfInt().
Here is the call graph for this function:Definition at line 499 of file basicmod.cpp.
References String::data(), ExecutorModule::exec, Executor::getStringParam(), and BObjectImp::unpack().
Here is the call graph for this function:Definition at line 225 of file basicmod.cpp.
References ExecutorModule::exec, Executor::paramAsString(), and String::toUpper().
Here is the call graph for this function:BasicFunctionDef BasicExecutorModule::function_table [static, protected] |
{
{ "find", &BasicExecutorModule::find },
{ "len", &BasicExecutorModule::len },
{ "upper", &BasicExecutorModule::upper },
{ "lower", &BasicExecutorModule::lower },
{ "Substr", &BasicExecutorModule::mf_substr },
{ "Trim", &BasicExecutorModule::mf_Trim },
{ "StrReplace", &BasicExecutorModule::mf_StrReplace },
{ "SubStrReplace", &BasicExecutorModule::mf_SubStrReplace },
{ "Compare", &BasicExecutorModule::mf_Compare },
{ "CInt", &BasicExecutorModule::mf_CInt },
{ "CStr", &BasicExecutorModule::mf_CStr },
{ "CDbl", &BasicExecutorModule::mf_CDbl },
{ "CAsc", &BasicExecutorModule::mf_CAsc },
{ "CChr", &BasicExecutorModule::mf_CChr },
{ "CAscZ", &BasicExecutorModule::mf_CAscZ },
{ "CChrZ", &BasicExecutorModule::mf_CChrZ },
{ "Bin", &BasicExecutorModule::mf_Bin },
{ "Hex", &BasicExecutorModule::mf_Hex },
{ "SplitWords", &BasicExecutorModule::mf_SplitWords },
{ "Pack", &BasicExecutorModule::mf_Pack },
{ "Unpack", &BasicExecutorModule::mf_Unpack },
{ "TypeOf", &BasicExecutorModule::mf_TypeOf },
{ "SizeOf", &BasicExecutorModule::mf_SizeOf },
{ "TypeOfInt", &BasicExecutorModule::mf_TypeOfInt }
}
Definition at line 81 of file basicmod.h.
Referenced by execFunc(), functionIndex(), and functionName().