Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
bd037b3e
Commit
bd037b3e
authored
Jun 15, 2016
by
Hahn, Steven
Browse files
Remove simple constructors/destructors in favor of compiler-generated ones.
parent
c26a7865
Changes
121
Hide whitespace changes
Inline
Side-by-side
Framework/API/inc/MantidAPI/AlgorithmProperty.h
View file @
bd037b3e
...
...
@@ -70,8 +70,6 @@ public:
inline
AlgorithmProperty
*
clone
()
const
override
{
return
new
AlgorithmProperty
(
*
this
);
}
/// Destructor
~
AlgorithmProperty
()
override
;
/// Add the value of another property. Doesn't make sense here.
AlgorithmProperty
&
operator
+=
(
Kernel
::
Property
const
*
)
override
{
...
...
Framework/API/inc/MantidAPI/DataProcessorAlgorithm.h
View file @
bd037b3e
...
...
@@ -42,7 +42,6 @@ namespace API {
class
DLLExport
DataProcessorAlgorithm
:
public
Algorithm
{
public:
DataProcessorAlgorithm
();
~
DataProcessorAlgorithm
()
override
;
std
::
string
getPropertyValue
(
const
std
::
string
&
name
)
const
override
;
TypedValue
getProperty
(
const
std
::
string
&
name
)
const
override
;
...
...
Framework/API/inc/MantidAPI/MultiPeriodGroupAlgorithm.h
View file @
bd037b3e
...
...
@@ -39,7 +39,6 @@ National Laboratory & European Spallation Source
class
DLLExport
MultiPeriodGroupAlgorithm
:
public
Algorithm
{
public:
MultiPeriodGroupAlgorithm
();
~
MultiPeriodGroupAlgorithm
()
override
;
private:
/// Overriden from Algorithm base
...
...
Framework/API/inc/MantidAPI/MultiPeriodGroupWorker.h
View file @
bd037b3e
...
...
@@ -48,10 +48,10 @@ public:
/// Convenience typdef for workspace names.
typedef
std
::
vector
<
WorkspaceGroup_sptr
>
VecWSGroupType
;
/// Constructor
MultiPeriodGroupWorker
();
/// Co
py co
nstructor
MultiPeriodGroupWorker
()
=
default
;
/// Constructor
MultiPeriodGroupWorker
(
const
std
::
string
&
workspacePropertyName
);
virtual
~
MultiPeriodGroupWorker
();
virtual
~
MultiPeriodGroupWorker
()
=
default
;
/// Flag to indicate use of a custom workspace property
bool
useCustomWorkspaceProperty
()
const
;
/// Check groups
...
...
Framework/API/inc/MantidAPI/Progress.h
View file @
bd037b3e
...
...
@@ -44,8 +44,6 @@ public:
Progress
(
Algorithm
*
alg
,
double
start
,
double
end
,
int
numSteps
);
Progress
(
Algorithm
*
alg
,
double
start
,
double
end
,
int64_t
numSteps
);
Progress
(
Algorithm
*
alg
,
double
start
,
double
end
,
size_t
numSteps
);
~
Progress
()
override
;
void
doReport
(
const
std
::
string
&
msg
=
""
)
override
;
bool
hasCancellationBeenRequested
()
const
override
;
...
...
Framework/API/src/AlgorithmProperty.cpp
View file @
bd037b3e
...
...
@@ -41,11 +41,6 @@ AlgorithmProperty &AlgorithmProperty::operator=(const AlgorithmProperty &rhs) {
return
*
this
;
}
/**
* Destructor
*/
AlgorithmProperty
::~
AlgorithmProperty
()
=
default
;
/**
* Return the algorithm as string
* @returns The algorithm serialized as a string
...
...
Framework/API/src/DataProcessorAlgorithm.cpp
View file @
bd037b3e
...
...
@@ -33,11 +33,6 @@ DataProcessorAlgorithm::DataProcessorAlgorithm()
enableHistoryRecordingForChild
(
true
);
}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
DataProcessorAlgorithm
::~
DataProcessorAlgorithm
()
=
default
;
//---------------------------------------------------------------------------------------------
/** Create a Child Algorithm. A call to this method creates a child algorithm
*object.
...
...
Framework/API/src/MultiPeriodGroupAlgorithm.cpp
View file @
bd037b3e
...
...
@@ -12,11 +12,6 @@ namespace API {
MultiPeriodGroupAlgorithm
::
MultiPeriodGroupAlgorithm
()
:
m_worker
(
new
MultiPeriodGroupWorker
)
{}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
MultiPeriodGroupAlgorithm
::~
MultiPeriodGroupAlgorithm
()
=
default
;
/** Check the input workspace properties for groups.
*
* Overriden from base Algorithm class.
...
...
Framework/API/src/MultiPeriodGroupWorker.cpp
View file @
bd037b3e
...
...
@@ -10,12 +10,6 @@ using namespace Mantid::Kernel;
namespace
Mantid
{
namespace
API
{
//----------------------------------------------------------------------------------------------
/** Constructor
*/
MultiPeriodGroupWorker
::
MultiPeriodGroupWorker
()
:
m_workspacePropertyName
(
""
)
{}
/**
* Constructor
* @param workspacePropertyName : Property name to treat as source of
...
...
@@ -25,11 +19,6 @@ MultiPeriodGroupWorker::MultiPeriodGroupWorker(
const
std
::
string
&
workspacePropertyName
)
:
m_workspacePropertyName
(
workspacePropertyName
)
{}
//----------------------------------------------------------------------------------------------
/** Destructor
*/
MultiPeriodGroupWorker
::~
MultiPeriodGroupWorker
()
=
default
;
/**
* Try to add the input workspace to the multiperiod input group list.
* @param ws: candidate workspace
...
...
Framework/API/src/Progress.cpp
View file @
bd037b3e
...
...
@@ -39,9 +39,6 @@ Progress::Progress(Algorithm *alg, double start, double end, int64_t numSteps)
Progress
::
Progress
(
Algorithm
*
alg
,
double
start
,
double
end
,
size_t
numSteps
)
:
ProgressBase
(
start
,
end
,
int64_t
(
numSteps
)),
m_alg
(
alg
)
{}
/** Destructor */
Progress
::~
Progress
()
=
default
;
/** Actually do the reporting, without changing the loop counter.
* This is called by report(), and can be called directly in
* order to force a report.
...
...
Framework/Crystal/inc/MantidCrystal/AddPeakHKL.h
View file @
bd037b3e
...
...
@@ -32,9 +32,6 @@ namespace Crystal {
*/
class
DLLExport
AddPeakHKL
:
public
API
::
Algorithm
{
public:
AddPeakHKL
();
~
AddPeakHKL
()
override
;
const
std
::
string
name
()
const
override
;
int
version
()
const
override
;
const
std
::
string
category
()
const
override
;
...
...
Framework/Crystal/inc/MantidCrystal/CalculatePeaksHKL.h
View file @
bd037b3e
...
...
@@ -34,8 +34,6 @@ namespace Crystal {
*/
class
DLLExport
CalculatePeaksHKL
:
public
API
::
Algorithm
{
public:
CalculatePeaksHKL
();
~
CalculatePeaksHKL
()
override
;
const
std
::
string
name
()
const
override
;
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/CalculateUMatrix.h
View file @
bd037b3e
...
...
@@ -36,9 +36,6 @@ namespace Crystal {
*/
class
DLLExport
CalculateUMatrix
:
public
API
::
Algorithm
{
public:
CalculateUMatrix
();
~
CalculateUMatrix
()
override
;
/// Algorithm's name for identification
const
std
::
string
name
()
const
override
{
return
"CalculateUMatrix"
;
};
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/CentroidPeaks.h
View file @
bd037b3e
...
...
@@ -17,9 +17,6 @@ namespace Crystal {
*/
class
DLLExport
CentroidPeaks
:
public
API
::
Algorithm
{
public:
CentroidPeaks
();
~
CentroidPeaks
()
override
;
/// Algorithm's name for identification
const
std
::
string
name
()
const
override
{
return
"CentroidPeaks"
;
};
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/ClearUB.h
View file @
bd037b3e
...
...
@@ -38,8 +38,6 @@ namespace Crystal {
*/
class
DLLExport
ClearUB
:
public
API
::
Algorithm
{
public:
ClearUB
();
~
ClearUB
()
override
;
const
std
::
string
name
()
const
override
;
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/CombinePeaksWorkspaces.h
View file @
bd037b3e
...
...
@@ -35,9 +35,6 @@ namespace Crystal {
*/
class
DLLExport
CombinePeaksWorkspaces
:
public
API
::
Algorithm
{
public:
CombinePeaksWorkspaces
();
~
CombinePeaksWorkspaces
()
override
;
const
std
::
string
name
()
const
override
;
/// Summary of algorithms purpose
const
std
::
string
summary
()
const
override
{
...
...
Framework/Crystal/inc/MantidCrystal/DiffPeaksWorkspaces.h
View file @
bd037b3e
...
...
@@ -33,8 +33,6 @@ namespace Crystal {
*/
class
DLLExport
DiffPeaksWorkspaces
:
public
API
::
Algorithm
{
public:
DiffPeaksWorkspaces
();
~
DiffPeaksWorkspaces
()
override
;
const
std
::
string
name
()
const
override
;
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/FilterPeaks.h
View file @
bd037b3e
...
...
@@ -33,8 +33,6 @@ namespace Crystal {
*/
class
DLLExport
FilterPeaks
:
public
API
::
Algorithm
{
public:
FilterPeaks
();
~
FilterPeaks
()
override
;
const
std
::
string
name
()
const
override
;
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/FindClusterFaces.h
View file @
bd037b3e
...
...
@@ -33,8 +33,6 @@ namespace Crystal {
*/
class
DLLExport
FindClusterFaces
:
public
API
::
Algorithm
{
public:
FindClusterFaces
();
~
FindClusterFaces
()
override
;
const
std
::
string
name
()
const
override
;
/// Summary of algorithms purpose
...
...
Framework/Crystal/inc/MantidCrystal/FindUBUsingFFT.h
View file @
bd037b3e
...
...
@@ -35,8 +35,6 @@ namespace Crystal {
*/
class
DLLExport
FindUBUsingFFT
:
public
API
::
Algorithm
{
public:
FindUBUsingFFT
();
~
FindUBUsingFFT
()
override
;
/// Algorithm's name for identification
const
std
::
string
name
()
const
override
;
...
...
Prev
1
2
3
4
5
…
7
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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