Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
CTA-LAPP
PHOENIX_LIBS
PhoenixHDF5
Commits
4930bb1c
Commit
4930bb1c
authored
Jan 27, 2021
by
Pierre Aubert
Browse files
Remove parser copy
parent
b388429b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
27 deletions
+0
-27
src/FrontEnd/ConfigParser.cpp
src/FrontEnd/ConfigParser.cpp
+0
-23
src/FrontEnd/ConfigParser.h
src/FrontEnd/ConfigParser.h
+0
-4
No files found.
src/FrontEnd/ConfigParser.cpp
View file @
4930bb1c
...
...
@@ -12,27 +12,11 @@ ConfigParser::ConfigParser(){
initialisationConfigParser
();
}
///Copy constructor of ConfigParser
/** @param other : class to copy
*/
ConfigParser
::
ConfigParser
(
const
ConfigParser
&
other
){
copyConfigParser
(
other
);
}
///Destructor of ConfigParser
ConfigParser
::~
ConfigParser
(){
}
///Definition of equal operator of ConfigParser
/** @param other : class to copy
* @return copied class
*/
ConfigParser
&
ConfigParser
::
operator
=
(
const
ConfigParser
&
other
){
copyConfigParser
(
other
);
return
*
this
;
}
///Get the parsed vector of PSource
/** @return parsed vector of PSource
*/
...
...
@@ -40,13 +24,6 @@ const PVecSource & ConfigParser::getVecSource() const{
return
p_vecSource
;
}
///Copy function of ConfigParser
/** @param other : class to copy
*/
void
ConfigParser
::
copyConfigParser
(
const
ConfigParser
&
other
){
p_vecSource
=
other
.
p_vecSource
;
}
///Parse the input file
/** @return true on success, false otherwise
*/
...
...
src/FrontEnd/ConfigParser.h
View file @
4930bb1c
...
...
@@ -14,14 +14,10 @@
class
ConfigParser
:
public
PMultiFileParser
{
public:
ConfigParser
();
ConfigParser
(
const
ConfigParser
&
other
);
virtual
~
ConfigParser
();
ConfigParser
&
operator
=
(
const
ConfigParser
&
other
);
const
PVecSource
&
getVecSource
()
const
;
protected:
void
copyConfigParser
(
const
ConfigParser
&
other
);
virtual
bool
parseFile
();
virtual
void
preLoadFile
();
...
...
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