Main MRPT website
>
C++ reference
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
mrpt
otherlibs
tclap
Visitor.h
Go to the documentation of this file.
1
2
/******************************************************************************
3
*
4
* file: Visitor.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 TCLAP_VISITOR_H
24
#define TCLAP_VISITOR_H
25
26
namespace
TCLAP {
27
28
/**
29
* A base class that defines the interface for visitors.
30
*/
31
class
Visitor
32
{
33
public
:
34
35
/**
36
* Constructor. Does nothing.
37
*/
38
Visitor
() { }
39
40
/**
41
* Destructor. Does nothing.
42
*/
43
virtual
~Visitor
() { }
44
45
/**
46
* Does nothing. Should be overridden by child.
47
*/
48
virtual
void
visit
() { }
49
};
50
51
}
52
53
#endif
Page generated by
Doxygen 1.8.3
for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013