|
XRootD
|
#include <XrdClFwd.hh>
Inheritance diagram for XrdCl::Fwd< T >:
Collaboration diagram for XrdCl::Fwd< T >:Public Member Functions | |
| Fwd () | |
| Fwd (const Fwd &fwd) | |
| Copy constructor. More... | |
| Fwd (const T &value) | |
| Constructor from value. More... | |
| Fwd (Fwd &&fwd) | |
| Move constructor. More... | |
| Fwd (std::shared_ptr< FwdStorage< T >> &&ptr) | |
| Initialize from shared_ptr. More... | |
| Fwd (T &&value) | |
| Move construct from value. More... | |
| T & | operator* () const |
| T * | operator-> () const |
| Fwd & | operator= (const T &value) |
| Fwd & | operator= (T &&value) |
| bool | Valid () const |
| Check if it contains a valid value. More... | |
A helper class for forwarding arguments between operations. In practice it's a wrapper around std::shared_ptr using FwdStorage as underlying memory.
Definition at line 133 of file XrdClFwd.hh.
|
inline |
Default constructor.
Allocates memory for the underlying value object without callying its constructor.
Definition at line 141 of file XrdClFwd.hh.
|
inline |
Copy constructor.
Definition at line 148 of file XrdClFwd.hh.
|
inline |
Move constructor.
Definition at line 155 of file XrdClFwd.hh.
|
inline |
Initialize from shared_ptr.
Definition at line 162 of file XrdClFwd.hh.
|
inlineexplicit |
Constructor from value.
Definition at line 169 of file XrdClFwd.hh.
|
inlineexplicit |
Move construct from value.
Definition at line 177 of file XrdClFwd.hh.
|
inline |
Dereferencing operator. Note if Fwd has not been assigned with a value this will trigger an exception
| std::logic_error |
Definition at line 213 of file XrdClFwd.hh.
|
inline |
Dereferencing member operator. Note if Fwd has not been assigned with a value this will trigger an exception
| std::logic_error |
Definition at line 226 of file XrdClFwd.hh.
|
inline |
Assignment operator.
| value | : forwarded value |
| std::logic_error |
Definition at line 188 of file XrdClFwd.hh.
|
inline |
Move assignment operator.
| value | : forwarded value |
| std::logic_error |
Definition at line 200 of file XrdClFwd.hh.
|
inline |
Check if it contains a valid value.
Definition at line 235 of file XrdClFwd.hh.