DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
This class describes a pointer to a LinkedObjectWrapper
instance. It is a simple wrapper class which only adds specific behavior like always returning a const pointer to a LinkedObjectWrapper
instance wrapping a const Object
instance.
More...
Public Types | |
using | LinkedObjectWrapperType = LinkedObjectWrapper< std::add_const_t< ObjectT > > |
Type of the LinkedObjectWrapper instance this pointer points to. More... | |
using | LinkedObjectWrapperPtrType = LinkedObjectWrapperType * |
Pointer type of LinkedObjectWrapperType . More... | |
Public Member Functions | |
LinkedObjectWrapperPointer () noexcept | |
Constructs an empty pointer. More... | |
LinkedObjectWrapperPointer (LinkedObjectWrapperPtrType LinkedObjectWrapperPtr) noexcept | |
Constructs a pointer pointing to LinkedObjectWrapperPtr . More... | |
LinkedObjectWrapperPtrType | get () const noexcept |
Always returns a const pointer so that Object instances using another linked Object instance are only allowed to call the linked object's const member functions. More... | |
bool | operator== (const LinkedObjectWrapperPtrType rhs) const noexcept |
Checks whether LinkedObjectWrapperPtr equals another pointer to a LinkedObjectWrapper instance. More... | |
bool | operator!= (const LinkedObjectWrapperPtrType rhs) const noexcept |
Checks whether LinkedObjectWrapperPtr does not equal another pointer to a LinkedObjectWrapper instance. More... | |
bool | operator== (const LinkedObjectWrapperPointer &rhs) const noexcept |
Checks whether this LinkedObjectWrapperPointer instance equals another instance. More... | |
bool | operator!= (const LinkedObjectWrapperPointer &rhs) const noexcept |
Checks whether this LinkedObjectWrapperPointer instance does not equal another instance. More... | |
operator bool () const noexcept | |
Evaluates this LinkedObjectWrapperPointer instance to true if LinkedObjectWrapperPtr is not nullptr and to false otherwise. More... | |
LinkedObjectWrapperPtrType | operator-> () const noexcept |
Always returns a const pointer so that Object instances using another linked Object instance are only allowed to call the linked object's const member functions. More... | |
LinkedObjectWrapperType & | operator* () const noexcept |
Always returns a const reference so that Object instances using another linked Object instance are only allowed to call the linked object's const member functions. More... | |
Private Attributes | |
LinkedObjectWrapperPtrType | LinkedObjectWrapperPtr |
LinkedObjectWrapper instance this pointer points to More... | |
This class describes a pointer to a LinkedObjectWrapper
instance. It is a simple wrapper class which only adds specific behavior like always returning a const pointer to a LinkedObjectWrapper
instance wrapping a const Object
instance.
ObjectT | Type of the managed Object . |
using DynExp::LinkedObjectWrapperPointer< ObjectT >::LinkedObjectWrapperPtrType = LinkedObjectWrapperType* |
using DynExp::LinkedObjectWrapperPointer< ObjectT >::LinkedObjectWrapperType = LinkedObjectWrapper<std::add_const_t<ObjectT> > |
Type of the LinkedObjectWrapper
instance this pointer points to.
|
inlinenoexcept |
|
inlinenoexcept |
Constructs a pointer pointing to LinkedObjectWrapperPtr
.
LinkedObjectWrapperPtr | Pointer to a LinkedObjectWrapper instance to point to |
|
inlinenoexcept |
Always returns a const pointer so that Object
instances using another linked Object
instance are only allowed to call the linked object's const member functions.
|
inlineexplicitnoexcept |
Evaluates this LinkedObjectWrapperPointer
instance to true if LinkedObjectWrapperPtr is not nullptr and to false otherwise.
|
inlinenoexcept |
Checks whether this LinkedObjectWrapperPointer
instance does not equal another instance.
rhs | Other LinkedObjectWrapperPointer instance |
|
inlinenoexcept |
Checks whether LinkedObjectWrapperPtr does not equal another pointer to a LinkedObjectWrapper
instance.
rhs | Pointer to a LinkedObjectWrapper instance |
|
inlinenoexcept |
Always returns a const reference so that Object
instances using another linked Object
instance are only allowed to call the linked object's const member functions.
|
inlinenoexcept |
Always returns a const pointer so that Object
instances using another linked Object
instance are only allowed to call the linked object's const member functions.
|
inlinenoexcept |
Checks whether this LinkedObjectWrapperPointer
instance equals another instance.
rhs | Other LinkedObjectWrapperPointer instance |
|
inlinenoexcept |
Checks whether LinkedObjectWrapperPtr equals another pointer to a LinkedObjectWrapper
instance.
rhs | Pointer to a LinkedObjectWrapper instance |
|
private |
LinkedObjectWrapper
instance this pointer points to