Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
h
i
m
n
o
p
r
s
t
v
w
x
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
p
q
r
s
t
u
v
Enumerations
Enumerator
b
g
h
j
l
o
p
r
s
w
x
y
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
z
Related Functions
:
a
b
c
d
e
f
h
k
l
n
o
p
s
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
f
i
m
n
o
p
s
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
s
t
u
v
Enumerations
Enumerator
a
d
f
i
k
l
o
p
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
h
i
k
l
m
n
p
r
s
t
u
v
w
Examples
src
tools
lvr2_slam2hdf5
src/tools/lvr2_slam2hdf5/Options.hpp
Go to the documentation of this file.
1
/* Copyright (C) 2011 Uni Osnabrück
2
* This file is part of the LAS VEGAS Reconstruction Toolkit,
3
*
4
* LAS VEGAS is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* LAS VEGAS is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
17
*/
18
19
20
/*
21
* Options.h
22
*
23
* Created on: Nov 21, 2010
24
* Author: Thomas Wiemann
25
*/
26
27
#ifndef OPTIONS_H_
28
#define OPTIONS_H_
29
30
#include <iostream>
31
#include <string>
32
#include <vector>
33
#include <boost/program_options.hpp>
34
35
using
std::ostream;
36
using
std::cout;
37
using
std::endl;
38
using
std::string;
39
using
std::vector;
40
41
42
namespace
slam2hdf5
43
{
44
45
using namespace
boost::program_options;
46
51
class
Options
{
52
public
:
53
58
Options
(
int
argc
,
char
**
argv
);
59
virtual
~Options
() {};
60
61
string
inputDir
()
const
{
return
m_variables[
"inputDir"
].as<
string
>(); }
62
63
private
:
64
66
variables_map
m_variables
;
67
69
options_description
m_descr
;
70
72
positional_options_description
m_pdescr
;
73
74
};
75
76
78
inline
ostream&
operator<<
(ostream& os,
const
Options
&o)
79
{
80
cout <<
"##### Program options: "
<< endl;
81
cout <<
"##### Input dir \t\t: "
<< o.
inputDir
() << endl;
82
return
os;
83
}
84
85
}
// namespace reconstruct
86
87
88
#endif
/* OPTIONS_H_ */
slam2hdf5::Options
A class to parse the program options for the reconstruction executable.
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:51
slam2hdf5::Options::inputDir
string inputDir() const
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:61
slam2hdf5::Options::m_descr
options_description m_descr
The internally used option description.
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:69
slam2hdf5::Options::~Options
virtual ~Options()
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:59
argc
int argc
Definition:
tests_high_five_parallel.cpp:27
slam2hdf5
Definition:
src/tools/lvr2_slam2hdf5/Options.cpp:29
slam2hdf5::Options::m_variables
variables_map m_variables
The internally used variable map.
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:66
slam2hdf5::operator<<
ostream & operator<<(ostream &os, const Options &o)
Overlaoeded outpur operator.
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:78
slam2hdf5::Options::m_pdescr
positional_options_description m_pdescr
The internally used positional option desription.
Definition:
src/tools/lvr2_slam2hdf5/Options.hpp:72
argv
char ** argv
Definition:
tests_high_five_parallel.cpp:28
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz
, Alexander Mock
, Lars Kiesow
, Lukas Kalbertodt
, Tristan Igelbrink
, Johan M. von Behren
, Dominik Feldschnieders
, Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24