Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Utilities/detail/Extendable.hpp>
Public Member Functions | |
Extendable ()=default | |
Default constructor. | |
Extendable (const Extendable< extensions_t...> &extendable)=default | |
Default copy constructor. | |
Extendable (Extendable< extensions_t...> &&extendable)=default | |
Extendable (const std::tuple< extensions_t...> &extensions) | |
Extendable (std::tuple< extensions_t...> &&extensions) | |
Extendable< extensions_t...> & | operator= (const Extendable< extensions_t...> &extendable)=default |
Extendable< extensions_t...> & | operator= (Extendable< extensions_t...> &&extendable)=default |
template<typename... appendices_t> | |
Extendable< extensions_t..., appendices_t...> | append (appendices_t...aps) const |
template<typename extension_t > | |
const extension_t & | get () const |
template<typename extension_t > | |
extension_t & | get () |
const std::tuple < extensions_t...> & | tuple () const |
std::tuple< extensions_t...> & | tuple () |
Private Attributes | |
std::tuple< extensions_t...> | m_extensions |
This sctruct defines an extendable std::tuple
all Extensions have to :
This is needed in order to allow custom construction of objects
Definition at line 29 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 29 of file Extendable.hpp
|
default |
Default constructor.
|
default |
Default copy constructor.
|
default |
|
inline |
Constructor from tuple
extensions | Source extensions tuple |
Definition at line 51 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 51 of file Extendable.hpp
|
inline |
Constructor from tuple move
extensions | source extensions tuple |
Definition at line 57 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 57 of file Extendable.hpp
|
inline |
Append new entries and return a new condition
appendices_t | Types of appended entries to the tuple |
aps | The extensions to be appended to the new Extendable |
Definition at line 78 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 78 of file Extendable.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Const retrieval of an extension of a specific type
extension_t | Type of the Extension to be retrieved |
Definition at line 89 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 89 of file Extendable.hpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Fatras::Test::BOOST_AUTO_TEST_CASE().
|
inline |
Non-const retrieval of an extension of a specific type
extension_t | Type of the Extension to be retrieved |
Definition at line 97 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 97 of file Extendable.hpp
|
default |
Default move assignment operator
extendable | The source Extendable list |
|
default |
Default move assignment operator
extendable | The source Extendable list |
|
inline |
Const retrieval of the extension tuype
extension_t | Type of the Extension to be retrieved |
Definition at line 104 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 104 of file Extendable.hpp
|
inline |
Non-Const retrieval of the extendsion tuype
extension_t | Type of the Extension to be retrieved |
Definition at line 109 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 109 of file Extendable.hpp
|
private |
Definition at line 112 of file Extendable.hpp.
View newest version in sPHENIX GitHub at line 112 of file Extendable.hpp
Referenced by Acts::detail::Extendable< selectors...>::append(), Acts::detail::Extendable< selectors...>::get(), and Acts::detail::Extendable< selectors...>::tuple().