|
ACTS
Experiment-independent tracking
|
Non-owning holder for referencing a backend with const access. More...
#include <Acts/Utilities/Holders.hpp>
Public Types | |
| using | element_type = std::add_const_t<T> |
| Element type. | |
Public Member Functions | |
| ConstRefHolder (const T &ref) | |
| Constructor from reference. | |
| ConstRefHolder (const T *_ptr) | |
| Constructor from pointer. | |
| operator bool () const | |
| Bool conversion operator. | |
| const T & | operator* () const |
| Dereference operator. | |
| const T * | operator-> () const |
| Arrow operator. | |
Public Attributes | |
| const T * | ptr |
| Pointer to the referenced object. | |
Non-owning holder for referencing a backend with const access.
| T | Backend type. |
The referenced backend must outlive the holder.
|
explicit |
Constructor from pointer.
| _ptr | Pointer to the object |
|
explicit |
Constructor from reference.
| ref | Reference to the object |
| const T & Acts::ConstRefHolder< T >::operator* | ( | ) | const |
Dereference operator.
| const T * Acts::ConstRefHolder< T >::operator-> | ( | ) | const |
Arrow operator.