XRootD
Loading...
Searching...
No Matches
XrdCl::Arg< std::string > Class Reference

#include <XrdClArg.hh>

Inheritance diagram for XrdCl::Arg< std::string >:
Collaboration diagram for XrdCl::Arg< std::string >:

Public Member Functions

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

Additional Inherited Members

Protected Attributes inherited from XrdCl::ArgBase< std::string >
std::unique_ptr< ValueHolder > holder
 Holds the value of the argument.

Detailed Description

Operation argument. Specialized for 'std::string', might be constructed in addition from c-like string (const char*)

Definition at line 295 of file XrdClArg.hh.

Constructor & Destructor Documentation

◆ Arg() [1/6]

XrdCl::Arg< std::string >::Arg ( )
inline

Default Constructor.

Definition at line 302 of file XrdClArg.hh.

303 {
304 }

Referenced by Arg(), and operator=().

Here is the caller graph for this function:

◆ Arg() [2/6]

XrdCl::Arg< std::string >::Arg ( std::string str)
inline

Constructor.

Parameters
str: value of the argument

Definition at line 311 of file XrdClArg.hh.

312 {
313 }

References XrdCl::ArgBase< std::string >::ArgBase(), and XrdCl::ArgBase< std::string >::operator std::string().

Here is the call graph for this function:

◆ Arg() [3/6]

XrdCl::Arg< std::string >::Arg ( const char * cstr)
inline

Constructor.

Parameters
cstr: value of the argument

Definition at line 320 of file XrdClArg.hh.

321 {
322 }

References XrdCl::ArgBase< std::string >::ArgBase(), and XrdCl::ArgBase< std::string >::operator std::string().

Here is the call graph for this function:

◆ Arg() [4/6]

XrdCl::Arg< std::string >::Arg ( std::future< std::string > && ftr)
inline

Constructor.

Definition at line 327 of file XrdClArg.hh.

328 {
329 }

References XrdCl::ArgBase< std::string >::ArgBase(), and XrdCl::ArgBase< std::string >::operator std::string().

Here is the call graph for this function:

◆ Arg() [5/6]

XrdCl::Arg< std::string >::Arg ( const Fwd< std::string > & fwd)
inline

Constructor.

Definition at line 334 of file XrdClArg.hh.

335 {
336 }

References XrdCl::ArgBase< std::string >::ArgBase(), and XrdCl::ArgBase< std::string >::operator std::string().

Here is the call graph for this function:

◆ Arg() [6/6]

XrdCl::Arg< std::string >::Arg ( Arg< std::string > && arg)
inline

Get Constructor.

Definition at line 342 of file XrdClArg.hh.

343 {
344 }

References Arg(), XrdCl::ArgBase< std::string >::ArgBase(), and XrdCl::ArgBase< std::string >::operator std::string().

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

Arg & XrdCl::Arg< std::string >::operator= ( Arg< std::string > && arg)
inline

Get-Assignment.

Definition at line 349 of file XrdClArg.hh.

350 {
351 if( &arg == this ) return *this;
352 this->holder = std::move( arg.holder );
353 return *this;
354 }
std::unique_ptr< ValueHolder > holder
Definition XrdClArg.hh:223

References Arg(), and XrdCl::ArgBase< std::string >::holder.

Here is the call graph for this function:

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