Pol  Revision:cb584c9
PolMain.cpp
Go to the documentation of this file.
1 #include "PolMain.h"
2 
3 #include "../clib/Program/ProgramMain.h"
4 #include "pol.h"
5 
6 namespace Pol
7 {
8 namespace Clib
9 {
10 using namespace std;
11 
13 
18 {
19  // no help available
20 }
21 
23 {
24  // TODO: merge the following with all the other xmain* functions
25  return Pol::xmain_outer( programArgsFind( "test" ) );
26 }
27 }
28 } // namespaces
29 
33 
34 int main( int argc, char* argv[] )
35 {
36  Pol::Clib::PolMain* polMain = new Pol::Clib::PolMain();
37  polMain->start( argc, argv );
38 }
bool programArgsFind(const std::string &filter, std::string *rest=nullptr) const
STL namespace.
void start(int argc, char *argv[])
Definition: ProgramMain.cpp:42
int xmain_outer(bool testing)
Definition: pol.cpp:1452
virtual int main()
Definition: PolMain.cpp:22
virtual ~PolMain()
Definition: PolMain.cpp:15
Definition: berror.cpp:12
virtual void showHelp()
Definition: PolMain.cpp:17