xrootd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XrdCl::Arg< T > Class Template Reference

#include <XrdClArg.hh>

Inheritance diagram for XrdCl::Arg< T >:
Inheritance graph
[legend]
Collaboration diagram for XrdCl::Arg< T >:
Collaboration graph
[legend]

Public Member Functions

 Arg ()
 Default Constructor.
 
 Arg (T value)
 
 Arg (std::future< T > &&ftr)
 
 Arg (const Fwd< T > &fwd)
 
 Arg (Arg &&arg)
 Get Constructor.
 
Argoperator= (Arg &&arg)
 Get-Assignment.
 
- Public Member Functions inherited from XrdCl::ArgBase< T >
 ArgBase ()
 Default Constructor.
 
virtual ~ArgBase ()
 Destructor.
 
 ArgBase (T value)
 
 ArgBase (std::future< T > &&ftr)
 
 ArgBase (const Fwd< T > &fwd)
 
 ArgBase (ArgBase &&arg)
 Get Constructor.
 
T & Get () const
 
 operator T () const
 

Additional Inherited Members

- Protected Attributes inherited from XrdCl::ArgBase< T >
std::unique_ptr< ValueHolderholder
 Holds the value of the argument.
 

Detailed Description

template<typename T>
class XrdCl::Arg< T >

Operation argument. The argument is optional, user may initialize it with 'notdef'

Constructor & Destructor Documentation

◆ Arg() [1/5]

template<typename T >
XrdCl::Arg< T >::Arg ( )
inline

Default Constructor.

◆ Arg() [2/5]

template<typename T >
XrdCl::Arg< T >::Arg ( value)
inline

Constructor.

Parameters
value: value of the argument (will be std::moved)

◆ Arg() [3/5]

template<typename T >
XrdCl::Arg< T >::Arg ( std::future< T > &&  ftr)
inline

Constructor.

Parameters
ftr: future value of the argument (will be std::moved)

◆ Arg() [4/5]

template<typename T >
XrdCl::Arg< T >::Arg ( const Fwd< T > &  fwd)
inline

Constructor.

Parameters
fwd: forwarded value of the argument (will be std::moved)

◆ Arg() [5/5]

template<typename T >
XrdCl::Arg< T >::Arg ( Arg< T > &&  arg)
inline

Get Constructor.

Member Function Documentation

◆ operator=()

template<typename T >
Arg & XrdCl::Arg< T >::operator= ( Arg< T > &&  arg)
inline

Get-Assignment.

References XrdCl::ArgBase< T >::holder.


The documentation for this class was generated from the following file: