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
vite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
vite
Commits
6a4e83d5
Commit
6a4e83d5
authored
Jun 23, 2014
by
Thibault Soucarre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespaces cleanup
parent
91caf8cb
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
114 additions
and
116 deletions
+114
-116
src/trace/values/Color.hpp
src/trace/values/Color.hpp
+8
-8
src/trace/values/Date.cpp
src/trace/values/Date.cpp
+4
-4
src/trace/values/Date.hpp
src/trace/values/Date.hpp
+9
-9
src/trace/values/Double.cpp
src/trace/values/Double.cpp
+5
-6
src/trace/values/Double.hpp
src/trace/values/Double.hpp
+14
-14
src/trace/values/Hex.cpp
src/trace/values/Hex.cpp
+5
-5
src/trace/values/Hex.hpp
src/trace/values/Hex.hpp
+13
-13
src/trace/values/Integer.cpp
src/trace/values/Integer.cpp
+5
-5
src/trace/values/Integer.hpp
src/trace/values/Integer.hpp
+12
-12
src/trace/values/Name.cpp
src/trace/values/Name.cpp
+5
-6
src/trace/values/Name.hpp
src/trace/values/Name.hpp
+9
-9
src/trace/values/String.cpp
src/trace/values/String.cpp
+4
-4
src/trace/values/String.hpp
src/trace/values/String.hpp
+11
-11
src/trace/values/Value.hpp
src/trace/values/Value.hpp
+6
-6
src/trace/values/Values.hpp
src/trace/values/Values.hpp
+4
-4
No files found.
src/trace/values/Color.hpp
View file @
6a4e83d5
/*
whites
/*
** This file is part of the ViTE project.
**
** This software is governed by the CeCILL-A license under French law
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#ifndef COLOR_HPP
...
...
@@ -89,19 +89,19 @@ public:
* \return a string of the color in the format "r g b".
*/
std
::
string
to_string
()
const
;
/*!
* \fn get_red() const
* \return red value
*/
double
get_red
()
const
;
/*!
* \fn get_green() const;
* \return green value
*/
double
get_green
()
const
;
/*!
* \fn get_blue() const;
* \return blue value
...
...
src/trace/values/Date.cpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
...
...
src/trace/values/Date.hpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#ifndef DATE_HPP
...
...
@@ -46,13 +46,13 @@
/*!
*
* \file Date.hpp
*
*
*/
/*!
*
* \class Date
* \brief Store a string in the trace
*
*
*/
class
Date
:
public
Value
{
private
:
...
...
@@ -68,7 +68,7 @@ public :
* \brief Constructor
*/
Date
(
double
);
/*!
* \brief Constructor
*/
...
...
@@ -80,14 +80,14 @@ public :
* \return a string of the date
*/
std
::
string
to_string
()
const
;
/*!
*
* \fn get_value() const
* \return the value
*/
double
get_value
()
const
;
/*!
*
* \fn operator< (const Date &) const
...
...
src/trace/values/Double.cpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
...
...
@@ -74,7 +74,7 @@ std::string Double::to_string() const{
double
Double
::
get_value
()
const
{
return
_value
;
}
Double
Double
::
operator
+
(
const
Double
&
d
)
const
{
return
Double
(
_value
+
d
.
_value
);
}
...
...
@@ -94,4 +94,3 @@ bool Double::operator<(const Double &d) const {
bool
Double
::
operator
>
(
const
Double
&
d
)
const
{
return
_value
>
d
.
_value
;
}
src/trace/values/Double.hpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#ifndef DOUBLE_HPP
...
...
@@ -46,19 +46,19 @@
/*!
*
* \file Double.hpp
*
*
*/
/*!
*
* \class Double
* \brief Store a double in the trace
*
*
*/
class
Double
:
public
Value
{
private
:
double
_value
;
public:
public:
/*!
* \brief Constructor
*/
...
...
@@ -68,7 +68,7 @@ public:
* \brief Constructor
*/
Double
(
double
);
/*!
* \brief Constructor
*/
...
...
@@ -78,17 +78,17 @@ public:
*
* \fn to_string() const
* \return a string of the double
*/
*/
std
::
string
to_string
()
const
;
/*!
*
* \fn get_value() const
* \return the value
*
*/
*
*/
double
get_value
()
const
;
/*!
*
* \fn operator+ (const Double &) const
...
...
@@ -97,7 +97,7 @@ public:
*
*/
Double
operator
+
(
const
Double
&
)
const
;
/*!
*
* \fn operator- () const
...
...
src/trace/values/Hex.cpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#include <string>
...
...
@@ -74,5 +74,5 @@ std::string Hex::to_string() const {
std
::
ostringstream
oss
;
oss
.
flags
(
std
::
ios
::
hex
);
oss
<<
std
::
setprecision
(
Value
::
_PRECISION
)
<<
_value
;
return
oss
.
str
();
return
oss
.
str
();
}
src/trace/values/Hex.hpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#ifndef HEX_HPP
...
...
@@ -46,19 +46,19 @@
/*!
*
* \file Hex.hpp
*
*
*/
/*!
*
* \class Hex
* \brief Store a hexadecimal integer in the trace
*
*
*/
class
Hex
:
public
Value
{
private:
unsigned
int
_value
;
public:
public:
/*!
* \brief Constructor
*/
...
...
@@ -68,24 +68,24 @@ public:
* \brief Constructor
*/
Hex
(
unsigned
int
);
/*!
* \brief Constructor
*/
Hex
(
const
std
::
string
&
);
/*!
*
* \fn get_value() const
* \return the value
*
*/
*
*/
unsigned
int
get_value
()
const
{
return
_value
;}
/*!
* \fn to_string() const
* \return a string of the value
*/
* \return a string of the value
*/
std
::
string
to_string
()
const
;
};
...
...
src/trace/values/Integer.cpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
...
...
@@ -74,5 +74,5 @@ Integer::Integer(const std::string &in) {
std
::
string
Integer
::
to_string
()
const
{
std
::
ostringstream
oss
;
oss
<<
std
::
setprecision
(
Value
::
_PRECISION
)
<<
_value
;
return
oss
.
str
();
return
oss
.
str
();
}
src/trace/values/Integer.hpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#ifndef INTEGER_HPP
...
...
@@ -46,18 +46,18 @@
/*!
*
* \file Integer.hpp
*
*
*/
/*!
*
* \class Integer
* \brief Store a string in the trace
*
*
*/
class
Integer
:
public
Value
{
private:
int
_value
;
public:
public:
/*!
* \brief Constructor
*/
...
...
@@ -72,19 +72,19 @@ public:
* \brief Constructor
*/
Integer
(
const
std
::
string
&
);
/*!
*
* \fn get_value() const
* \return the value
*
*/
*
*/
int
get_value
()
const
{
return
_value
;}
/*!
* \fn to_string() const
* \return a string of the Integer
*/
*/
std
::
string
to_string
()
const
;
};
...
...
src/trace/values/Name.cpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#include <string>
...
...
@@ -118,9 +118,8 @@ bool Name::operator< (std::string &s) const {
bool
Name
::
operator
<
(
const
Name
&
s
)
const
{
if
(
!
_alias
.
empty
())
return
_alias
<
s
.
get_alias
();
if
(
!
_alias
.
empty
()
&&!
s
.
get_alias
().
empty
())
return
_alias
<
s
.
get_alias
();
else
if
(
!
_name
.
empty
()
&&!
s
.
get_name
().
empty
())
return
_name
<
s
.
get_name
()
;
return
false
;
}
src/trace/values/Name.hpp
View file @
6a4e83d5
...
...
@@ -6,13 +6,13 @@
** use, modify and/or redistribute the software under the terms of the
** CeCILL-A license as circulated by CEA, CNRS and INRIA at the following
** URL: "http://www.cecill.info".
**
**
** As a counterpart to the access to the source code and rights to copy,
** modify and redistribute granted by the license, users are provided
** only with a limited warranty and the software's author, the holder of
** the economic rights, and the successive licensors have only limited
** liability.
**
**
** In this respect, the user's attention is drawn to the risks associated
** with loading, using, modifying and/or developing or reproducing the
** software by the user in light of its specific status of free software,
...
...
@@ -23,7 +23,7 @@
** their requirements in conditions enabling the security of their
** systems and/or data to be ensured and, more generally, to use and
** operate it in the same conditions as regards security.
**
**
** The fact that you are presently reading this means that you have had
** knowledge of the CeCILL-A license and that you accept its terms.
**
...
...
@@ -37,7 +37,7 @@
** - MARCOUEILLE Jule
** - NOISETTE Pascal
** - REDONDY Arthur
** - VUCHENER Clément
** - VUCHENER Clément
**
*/
#ifndef NAME_HPP
...
...
@@ -54,7 +54,7 @@
*
*/
class
String
;
class
Name
:
public
Value
{
private:
std
::
string
_alias
,
_name
;
...
...
@@ -113,7 +113,7 @@ public:
*
*/
std
::
string
get_name
()
const
;
/*!
*
* \fn to_string() const
...
...
@@ -121,7 +121,7 @@ public:
*
*/
std
::
string
get_alias
()
const
;
/*!
*
* \fn to_String() const
...
...
@@ -149,10 +149,10 @@ public:
*
*/
bool
operator
==
(
std
::
string
&
)
const
;