Pol  Revision:4b29d2b
basicmod.h
Go to the documentation of this file.
1 
7 #ifndef BSCRIPT_BASICMOD_H
8 #define BSCRIPT_BASICMOD_H
9 
10 namespace Pol
11 {
12 namespace Bscript
13 {
14 class BObjectImp;
15 class Executor;
16 } // namespace Bscript
17 } // namespace Pol
18 #ifndef BSCRIPT_EXECMODL_H
19 #include "../../bscript/execmodl.h"
20 #endif
21 
22 // FIXME: this is currently misnamed, should be StringExecutorModule
23 namespace Pol
24 {
25 namespace Module
26 {
27 class BasicExecutorModule : public Bscript::TmplExecutorModule<BasicExecutorModule>
28 {
29 public:
30  /* These probably belong in a string module */
31  Bscript::BObjectImp* find();
32  Bscript::BObjectImp* len();
33  Bscript::BObjectImp* upper();
34  Bscript::BObjectImp* lower();
35  Bscript::BObjectImp* mf_substr();
36  Bscript::BObjectImp* mf_Trim();
37  Bscript::BObjectImp* mf_StrReplace();
38  Bscript::BObjectImp* mf_SubStrReplace();
39  Bscript::BObjectImp* mf_Compare();
40  Bscript::BObjectImp* mf_CInt();
41  Bscript::BObjectImp* mf_CStr();
42  Bscript::BObjectImp* mf_CDbl();
43  Bscript::BObjectImp* mf_CAsc();
44  Bscript::BObjectImp* mf_CAscZ();
45  Bscript::BObjectImp* mf_CChr();
46  Bscript::BObjectImp* mf_CChrZ();
47 
48  Bscript::BObjectImp* mf_Bin();
49  Bscript::BObjectImp* mf_Hex();
50  Bscript::BObjectImp* mf_SplitWords();
51 
52  Bscript::BObjectImp* mf_Pack();
53  Bscript::BObjectImp* mf_Unpack();
54 
55  Bscript::BObjectImp* mf_TypeOf();
56  Bscript::BObjectImp* mf_SizeOf();
57  Bscript::BObjectImp* mf_TypeOfInt();
58 
59  Bscript::BObjectImp* mf_PackJSON();
60  Bscript::BObjectImp* mf_UnpackJSON();
61 
62  Bscript::BObjectImp* mf_Boolean();
63 
64  Bscript::BObjectImp* mf_EncodeBase64();
65  Bscript::BObjectImp* mf_DecodeBase64();
66 
68 };
69 } // namespace Module
70 } // namespace Pol
71 #endif
Definition: berror.cpp:12