Pol  Revision:cb584c9
basiciomod.cpp
Go to the documentation of this file.
1 
7 #include "basiciomod.h"
8 
9 #include "../../clib/logfacility.h"
10 
11 
12 namespace Pol
13 {
14 namespace Bscript
15 {
16 using namespace Module;
17 template <>
20  {"print", &BasicIoExecutorModule::print}};
21 
22 } // namespace Bscript
23 
24 namespace Module
25 {
27  : Bscript::TmplExecutorModule<BasicIoExecutorModule>( "BasicIo", exec )
28 {
29 }
30 
32 {
33  INFO_PRINT << exec.getParamImp( 0 )->getStringRep() << "\n";
34  return new Bscript::UninitObject;
35 }
36 }
37 }
virtual std::string getStringRep() const =0
Bscript::BObjectImp * print()
Definition: basiciomod.cpp:31
BasicIoExecutorModule(Bscript::Executor &exec)
Definition: basiciomod.cpp:26
#define INFO_PRINT
Definition: logfacility.h:223
Definition: berror.cpp:12
BObjectImp * getParamImp(unsigned param)
Definition: executor.cpp:266