VR-Link API Documentation for DIS
cmdIgnoreRestVisitor.h
Go to the documentation of this file.
1 
2 /******************************************************************************
3  *
4  * file: IgnoreRestVisitor.h
5  *
6  * Copyright (c) 2003, Michael E. Smoot .
7  * All rights reverved.
8  *
9  * See the file COPYING in the top directory of this distribution for
10  * more information.
11  *
12  * THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS
13  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
17  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
18  * DEALINGS IN THE SOFTWARE.
19  *
20  *****************************************************************************/
21 
22 
23 #ifndef DtCmdLine_IGNORE_REST_VISITOR_H
24 #define DtCmdLine_IGNORE_REST_VISITOR_H
25 
29 
30 #include "cmdVisitor.h"
31 #include "cmdArg.h"
32 
33 #ifdef DtUSE_UTILITIES_NAMESPACE
34 namespace DtUSE_UTILITIES_NAMESPACE
35 {
36 #endif
37 
38  namespace DtCmdLine {
39 
44 
45  class IgnoreRestVisitor: public Visitor
46  {
47  public:
48 
53  virtual ~IgnoreRestVisitor() { }
54 
58  void visit() { Arg::beginIgnoring(); }
59  };
60 
61  }
62 
63 #ifdef DtUSE_UTILITIES_NAMESPACE
64 }
65 #endif
66 
67 #endif

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)