tclap
1.2.2
Main Page
+
Namespaces
Namespace List
+
Namespace Members
All
Functions
Typedefs
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
c
t
Typedefs
+
Files
File List
+
File Members
All
Macros
include
tclap
IgnoreRestVisitor.h
Go to the documentation of this file.
1
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*-
2
3
4
/******************************************************************************
5
*
6
* file: IgnoreRestVisitor.h
7
*
8
* Copyright (c) 2003, Michael E. Smoot .
9
* All rights reserved.
10
*
11
* See the file COPYING in the top directory of this distribution for
12
* more information.
13
*
14
* THE SOFTWARE IS PROVIDED _AS IS_, WITHOUT WARRANTY OF ANY KIND, EXPRESS
15
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20
* DEALINGS IN THE SOFTWARE.
21
*
22
*****************************************************************************/
23
24
25
#ifndef TCLAP_IGNORE_REST_VISITOR_H
26
#define TCLAP_IGNORE_REST_VISITOR_H
27
28
#include <
tclap/Visitor.h
>
29
#include <
tclap/Arg.h
>
30
31
namespace
TCLAP
{
32
37
class
IgnoreRestVisitor
:
public
Visitor
38
{
39
public
:
40
44
IgnoreRestVisitor
() :
Visitor
() {}
45
49
void
visit
() {
Arg::beginIgnoring
(); }
50
};
51
52
}
53
54
#endif
TCLAP::IgnoreRestVisitor::visit
void visit()
Sets Arg::_ignoreRest.
Definition:
IgnoreRestVisitor.h:49
TCLAP::Visitor
A base class that defines the interface for visitors.
Definition:
Visitor.h:34
TCLAP::Arg::beginIgnoring
static void beginIgnoring()
Begin ignoring arguments since the "--" argument was specified.
Definition:
Arg.h:191
Arg.h
TCLAP::IgnoreRestVisitor
A Visitor that tells the CmdLine to begin ignoring arguments after this one is parsed.
Definition:
IgnoreRestVisitor.h:37
TCLAP::IgnoreRestVisitor::IgnoreRestVisitor
IgnoreRestVisitor()
Constructor.
Definition:
IgnoreRestVisitor.h:44
Visitor.h
TCLAP
Definition:
Arg.h:48
Generated by
1.8.13