Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
c34fb6bf
Commit
c34fb6bf
authored
Apr 30, 2009
by
wiebel
Browse files
adapted classnames and filenames to new namingconvention due to new name
parent
ffe75f64
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
101 additions
and
101 deletions
+101
-101
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/OpenWalnut.cpp
src/OpenWalnut.cpp
+3
-3
src/graphicsEngine/WGLScenePainter.cpp
src/graphicsEngine/WGLScenePainter.cpp
+6
-6
src/graphicsEngine/WGLScenePainter.h
src/graphicsEngine/WGLScenePainter.h
+6
-6
src/gui/CMakeLists.txt
src/gui/CMakeLists.txt
+1
-1
src/gui/WGUI.cpp
src/gui/WGUI.cpp
+2
-2
src/gui/WGUI.h
src/gui/WGUI.h
+5
-5
src/gui/icons/WIcons.h
src/gui/icons/WIcons.h
+3
-3
src/gui/qt4/WMainApplication.cpp
src/gui/qt4/WMainApplication.cpp
+4
-4
src/gui/qt4/WMainApplication.h
src/gui/qt4/WMainApplication.h
+4
-4
src/gui/qt4/WMainWindow.cpp
src/gui/qt4/WMainWindow.cpp
+10
-10
src/gui/qt4/WMainWindow.h
src/gui/qt4/WMainWindow.h
+9
-9
src/gui/qt4/WQtGLWidget.cpp
src/gui/qt4/WQtGLWidget.cpp
+10
-10
src/gui/qt4/WQtGLWidget.h
src/gui/qt4/WQtGLWidget.h
+9
-9
src/gui/qt4/WQtPipelineBrowser.cpp
src/gui/qt4/WQtPipelineBrowser.cpp
+4
-4
src/gui/qt4/WQtPipelineBrowser.h
src/gui/qt4/WQtPipelineBrowser.h
+6
-6
src/gui/test/WGUI_test.h
src/gui/test/WGUI_test.h
+6
-6
src/utils/WOptionHandler.cpp
src/utils/WOptionHandler.cpp
+6
-6
src/utils/WOptionHandler.h
src/utils/WOptionHandler.h
+6
-6
No files found.
src/CMakeLists.txt
View file @
c34fb6bf
...
...
@@ -62,7 +62,7 @@ ADD_SUBDIRECTORY( dataHandler )
ADD_SUBDIRECTORY
(
graphicsEngine
)
ADD_SUBDIRECTORY
(
gui
)
ADD_SUBDIRECTORY
(
plugins
)
ADD_EXECUTABLE
(
walnut
BCognize
.cpp utils/
B
OptionHandler.cpp
)
ADD_EXECUTABLE
(
walnut
OpenWalnut
.cpp utils/
W
OptionHandler.cpp
)
TARGET_LINK_LIBRARIES
(
walnut guiqt4
${
Boost_LIBRARIES
}
)
...
...
src/
BCognize
.cpp
→
src/
OpenWalnut
.cpp
View file @
c34fb6bf
...
...
@@ -23,8 +23,8 @@
#include <iostream>
#include "gui/qt4/
B
MainApplication.h"
#include "utils/
B
OptionHandler.h"
#include "gui/qt4/
W
MainApplication.h"
#include "utils/
W
OptionHandler.h"
/**
* The main routine starting up the whole application.
...
...
@@ -43,6 +43,6 @@ int main( int argc, char* argv[] )
"along with OpenWalnut. If not, see <http://www.gnu.org/licenses/>."
<<
std
::
endl
;
std
::
cout
<<
std
::
endl
;
// Create new line after message for clarity.
B
OptionHandler
h
(
argc
,
argv
);
W
OptionHandler
h
(
argc
,
argv
);
return
h
.
takeActions
();
}
src/graphicsEngine/
B
GLScenePainter.cpp
→
src/graphicsEngine/
W
GLScenePainter.cpp
View file @
c34fb6bf
...
...
@@ -24,19 +24,19 @@
#include <cassert>
#include <GL/glew.h>
#include "
B
GLScenePainter.h"
#include "
W
GLScenePainter.h"
B
GLScenePainter
::
B
GLScenePainter
()
W
GLScenePainter
::
W
GLScenePainter
()
{
// TODO(wiebel): Auto-generated constructor stub
}
B
GLScenePainter
::~
B
GLScenePainter
()
W
GLScenePainter
::~
W
GLScenePainter
()
{
// TODO(wiebel): Auto-generated destructor stub
}
void
B
GLScenePainter
::
initGL
()
const
void
W
GLScenePainter
::
initGL
()
const
{
GLenum
glewError
=
glewInit
();
assert
(
glewError
==
GL_NO_ERROR
);
...
...
@@ -47,7 +47,7 @@ void BGLScenePainter::initGL() const
glClearColor
(
1.
,
1.
,
1.
,
0
);
}
void
B
GLScenePainter
::
paintGL
()
const
void
W
GLScenePainter
::
paintGL
()
const
{
glClear
(
GL_COLOR_BUFFER_BIT
|
GL_DEPTH_BUFFER_BIT
);
glLoadIdentity
();
...
...
@@ -68,7 +68,7 @@ void BGLScenePainter::paintGL() const
glEnd
();
}
void
B
GLScenePainter
::
resizeGL
(
int
width
,
int
height
)
const
void
W
GLScenePainter
::
resizeGL
(
int
width
,
int
height
)
const
{
glViewport
(
0
,
0
,
width
,
height
);
}
src/graphicsEngine/
B
GLScenePainter.h
→
src/graphicsEngine/
W
GLScenePainter.h
View file @
c34fb6bf
...
...
@@ -21,18 +21,18 @@
//
//---------------------------------------------------------------------------
#ifndef
B
GLSCENEPAINTER_H
#define
B
GLSCENEPAINTER_H
#ifndef
W
GLSCENEPAINTER_H
#define
W
GLSCENEPAINTER_H
/**
* \ingroup ge
* This is the base class for rendering the scene graph.
*/
class
B
GLScenePainter
class
W
GLScenePainter
{
public:
B
GLScenePainter
();
virtual
~
B
GLScenePainter
();
W
GLScenePainter
();
virtual
~
W
GLScenePainter
();
/**
* Initialize the OpenGL context, e.g., set main transformation matrices.
...
...
@@ -60,4 +60,4 @@ public:
*/
#endif //
B
GLSCENEPAINTER_H
#endif //
W
GLSCENEPAINTER_H
src/gui/CMakeLists.txt
View file @
c34fb6bf
...
...
@@ -6,5 +6,5 @@ ADD_LIBRARY( gui SHARED ${GUI_SRC} )
# Unit tests
IF
(
CXXTEST_FOUND
)
CXXTEST_ADD_TEST
(
unittest_
B
GUI
B
GUI_test.cc
${
CMAKE_CURRENT_SOURCE_DIR
}
/test/
B
GUI_test.h
)
CXXTEST_ADD_TEST
(
unittest_
W
GUI
W
GUI_test.cc
${
CMAKE_CURRENT_SOURCE_DIR
}
/test/
W
GUI_test.h
)
ENDIF
(
CXXTEST_FOUND
)
src/gui/
B
GUI.cpp
→
src/gui/
W
GUI.cpp
View file @
c34fb6bf
...
...
@@ -21,8 +21,8 @@
//
//---------------------------------------------------------------------------
#include "
B
GUI.h"
#include "
W
GUI.h"
B
GUI
::~
B
GUI
()
W
GUI
::~
W
GUI
()
{
}
src/gui/
B
GUI.h
→
src/gui/
W
GUI.h
View file @
c34fb6bf
...
...
@@ -21,17 +21,17 @@
//
//---------------------------------------------------------------------------
#ifndef
B
GUI_H
#define
B
GUI_H
#ifndef
W
GUI_H
#define
W
GUI_H
/**
* This class prescribes the interface to the GUI.
* \ingroup gui
*/
class
B
GUI
class
W
GUI
{
public:
virtual
~
B
GUI
();
virtual
~
W
GUI
();
/**
* \brief
...
...
@@ -51,4 +51,4 @@ public:
*/
#endif //
B
GUI_H
#endif //
W
GUI_H
src/gui/icons/
B
Icons.h
→
src/gui/icons/
W
Icons.h
View file @
c34fb6bf
...
...
@@ -21,8 +21,8 @@
//
//---------------------------------------------------------------------------
#ifndef
B
ICONS_H
#define
B
ICONS_H
#ifndef
W
ICONS_H
#define
W
ICONS_H
/**
* This file is provided to allow to get access to all used icons by one include.
...
...
@@ -32,4 +32,4 @@
#include "fileopen.xpm"
#include "quit.xpm"
#endif //
B
ICONS_H
#endif //
W
ICONS_H
src/gui/qt4/
B
MainApplication.cpp
→
src/gui/qt4/
W
MainApplication.cpp
View file @
c34fb6bf
...
...
@@ -23,14 +23,14 @@
#include <QtGui/QApplication>
#include "
B
MainApplication.h"
#include "
B
MainWindow.h"
#include "
W
MainApplication.h"
#include "
W
MainWindow.h"
int
B
MainApplication
::
runQT
(
int
argc
,
char
*
argv
[]
)
int
W
MainApplication
::
runQT
(
int
argc
,
char
*
argv
[]
)
{
QApplication
appl
(
argc
,
argv
);
QMainWindow
*
widget
=
new
QMainWindow
;
B
MainWindow
gui
;
W
MainWindow
gui
;
gui
.
setupGUI
(
widget
);
widget
->
show
();
...
...
src/gui/qt4/
B
MainApplication.h
→
src/gui/qt4/
W
MainApplication.h
View file @
c34fb6bf
...
...
@@ -21,13 +21,13 @@
//
//---------------------------------------------------------------------------
#ifndef
B
MAINAPPLICATION_H
#define
B
MAINAPPLICATION_H
#ifndef
W
MAINAPPLICATION_H
#define
W
MAINAPPLICATION_H
/**
* Starts up the QT GUI.
*/
class
B
MainApplication
class
W
MainApplication
{
public:
/**
...
...
@@ -41,5 +41,5 @@ protected:
private:
};
#endif //
B
MAINAPPLICATION_H
#endif //
W
MAINAPPLICATION_H
src/gui/qt4/
B
MainWindow.cpp
→
src/gui/qt4/
W
MainWindow.cpp
View file @
c34fb6bf
...
...
@@ -23,15 +23,15 @@
#include <QtGui/QDockWidget>
#include "
B
MainWindow.h"
#include "
B
QtGLWidget.h"
#include "
B
QtPipelineBrowser.h"
#include "
W
MainWindow.h"
#include "
W
QtGLWidget.h"
#include "
W
QtPipelineBrowser.h"
#include "../icons/
B
Icons.h"
#include "../icons/
W
Icons.h"
void
B
MainWindow
::
addDockableGLWidget
(
QMainWindow
*
MainWindow
)
void
W
MainWindow
::
addDockableGLWidget
(
QMainWindow
*
MainWindow
)
{
m_glWidget
=
new
B
QtGLWidget
();
m_glWidget
=
new
W
QtGLWidget
();
QDockWidget
*
dockWidget
=
new
QDockWidget
(
"Graphics Display"
);
dockWidget
->
setAllowedAreas
(
Qt
::
LeftDockWidgetArea
|
Qt
::
RightDockWidgetArea
);
...
...
@@ -39,7 +39,7 @@ void BMainWindow::addDockableGLWidget( QMainWindow *MainWindow )
MainWindow
->
addDockWidget
(
Qt
::
LeftDockWidgetArea
,
dockWidget
);
}
void
B
MainWindow
::
setupGUI
(
QMainWindow
*
MainWindow
)
void
W
MainWindow
::
setupGUI
(
QMainWindow
*
MainWindow
)
{
QIcon
mainWindowIcon
;
QIcon
quitIcon
;
...
...
@@ -137,7 +137,7 @@ void BMainWindow::setupGUI( QMainWindow *MainWindow )
m_menuHelp
->
setTitle
(
QApplication
::
translate
(
"MainWindow"
,
"&Help"
,
0
,
QApplication
::
UnicodeUTF8
)
);
m_glWidget
=
new
B
QtGLWidget
();
m_glWidget
=
new
W
QtGLWidget
();
MainWindow
->
setCentralWidget
(
m_glWidget
);
// initially 3 views
...
...
@@ -145,7 +145,7 @@ void BMainWindow::setupGUI( QMainWindow *MainWindow )
addDockableGLWidget
(
MainWindow
);
addDockableGLWidget
(
MainWindow
);
m_pipelineBrowser
=
new
B
QtPipelineBrowser
();
m_pipelineBrowser
=
new
W
QtPipelineBrowser
();
MainWindow
->
addDockWidget
(
Qt
::
RightDockWidgetArea
,
m_pipelineBrowser
);
MainWindow
->
setWindowTitle
(
QApplication
::
translate
(
"MainWindow"
,
...
...
@@ -159,7 +159,7 @@ void BMainWindow::setupGUI( QMainWindow *MainWindow )
QMetaObject
::
connectSlotsByName
(
MainWindow
);
}
void
B
MainWindow
::
setEnabled
(
bool
enable
)
void
W
MainWindow
::
setEnabled
(
bool
enable
)
{
// TODO(wiebel) implement here
}
src/gui/qt4/
B
MainWindow.h
→
src/gui/qt4/
W
MainWindow.h
View file @
c34fb6bf
...
...
@@ -21,8 +21,8 @@
//
//---------------------------------------------------------------------------
#ifndef
B
MAINWINDOW_H
#define
B
MAINWINDOW_H
#ifndef
W
MAINWINDOW_H
#define
W
MAINWINDOW_H
#include <QtCore/QVariant>
#include <QtGui/QAction>
...
...
@@ -35,18 +35,18 @@
#include <QtGui/QToolBar>
#include <QtGui/QWidget>
#include "../
B
GUI.h"
#include "../
W
GUI.h"
// forward declarations
class
B
QtGLWidget
;
class
B
QtPipelineBrowser
;
class
W
QtGLWidget
;
class
W
QtPipelineBrowser
;
/**
* \ingroup gui
* This class contains the main window and the layout
* of the widgets within the window.
*/
class
B
MainWindow
:
public
B
GUI
class
W
MainWindow
:
public
W
GUI
{
public:
...
...
@@ -77,8 +77,8 @@ private:
QStatusBar
*
m_statusBar
;
QToolBar
*
m_toolBar
;
B
QtGLWidget
*
m_glWidget
;
B
QtPipelineBrowser
*
m_pipelineBrowser
;
W
QtGLWidget
*
m_glWidget
;
W
QtPipelineBrowser
*
m_pipelineBrowser
;
/**
* Helper routine for adding new docks with GL content
...
...
@@ -86,4 +86,4 @@ private:
void
addDockableGLWidget
(
QMainWindow
*
MainWindow
);
};
#endif //
B
MAINWINDOW_H
#endif //
W
MAINWINDOW_H
src/gui/qt4/
B
QtGLWidget.cpp
→
src/gui/qt4/
W
QtGLWidget.cpp
View file @
c34fb6bf
...
...
@@ -21,10 +21,10 @@
//
//---------------------------------------------------------------------------
#include "
B
QtGLWidget.h"
#include "../../graphicsEngine/
B
GLScenePainter.h"
#include "
W
QtGLWidget.h"
#include "../../graphicsEngine/
W
GLScenePainter.h"
B
QtGLWidget
::
B
QtGLWidget
(
B
GLScenePainter
*
scenePainter
,
QWidget
*
parent
)
W
QtGLWidget
::
W
QtGLWidget
(
W
GLScenePainter
*
scenePainter
,
QWidget
*
parent
)
:
QGLWidget
(
parent
),
m_scenePainter
(
scenePainter
),
m_recommendedSize
()
...
...
@@ -33,37 +33,37 @@ BQtGLWidget::BQtGLWidget( BGLScenePainter* scenePainter, QWidget *parent )
m_recommendedSize
.
setHeight
(
200
);
}
B
QtGLWidget
::
B
QtGLWidget
(
QWidget
*
parent
)
W
QtGLWidget
::
W
QtGLWidget
(
QWidget
*
parent
)
:
QGLWidget
(
parent
),
m_recommendedSize
()
{
m_recommendedSize
.
setWidth
(
200
);
m_recommendedSize
.
setHeight
(
200
);
m_scenePainter
=
new
B
GLScenePainter
();
m_scenePainter
=
new
W
GLScenePainter
();
}
B
QtGLWidget
::~
B
QtGLWidget
()
W
QtGLWidget
::~
W
QtGLWidget
()
{
// TODO(wiebel): Auto-generated destructor stub
}
void
B
QtGLWidget
::
paintGL
()
void
W
QtGLWidget
::
paintGL
()
{
// TODO(wiebel): we have to have something automatic in here in the future
m_scenePainter
->
paintGL
();
}
QSize
B
QtGLWidget
::
sizeHint
()
const
QSize
W
QtGLWidget
::
sizeHint
()
const
{
return
m_recommendedSize
;
}
void
B
QtGLWidget
::
resizeGL
(
int
width
,
int
height
)
void
W
QtGLWidget
::
resizeGL
(
int
width
,
int
height
)
{
m_scenePainter
->
resizeGL
(
width
,
height
);
}
void
B
QtGLWidget
::
initializeGL
()
void
W
QtGLWidget
::
initializeGL
()
{
m_scenePainter
->
initGL
();
}
src/gui/qt4/
B
QtGLWidget.h
→
src/gui/qt4/
W
QtGLWidget.h
View file @
c34fb6bf
...
...
@@ -21,24 +21,24 @@
//
//---------------------------------------------------------------------------
#ifndef
B
QTGLWIDGET_H
#define
B
QTGLWIDGET_H
#ifndef
W
QTGLWIDGET_H
#define
W
QTGLWIDGET_H
#include <QtOpenGL/QGLWidget>
class
B
GLScenePainter
;
class
W
GLScenePainter
;
/**
* \ingroup gui
* A widget containing an open gl display area.
*/
class
B
QtGLWidget
:
public
QGLWidget
class
W
QtGLWidget
:
public
QGLWidget
{
public:
explicit
B
QtGLWidget
(
QWidget
*
parent
=
0
);
B
QtGLWidget
(
B
GLScenePainter
*
scenePainter
,
QWidget
*
parent
=
0
);
virtual
~
B
QtGLWidget
();
explicit
W
QtGLWidget
(
QWidget
*
parent
=
0
);
W
QtGLWidget
(
W
GLScenePainter
*
scenePainter
,
QWidget
*
parent
=
0
);
virtual
~
W
QtGLWidget
();
/**
* returns the recommended size for the widget to allow
...
...
@@ -78,7 +78,7 @@ private:
/**
* Holds the GL scene painter of the widget
*/
B
GLScenePainter
*
m_scenePainter
;
W
GLScenePainter
*
m_scenePainter
;
/**
* Holds the recommended size for the widget
...
...
@@ -86,4 +86,4 @@ private:
QSize
m_recommendedSize
;
};
#endif //
B
QTGLWIDGET_H
#endif //
W
QTGLWIDGET_H
src/gui/qt4/
B
QtPipelineBrowser.cpp
→
src/gui/qt4/
W
QtPipelineBrowser.cpp
View file @
c34fb6bf
...
...
@@ -21,9 +21,9 @@
//
//---------------------------------------------------------------------------
#include "
B
QtPipelineBrowser.h"
#include "
W
QtPipelineBrowser.h"
B
QtPipelineBrowser
::
B
QtPipelineBrowser
()
W
QtPipelineBrowser
::
W
QtPipelineBrowser
()
:
QDockWidget
(
"Pipeline Browser"
),
m_recommendedSize
()
{
...
...
@@ -32,12 +32,12 @@ BQtPipelineBrowser::BQtPipelineBrowser()
m_recommendedSize
.
setHeight
(
300
);
}
B
QtPipelineBrowser
::~
B
QtPipelineBrowser
()
W
QtPipelineBrowser
::~
W
QtPipelineBrowser
()
{
// TODO(wiebel) Auto-generated destructor stub
}
QSize
B
QtPipelineBrowser
::
sizeHint
()
const
QSize
W
QtPipelineBrowser
::
sizeHint
()
const
{
return
m_recommendedSize
;
}
src/gui/qt4/
B
QtPipelineBrowser.h
→
src/gui/qt4/
W
QtPipelineBrowser.h
View file @
c34fb6bf
...
...
@@ -21,8 +21,8 @@
//
//---------------------------------------------------------------------------
#ifndef
B
QTPIPELINEBROWSER_H
#define
B
QTPIPELINEBROWSER_H
#ifndef
W
QTPIPELINEBROWSER_H
#define
W
QTPIPELINEBROWSER_H
#include <QtGui/QDockWidget>
...
...
@@ -31,11 +31,11 @@
* Represents the browser showing the loaded data sets
* and applied filter/methods/algorithms/plugins
*/
class
B
QtPipelineBrowser
:
public
QDockWidget
class
W
QtPipelineBrowser
:
public
QDockWidget
{
public:
B
QtPipelineBrowser
();
virtual
~
B
QtPipelineBrowser
();
W
QtPipelineBrowser
();
virtual
~
W
QtPipelineBrowser
();
/**
* returns the recommended size for the widget to allow
...
...
@@ -50,4 +50,4 @@ private:
QSize
m_recommendedSize
;
};
#endif //
B
QTPIPELINEBROWSER_H
#endif //
W
QTPIPELINEBROWSER_H
src/gui/test/
B
GUI_test.h
→
src/gui/test/
W
GUI_test.h
View file @
c34fb6bf
...
...
@@ -21,21 +21,21 @@
//
//---------------------------------------------------------------------------
#ifndef
B
GUI_TEST_H
#define
B
GUI_TEST_H
#ifndef
W
GUI_TEST_H
#define
W
GUI_TEST_H
#include <cxxtest/TestSuite.h>
#include "../
B
GUI.h"
#include "../
W
GUI.h"
class
B
GUITest
:
public
CxxTest
::
TestSuite
class
W
GUITest
:
public
CxxTest
::
TestSuite
{
public:
// Since
B
GUI is abstrac no test are here to define
// Since
W
GUI is abstrac no test are here to define
void
testInstanziation
(
void
)
{
TS_ASSERT
(
true
);
}
};
#endif //
B
GUI_TEST_H
#endif //
W
GUI_TEST_H
src/utils/
B
OptionHandler.cpp
→
src/utils/
W
OptionHandler.cpp
View file @
c34fb6bf
...
...
@@ -23,9 +23,9 @@
#include <iostream>
#include "
B
OptionHandler.h"
#include "
W
OptionHandler.h"
B
OptionHandler
::
B
OptionHandler
(
int
argc
,
char
*
argv
[]
)
W
OptionHandler
::
W
OptionHandler
(
int
argc
,
char
*
argv
[]
)
:
m_argc
(
argc
),
m_argv
(
argv
),
m_errorOccured
(
false
),
...
...
@@ -56,19 +56,19 @@ BOptionHandler::BOptionHandler( int argc, char* argv[] )
}
}
void
B
OptionHandler
::
createOptions
()
void
W
OptionHandler
::
createOptions
()
{
// This is not our CodingStandard, but this is a special overloaded operator()
m_desc
.
add_options
()
(
"help,h"
,
"prints this help message"
);
}
void
B
OptionHandler
::
parseOptions
()
void
W
OptionHandler
::
parseOptions
()
{
po
::
store
(
po
::
parse_command_line
(
m_argc
,
m_argv
,
m_desc
),
m_map
);
}
int
B
OptionHandler
::
takeActions
()
const
int
W
OptionHandler
::
takeActions
()
const
{
if
(
m_errorOccured
)
{
...
...
@@ -81,7 +81,7 @@ int BOptionHandler::takeActions() const
return
0
;
}
B
MainApplication
app
;
W
MainApplication
app
;
return
app
.
runQT
(
m_argc
,
m_argv
);
}
src/utils/
B
OptionHandler.h
→
src/utils/
W
OptionHandler.h
View file @
c34fb6bf
...
...
@@ -21,12 +21,12 @@
//
//---------------------------------------------------------------------------
#ifndef
B
OPTIONHANDLER_H
#define
B
OPTIONHANDLER_H
#ifndef
W
OPTIONHANDLER_H
#define
W
OPTIONHANDLER_H
#include <boost/program_options.hpp>
#include "../gui/qt4/
B
MainApplication.h"
#include "../gui/qt4/
W
MainApplication.h"
// since the namespace is far to big we use a shortcut here:
namespace
po
=
boost
::
program_options
;
...
...
@@ -34,14 +34,14 @@ namespace po = boost::program_options;
/**
* Parses commandline options, print usage and issue other appropriate actions.
*/
class
B
OptionHandler
class
W
OptionHandler
{
public:
/**
* Initiate the handling of the commandline parameter given via argc and
* argv with the ProgramOptions library from boost.
*/
B
OptionHandler
(
int
argc
,
char
*
argv
[]
);
W
OptionHandler
(
int
argc
,
char
*
argv
[]
);
/**
* Evaluates the given options and initiate the appropriate actions.
...
...
@@ -77,5 +77,5 @@ private:
void
parseOptions
();
};
#endif //
B
OPTIONHANDLER_H
#endif //
W
OPTIONHANDLER_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment