VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cmdLineOutput.h
Go to the documentation of this file.
1 
2 
3 /******************************************************************************
4  *
5  * file: CmdLineOutput.h
6  *
7  * Copyright (c) 2004, Michael E. Smoot
8  * All rights reverved.
9  *
10  * See the file COPYING in the top directory of this distribution for
11  * more information.
12  *
13  * THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS
14  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
18  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
19  * DEALINGS IN THE SOFTWARE.
20  *
21  *****************************************************************************/
22 
23 #ifndef DtCmdLine_CMDLINEOUTPUT_H
24 #define DtCmdLine_CMDLINEOUTPUT_H
25 
29 
30 #include <string>
31 #include <vector>
32 #include <list>
33 #include <iostream>
34 #include <iomanip>
35 #include <algorithm>
36 
37 #ifdef DtUSE_UTILITIES_NAMESPACE
38 namespace DtUSE_UTILITIES_NAMESPACE
39 {
40 #endif
41 
42 namespace DtCmdLine {
43 
44  class CmdLineInterface;
45  class ArgException;
46 
50 
52  {
53 
54  public:
55 
57  virtual ~CmdLineOutput() { }
58 
63  virtual void usage(CmdLineInterface& c)=0;
64 
69  virtual void version(CmdLineInterface& c)=0;
70 
76  virtual void failure( CmdLineInterface& c,
77  ArgException& e )=0;
78  };
79 
80 } //namespace DtCmdLine
81 
82 #ifdef DtUSE_UTILITIES_NAMESPACE
83 }
84 #endif
85 
86 #endif

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)