CmdLineOutput.h
00001 00002 00003 /****************************************************************************** 00004 * 00005 * file: CmdLineOutput.h 00006 * 00007 * Copyright (c) 2004, Michael E. Smoot 00008 * All rights reverved. 00009 * 00010 * See the file COPYING in the top directory of this distribution for 00011 * more information. 00012 * 00013 * THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS 00014 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00015 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 00016 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 00017 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00018 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 00019 * DEALINGS IN THE SOFTWARE. 00020 * 00021 *****************************************************************************/ 00022 00023 #ifndef TCLAP_CMDLINEOUTPUT_H 00024 #define TCLAP_CMDLINEOUTPUT_H 00025 00026 #include <string> 00027 #include <vector> 00028 #include <list> 00029 #include <iostream> 00030 #include <iomanip> 00031 #include <algorithm> 00032 00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00034 namespace TCLAP { 00035 00036 class CmdLineInterface; 00037 class ArgException; 00038 00043 class CmdLineOutput 00044 { 00045 00046 public: 00047 00051 virtual ~CmdLineOutput() {} 00052 00057 virtual void usage(CmdLineInterface& c)=0; 00058 00063 virtual void version(CmdLineInterface& c)=0; 00064 00070 virtual void failure( CmdLineInterface& c, 00071 ArgException& e )=0; 00072 00073 }; 00074 00075 } //namespace TCLAP 00076 #endif 00077 /* DOXYGEN_SHOULD_SKIP_THIS */ 00078 00079 #endif