Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
OPAL
src
Commits
217978d2
Commit
217978d2
authored
Apr 10, 2017
by
snuverink_j
Browse files
call base class copy constructor in copy constructor
parent
1121acb4
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
24 additions
and
6 deletions
+24
-6
src/Aperture/Aperture.cpp
src/Aperture/Aperture.cpp
+1
-0
src/Aperture/Split.cpp
src/Aperture/Split.cpp
+1
-0
src/Classic/Algorithms/PartBunch.cpp
src/Classic/Algorithms/PartBunch.cpp
+1
-0
src/Classic/BeamlineGeometry/NullGeometry.h
src/Classic/BeamlineGeometry/NullGeometry.h
+1
-1
src/Classic/BeamlineGeometry/OffsetGeometry.cpp
src/Classic/BeamlineGeometry/OffsetGeometry.cpp
+1
-0
src/Classic/BeamlineGeometry/PlanarArcGeometry.h
src/Classic/BeamlineGeometry/PlanarArcGeometry.h
+1
-1
src/Classic/BeamlineGeometry/SRotatedGeometry.cpp
src/Classic/BeamlineGeometry/SRotatedGeometry.cpp
+1
-0
src/Classic/BeamlineGeometry/StraightGeometry.h
src/Classic/BeamlineGeometry/StraightGeometry.h
+2
-2
src/Classic/Channels/DirectChannel.h
src/Classic/Channels/DirectChannel.h
+1
-0
src/Classic/Channels/IndexedChannel.h
src/Classic/Channels/IndexedChannel.h
+1
-0
src/Classic/Channels/IndirectChannel.h
src/Classic/Channels/IndirectChannel.h
+1
-0
src/Classic/Fields/Interpolation/TriLinearInterpolator.cpp
src/Classic/Fields/Interpolation/TriLinearInterpolator.cpp
+3
-1
src/Classic/Fields/NullField.cpp
src/Classic/Fields/NullField.cpp
+2
-1
src/Expressions/AList.h
src/Expressions/AList.h
+1
-0
src/Expressions/ARefExpr.h
src/Expressions/ARefExpr.h
+1
-0
src/Expressions/ASUnary.h
src/Expressions/ASUnary.h
+1
-0
src/Expressions/Indexer.h
src/Expressions/Indexer.h
+1
-0
src/Expressions/SBinary.h
src/Expressions/SBinary.h
+1
-0
src/Expressions/SHash.cpp
src/Expressions/SHash.cpp
+1
-0
src/Expressions/SNull.h
src/Expressions/SNull.h
+1
-0
No files found.
src/Aperture/Aperture.cpp
View file @
217978d2
...
...
@@ -136,6 +136,7 @@ namespace {
Column
::
Column
(
const
Column
&
rhs
)
:
Scalar
<
double
>
(
rhs
),
itsTable
(
rhs
.
itsTable
),
colName
(
rhs
.
colName
),
get
(
rhs
.
get
),
ind_1
(
rhs
.
ind_1
),
ind_2
(
rhs
.
ind_2
)
{}
...
...
src/Aperture/Split.cpp
View file @
217978d2
...
...
@@ -129,6 +129,7 @@ namespace {
Column
::
Column
(
const
Column
&
rhs
)
:
Expressions
::
Scalar
<
double
>
(
rhs
),
itsTable
(
rhs
.
itsTable
),
colName
(
rhs
.
colName
),
get
(
rhs
.
get
),
ind_1
(
rhs
.
ind_1
),
ind_2
(
rhs
.
ind_2
)
{}
...
...
src/Classic/Algorithms/PartBunch.cpp
View file @
217978d2
...
...
@@ -162,6 +162,7 @@ PartBunch::PartBunch(const PartData *ref):
}
PartBunch
::
PartBunch
(
const
PartBunch
&
rhs
)
:
IpplParticleBase
<
ParticleSpatialLayout
<
double
,
3u
>
>
(
rhs
),
myNode_m
(
Ippl
::
myNode
()),
nodes_m
(
Ippl
::
getNodes
()),
fixed_grid
(
rhs
.
fixed_grid
),
...
...
src/Classic/BeamlineGeometry/NullGeometry.h
View file @
217978d2
...
...
@@ -66,7 +66,7 @@ public:
inline
NullGeometry
::
NullGeometry
()
{}
inline
NullGeometry
::
NullGeometry
(
const
NullGeometry
&
)
inline
NullGeometry
::
NullGeometry
(
const
NullGeometry
&
o
)
:
BGeometryBase
(
o
)
{}
inline
const
NullGeometry
&
...
...
src/Classic/BeamlineGeometry/OffsetGeometry.cpp
View file @
217978d2
...
...
@@ -37,6 +37,7 @@ OffsetGeometry::OffsetGeometry(const BGeometryBase &g, const Euclid3D &t):
OffsetGeometry
::
OffsetGeometry
(
const
OffsetGeometry
&
og
)
:
BGeometryBase
(
og
),
global
(
og
.
global
),
local
(
og
.
local
),
g2l
(
og
.
g2l
)
{}
...
...
src/Classic/BeamlineGeometry/PlanarArcGeometry.h
View file @
217978d2
...
...
@@ -156,7 +156,7 @@ inline PlanarArcGeometry::PlanarArcGeometry(double phi):
inline
PlanarArcGeometry
::
PlanarArcGeometry
(
const
PlanarArcGeometry
&
rhs
)
:
len
(
rhs
.
len
),
h
(
rhs
.
h
),
angle
(
rhs
.
angle
)
BGeometryBase
(
rhs
),
len
(
rhs
.
len
),
h
(
rhs
.
h
),
angle
(
rhs
.
angle
)
{}
...
...
src/Classic/BeamlineGeometry/SRotatedGeometry.cpp
View file @
217978d2
...
...
@@ -38,6 +38,7 @@ SRotatedGeometry::SRotatedGeometry(const BGeometryBase &g,
}
SRotatedGeometry
::
SRotatedGeometry
(
const
SRotatedGeometry
&
rhs
)
:
BGeometryBase
(
rhs
),
srotIn
(
rhs
.
srotIn
),
srotOut
(
rhs
.
srotOut
),
geom
(
rhs
.
geom
)
{}
...
...
src/Classic/BeamlineGeometry/StraightGeometry.h
View file @
217978d2
...
...
@@ -109,8 +109,8 @@ private:
inline
StraightGeometry
::
StraightGeometry
(
double
l
)
:
len
(
l
)
{}
inline
StraightGeometry
::
StraightGeometry
(
const
StraightGeometry
&
right
)
:
len
(
right
.
len
)
inline
StraightGeometry
::
StraightGeometry
(
const
StraightGeometry
&
right
)
:
BGeometryBase
(
right
),
len
(
right
.
len
)
{}
inline
const
StraightGeometry
&
StraightGeometry
::
operator
=
...
...
src/Classic/Channels/DirectChannel.h
View file @
217978d2
...
...
@@ -72,6 +72,7 @@ inline DirectChannel::DirectChannel(double &value):
inline
DirectChannel
::
DirectChannel
(
const
DirectChannel
&
rhs
)
:
Channel
(),
reference
(
rhs
.
reference
)
{}
...
...
src/Classic/Channels/IndexedChannel.h
View file @
217978d2
...
...
@@ -92,6 +92,7 @@ IndexedChannel<T>::IndexedChannel(T &object, double(T::*get)(int) const,
template
<
class
T
>
IndexedChannel
<
T
>::
IndexedChannel
(
const
IndexedChannel
&
rhs
)
:
Channel
(),
itsObject
(
rhs
.
itsObject
),
getF
(
rhs
.
getF
),
setF
(
rhs
.
setF
),
bias
(
rhs
.
bias
)
{}
...
...
src/Classic/Channels/IndirectChannel.h
View file @
217978d2
...
...
@@ -88,6 +88,7 @@ IndirectChannel<T>::IndirectChannel(T &object, double(T::*get)() const,
template
<
class
T
>
IndirectChannel
<
T
>::
IndirectChannel
(
const
IndirectChannel
&
rhs
)
:
Channel
(),
itsObject
(
rhs
.
itsObject
),
getF
(
rhs
.
getF
),
setF
(
rhs
.
setF
)
{}
...
...
src/Classic/Fields/Interpolation/TriLinearInterpolator.cpp
View file @
217978d2
...
...
@@ -29,7 +29,9 @@
namespace
interpolation
{
TriLinearInterpolator
::
TriLinearInterpolator
(
const
TriLinearInterpolator
&
lhs
)
{
TriLinearInterpolator
::
TriLinearInterpolator
(
const
TriLinearInterpolator
&
lhs
)
:
Interpolator3dGridTo1d
(
lhs
)
{
coordinates_m
=
new
ThreeDGrid
(
*
lhs
.
coordinates_m
);
f_m
=
new
double
**
[
coordinates_m
->
xSize
()];
for
(
int
i
=
0
;
i
<
coordinates_m
->
xSize
();
i
++
)
{
...
...
src/Classic/Fields/NullField.cpp
View file @
217978d2
...
...
@@ -27,7 +27,8 @@ NullField::NullField()
{}
NullField
::
NullField
(
const
NullField
&
)
NullField
::
NullField
(
const
NullField
&
rhs
)
:
EMField
(
rhs
)
{}
...
...
src/Expressions/AList.h
View file @
217978d2
...
...
@@ -80,6 +80,7 @@ namespace Expressions {
template
<
class
T
>
AList
<
T
>::
AList
(
const
AList
<
T
>
&
rhs
)
:
OArray
<
T
>
(
rhs
),
itsValue
(
rhs
.
itsValue
)
{}
...
...
src/Expressions/ARefExpr.h
View file @
217978d2
...
...
@@ -98,6 +98,7 @@ namespace Expressions {
template
<
class
T
>
ARefExpr
<
T
>::
ARefExpr
(
const
ARefExpr
<
T
>
&
rhs
)
:
OArray
<
T
>
(
rhs
),
Invalidator
(
rhs
),
obj_name
(
rhs
.
obj_name
),
att_name
(
rhs
.
att_name
),
itsObject
(
rhs
.
itsObject
),
itsAttr
(
rhs
.
itsAttr
)
{}
...
...
src/Expressions/ASUnary.h
View file @
217978d2
...
...
@@ -85,6 +85,7 @@ namespace Expressions {
template
<
class
T
>
inline
ASUnary
<
T
>::
ASUnary
(
const
ASUnary
<
T
>
&
rhs
)
:
Scalar
<
T
>
(
rhs
),
fun
(
rhs
.
fun
),
opr
(
rhs
.
opr
->
clone
())
{}
...
...
src/Expressions/Indexer.h
View file @
217978d2
...
...
@@ -74,6 +74,7 @@ namespace Expressions {
template
<
class
T
>
inline
Indexer
<
T
>::
Indexer
(
const
Indexer
&
rhs
)
:
Scalar
<
T
>
(
rhs
),
lft
(
rhs
.
lft
->
clone
()),
rgt
(
rhs
.
rgt
->
clone
())
{}
...
...
src/Expressions/SBinary.h
View file @
217978d2
...
...
@@ -84,6 +84,7 @@ namespace Expressions {
template
<
class
T
,
class
U
>
inline
SBinary
<
T
,
U
>::
SBinary
(
const
SBinary
&
rhs
)
:
Scalar
<
T
>
(
rhs
),
fun
(
rhs
.
fun
),
lft
(
rhs
.
lft
->
clone
()),
rgt
(
rhs
.
rgt
->
clone
())
{}
...
...
src/Expressions/SHash.cpp
View file @
217978d2
...
...
@@ -28,6 +28,7 @@
namespace
Expressions
{
SHash
::
SHash
(
const
SHash
&
rhs
)
:
Scalar
<
double
>
(
rhs
),
itsTable
(
rhs
.
itsTable
)
{}
...
...
src/Expressions/SNull.h
View file @
217978d2
...
...
@@ -76,6 +76,7 @@ namespace Expressions {
template
<
class
T
>
inline
SNull
<
T
>::
SNull
(
const
SNull
<
T
>
&
rhs
)
:
Scalar
<
T
>
(
rhs
),
fun
(
rhs
.
fun
)
{}
...
...
Prev
1
2
Next
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