ATLAS Offline Software
|
#include <SurfaceHolderImpl.h>
Public Member Functions | |
SurfaceUniqHolderImpl ()=default | |
default ctor More... | |
SurfaceUniqHolderImpl (const S &s) | |
ctor from const Surface ref. More... | |
SurfaceUniqHolderImpl (const S *s) | |
ctor from const Surface ptr. Takes ownership More... | |
SurfaceUniqHolderImpl (const SurfaceUniqHolderImpl &other) | |
copy ctor, if surface is free we clone/copy. More... | |
SurfaceUniqHolderImpl (SurfaceUniqHolderImpl &&) noexcept=default | |
default move ctor More... | |
SurfaceUniqHolderImpl & | operator= (const SurfaceUniqHolderImpl &other) |
copy assignment, if surface is free we clone/copy. More... | |
SurfaceUniqHolderImpl & | operator= (SurfaceUniqHolderImpl &&) noexcept=default |
default move assignement More... | |
const S * | surfacePtr () |
return the ptr we hold More... | |
void | destroySurface () noexcept |
destroySurface deletes the ptr if not null and is free usefull also for testing More... | |
const S * | release () noexcept |
release , release the unique_ptr we hold More... | |
Protected Member Functions | |
~SurfaceUniqHolderImpl ()=default | |
Protected Attributes | |
SurfaceUniquePtrT< const S > | m_associatedSurface = nullptr |
Definition at line 254 of file SurfaceHolderImpl.h.
|
default |
default ctor
|
inlineexplicit |
ctor from const Surface ref.
If surface is free we clone, otherwise we take its address.
Definition at line 263 of file SurfaceHolderImpl.h.
|
inlineexplicit |
|
inline |
copy ctor, if surface is free we clone/copy.
If not we just point to the one owned by detector geometry
Definition at line 274 of file SurfaceHolderImpl.h.
|
defaultnoexcept |
default move ctor
|
protecteddefault |
|
inlinenoexcept |
destroySurface deletes the ptr if not null and is free usefull also for testing
Definition at line 305 of file SurfaceHolderImpl.h.
|
inline |
copy assignment, if surface is free we clone/copy.
If not we just point to the one owned by detector geometry
Definition at line 286 of file SurfaceHolderImpl.h.
|
defaultnoexcept |
default move assignement
|
inlinenoexcept |
|
inline |
|
protected |
Definition at line 311 of file SurfaceHolderImpl.h.