Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
SWE
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
SWE
Commits
cc20f5e1
Commit
cc20f5e1
authored
Jul 13, 2012
by
breuera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added copyright message.
parent
7eb00b39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
Logger.hpp
src/tools/Logger.hpp
+18
-3
No files found.
src/tools/Logger.hpp
View file @
cc20f5e1
...
...
@@ -72,6 +72,9 @@ class tools::Logger {
//! definition of the welcome message
const
std
::
string
welcomeMessage
;
//! definition of the copyrights
const
std
::
string
copyRights
;
//! definition of the finish message
const
std
::
string
finishMessage
;
...
...
@@ -150,15 +153,26 @@ class tools::Logger {
* @param i_indentation definition of the indentation (used in all messages, except welcome, start and finish).
*/
Logger
(
const
int
i_processRank
=
0
,
const
std
::
string
i_programName
=
"SWE teaching code"
,
const
std
::
string
i_welcomeMessage
=
"Welcome to the"
,
const
std
::
string
i_programName
=
"SWE"
,
const
std
::
string
i_welcomeMessage
=
"Welcome to"
,
const
std
::
string
i_copyRights
=
"
\n\n
SWE Copyright (C) 2012
\n
"
" Technische Universitaet Muenchen
\n
"
" Department of Informatics
\n
"
" Chair of Scientific Computing
\n
"
" http://www5.in.tum.de/SWE
\n
"
"
\n
"
"SWE comes with ABSOLUTELY NO WARRANTY.
\n
"
"SWE is free software, and you are welcome to redistribute it
\n
"
"under certain conditions.
\n
"
"Details can be found in the file
\'
gpl.txt
\'
."
,
const
std
::
string
i_finishMessage
=
"finished successfully."
,
const
std
::
string
i_midDelimiter
=
"
\n
------------------------------------------------------------------
\n
"
,
const
std
::
string
i_largeDelimiter
=
"
\n
****************************************
\n
"
,
const
std
::
string
i_largeDelimiter
=
"
\n
****************************************
*********************
\n
"
,
const
std
::
string
i_indentation
=
"
\t
"
)
:
processRank
(
i_processRank
),
programName
(
i_programName
),
welcomeMessage
(
i_welcomeMessage
),
copyRights
(
i_copyRights
),
finishMessage
(
i_finishMessage
),
midDelimiter
(
i_midDelimiter
),
largeDelimiter
(
i_largeDelimiter
),
...
...
@@ -190,6 +204,7 @@ class tools::Logger {
std
::
cout
<<
largeDelimiter
<<
welcomeMessage
<<
" "
<<
programName
<<
copyRights
<<
largeDelimiter
;
}
}
...
...
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