xrootd
|
#include <XrdClFileOperations.hh>
Public Member Functions | |
FileOperation (File *f, Arguments... args) | |
FileOperation (File &f, Arguments... args) | |
template<bool from> | |
FileOperation (FileOperation< Derived, from, Response, Arguments... > &&op) | |
virtual | ~FileOperation () |
Destructor. More... | |
![]() | |
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< HasHndl > | Recovery (rcvry_func recovery) |
Set recovery procedure in case the operation fails. More... | |
Operation< HasHndl > * | Move () |
Operation< true > * | ToHandled () |
![]() | |
Operation () | |
Constructor. More... | |
template<bool from> | |
Operation (Operation< from > &&op) | |
Move constructor between template instances. More... | |
virtual | ~Operation () |
Destructor. More... | |
virtual std::string | ToString ()=0 |
Name of the operation. More... | |
Protected Attributes | |
File * | file |
The file object itself. More... | |
![]() | |
std::tuple< Args... > | args |
Operation arguments. More... | |
rcvry_func | recovery |
The recovery routine for this operation. More... | |
![]() | |
std::unique_ptr< PipelineHandler > | handler |
Operation handler. More... | |
bool | valid |
Flag indicating if it is a valid object. More... | |
Friends | |
template<template< bool > class, bool , typename , typename ... > | |
class | FileOperation |
Additional Inherited Members | |
![]() | |
Derived< to > | Transform () |
Derived< true > | StreamImpl (ResponseHandler *handler) |
![]() | |
void | Run (std::promise< XRootDStatus > prms, std::function< void(const XRootDStatus &)> final) |
virtual XRootDStatus | RunImpl ()=0 |
void | ForceHandler (const XRootDStatus &status) |
void | AddOperation (Operation< true > *op) |
![]() | |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, true, Response, Args... > &me, Operation< true > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, true, Response, Args... > &me, Operation< false > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, false, Response, Args... > &me, Operation< true > &op) |
static Derived< true > | PipeImpl (ConcreteOperation< Derived, false, Response, Args... > &me, Operation< false > &op) |
Base class for all file releated operations
|
inline |
Constructor
f | : file on which the operation will be performed |
args | : file operation arguments |
|
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.