IODA Bundle
ToolRunnerApplication.h
Go to the documentation of this file.
1 /*
2  * (C) Copyright 1996-2012 ECMWF.
3  *
4  * This software is licensed under the terms of the Apache Licence Version 2.0
5  * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6  * In applying this licence, ECMWF does not waive the privileges and immunities
7  * granted to it by virtue of its status as an intergovernmental organisation nor
8  * does it submit to any jurisdiction.
9  */
10 
11 /// \file ToolRunnerApplication.h
12 ///
13 /// @author Piotr Kuchta, ECMWF, Feb 2009
14 
15 #ifndef ToolRunnerApplication_H
16 #define ToolRunnerApplication_H
17 
18 #include "odc/ODBApplication.h"
19 
20 namespace odc {
21 namespace tool {
22 
23 class Tool;
24 
26 public:
27  ToolRunnerApplication (int argc, char **argv, bool createCommandLineTool = true, bool deleteTool=true);
28  ToolRunnerApplication (odc::tool::Tool &tool, int argc, char **argv);
30 
31  void tool(odc::tool::Tool *);
32 
33  void run();
34  int printHelp(std::ostream &out);
35 private:
38 };
39 
40 } // namespace tool
41 } // namespace odc
42 
43 #endif
ToolRunnerApplication(int argc, char **argv, bool createCommandLineTool=true, bool deleteTool=true)
Definition: ColumnInfo.h:23