xrootd
|
#include <XrdClFileOperations.hh>
Public Member Functions | |
FileOperation (Ctx< File > f, Arguments... args) | |
template<bool from> | |
FileOperation (FileOperation< Derived, from, Response, Arguments... > &&op) | |
virtual | ~FileOperation () |
Destructor. | |
Public Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Arguments... > | |
ConcreteOperation (Args &&... args) | |
ConcreteOperation (ConcreteOperation< Derived, from, Response, Args... > &&op) | |
Derived< true > | operator>> (Hdlr &&hdlr) |
Derived< true > | operator| (Operation< true > &op) |
Derived< true > | operator| (Operation< true > &&op) |
Derived< true > | operator| (Operation< false > &op) |
Derived< true > | operator| (Operation< false > &&op) |
Derived< true > | operator| (FinalOperation &&fo) |
Adds a final operation to the pipeline. | |
Operation< HasHndl > * | Move () |
Operation< true > * | ToHandled () |
Derived< HasHndl > | Timeout (uint16_t timeout) |
Set operation timeout. | |
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. | |
virtual std::string | ToString ()=0 |
Name of the operation. | |
Protected Attributes | |
Ctx< File > | file |
The file object itself. | |
Protected Attributes inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Arguments... > | |
std::tuple< Args... > | args |
Operation arguments. | |
uint16_t | timeout |
Operation timeout. | |
Protected Attributes inherited from XrdCl::Operation< HasHndl > | |
std::unique_ptr< PipelineHandler > | handler |
Operation handler. | |
bool | valid |
Flag indicating if it is a valid object. | |
Friends | |
template<template< bool > class, bool , typename , typename ... > | |
class | FileOperation |
Additional Inherited Members | |
Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Arguments... > | |
Derived< to > | Transform () |
Derived< true > | StreamImpl (ResponseHandler *handler) |
Protected Member Functions inherited from XrdCl::Operation< HasHndl > | |
void | Run (Timeout timeout, std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final) |
virtual XRootDStatus | RunImpl (PipelineHandler *handler, uint16_t timeout)=0 |
void | AddOperation (Operation< true > *op) |
Static Protected Member Functions inherited from XrdCl::ConcreteOperation< Derived, HasHndl, Response, Arguments... > | |
static void | AllocHandler (ConcreteOperation< Derived, true, Response, Args... > &me) |
static void | AllocHandler (ConcreteOperation< Derived, false, Response, Args... > &me) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, Response, Args... > &me, Operation< true > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, HasHndl, Response, Args... > &me, Operation< false > &op) |
Base class for all file related operations
|
inline |
Constructor
f | : file on which the operation will be performed |
args | : file operation arguments |
|
inline |
Move constructor from other states
op | : the object that is being converted |
|
inlinevirtual |
Destructor.
|
friend |
|
protected |
The file object itself.