VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  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
A base class that defines the interface for visitors.
Definition: cmdVisitor.h:41
This file declares classes for VR-Link command line parsing utility.
This file declares the class DtCmdLine::Visitor.
virtual ~IgnoreRestVisitor()
Definition: cmdIgnoreRestVisitor.h:53
IgnoreRestVisitor()
Constructor.
Definition: cmdIgnoreRestVisitor.h:52
void visit()
Sets Arg::_ignoreRest.
Definition: cmdIgnoreRestVisitor.h:58

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)