XRootD
Loading...
Searching...
No Matches
XrdCl::LocateImpl< HasHndl > Class Template Reference

Locate operation (. More...

#include <XrdClFileSystemOperations.hh>

Inheritance diagram for XrdCl::LocateImpl< HasHndl >:
Collaboration diagram for XrdCl::LocateImpl< HasHndl >:

Public Types

enum  {
  PathArg ,
  FlagsArg
}
 Argument indexes in the args tuple. More...
enum  Flags
 Open flags, may be or'd when appropriate. More...

Public Member Functions

std::string ToString ()
Public Member Functions inherited from XrdCl::FileSystemOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Arg< std::string >, Arg< OpenFlags::Flags > >
virtual ~FileSystemOperation ()
 Destructor.
Public Member Functions inherited from XrdCl::ConcreteOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Args... >
Operation< HasHndl > * Move ()
LocateImpl< true > operator>> (Hdlr &&hdlr)
LocateImpl< true > operator| (Operation< true > &op)
LocateImpl< HasHndl > Timeout (uint16_t timeout)
 Set operation timeout.
Operation< true > * ToHandled ()
Public Member Functions inherited from XrdCl::Operation< HasHndl >
 Operation ()
 Constructor.
template<bool from>
 Operation (Operation< from > &&op)
 Move constructor between template instances.
virtual ~Operation ()
 Destructor.

Protected Member Functions

XRootDStatus RunImpl (PipelineHandler *handler, uint16_t pipelineTimeout)
Protected Member Functions inherited from XrdCl::ConcreteOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Args... >
LocateImpl< true > StreamImpl (ResponseHandler *handler)
LocateImpl< toTransform ()
Protected Member Functions inherited from XrdCl::Operation< HasHndl >
void AddOperation (Operation< true > *op)
void Run (Timeout timeout, std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final)

Additional Inherited Members

Static Protected Member Functions inherited from XrdCl::ConcreteOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Args... >
static void AllocHandler (ConcreteOperation< LocateImpl, true, Resp< LocationInfo >, Args... > &me)
static LocateImpl< true > PipeImpl (ConcreteOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Args... > &me, Operation< true > &op)
Protected Attributes inherited from XrdCl::FileSystemOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Arg< std::string >, Arg< OpenFlags::Flags > >
Ctx< FileSystemfilesystem
 The file system object itself.
Protected Attributes inherited from XrdCl::ConcreteOperation< LocateImpl, HasHndl, Resp< LocationInfo >, Args... >
std::tuple< Args... > args
 Operation arguments.
uint16_t timeout
 Operation timeout.
Protected Attributes inherited from XrdCl::Operation< HasHndl >
std::unique_ptr< PipelineHandlerhandler
 Operation handler.
bool valid
 Flag indicating if it is a valid object.

Detailed Description

template<bool HasHndl>
class XrdCl::LocateImpl< HasHndl >

Locate operation (.

See also
FileSystemOperation)

Definition at line 94 of file XrdClFileSystemOperations.hh.

Member Enumeration Documentation

◆ anonymous enum

template<bool HasHndl>
anonymous enum

Argument indexes in the args tuple.

Enumerator
PathArg 
FlagsArg 

Definition at line 108 of file XrdClFileSystemOperations.hh.

◆ Flags

template<bool HasHndl>
enum XrdCl::OpenFlags::Flags

Open flags, may be or'd when appropriate.

Definition at line 75 of file XrdClFileSystem.hh.

76 {
77 None = 0,
86 New = kXR_new,
94// Append = kXR_open_apnd, //!< Open only for appending
98 POSC = kXR_posc,
104 SeqIO = kXR_seqio,
109 };

Member Function Documentation

◆ RunImpl()

template<bool HasHndl>
XRootDStatus XrdCl::LocateImpl< HasHndl >::RunImpl ( PipelineHandler * handler,
uint16_t pipelineTimeout )
inlineprotectedvirtual

RunImpl operation (

See also
Operation)
Parameters
params: container with parameters forwarded from previous operation
Returns
: status of the operation

Implements XrdCl::Operation< HasHndl >.

Definition at line 127 of file XrdClFileSystemOperations.hh.

◆ ToString()

template<bool HasHndl>
std::string XrdCl::LocateImpl< HasHndl >::ToString ( )
inlinevirtual
Returns
: name of the operation (
See also
Operation)

Implements XrdCl::Operation< HasHndl >.

Definition at line 113 of file XrdClFileSystemOperations.hh.

114 {
115 return "Locate";
116 }

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