25 #ifndef __XRD_CL_FILE_HH__
26 #define __XRD_CL_FILE_HH__
30 #include "XrdOuc/XrdOucCompiler.hh"
38 class FileStateHandler;
57 File(
bool enablePlugIns =
true );
84 uint16_t timeout = 0 )
85 XRD_WARN_UNUSED_RESULT;
100 uint16_t timeout = 0 )
101 XRD_WARN_UNUSED_RESULT;
112 uint16_t timeout = 0 )
113 XRD_WARN_UNUSED_RESULT;
137 uint16_t timeout = 0 )
138 XRD_WARN_UNUSED_RESULT;
151 uint16_t timeout = 0 )
152 XRD_WARN_UNUSED_RESULT;
173 uint16_t timeout = 0 )
174 XRD_WARN_UNUSED_RESULT;
191 uint16_t timeout = 0 )
192 XRD_WARN_UNUSED_RESULT;
212 uint16_t timeout = 0 )
213 XRD_WARN_UNUSED_RESULT;
232 uint16_t timeout = 0 )
233 XRD_WARN_UNUSED_RESULT;
244 uint16_t timeout = 0 )
245 XRD_WARN_UNUSED_RESULT;
268 uint16_t timeout = 0 )
269 XRD_WARN_UNUSED_RESULT;
281 uint16_t timeout = 0 )
282 XRD_WARN_UNUSED_RESULT;
304 uint16_t timeout = 0 )
305 XRD_WARN_UNUSED_RESULT;
327 uint16_t timeout = 0 )
328 XRD_WARN_UNUSED_RESULT;
342 const struct iovec *iov,
345 uint16_t timeout = 0 );
359 const struct iovec *iov,
361 uint16_t timeout = 0 );
377 uint16_t timeout = 0 )
378 XRD_WARN_UNUSED_RESULT;
392 uint16_t timeout = 0 )
393 XRD_WARN_UNUSED_RESULT;
406 uint16_t timeout = 0 )
407 XRD_WARN_UNUSED_RESULT;
418 uint16_t timeout = 0 )
419 XRD_WARN_UNUSED_RESULT;
434 bool SetProperty( const std::
string &name, const std::
string &value );
445 bool GetProperty( const std::
string &name, std::
string &value ) const;
454 #endif // __XRD_CL_FILE_HH__
XRootDStatus VectorRead(const ChunkList &chunks, void *buffer, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus WriteV(uint64_t offset, const struct iovec *iov, int iovcnt, ResponseHandler *handler, uint16_t timeout=0)
VirtRedirect
Definition: XrdClFile.hh:48
std::vector< ChunkInfo > ChunkList
List of chunks.
Definition: XrdClXRootDResponses.hh:763
Object stat info.
Definition: XrdClXRootDResponses.hh:332
XRootDStatus Sync(ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Write(uint64_t offset, uint32_t size, const void *buffer, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
bool SetProperty(const std::string &name, const std::string &value)
virtual ~File()
Destructor.
Access mode.
Definition: XrdClFileSystem.hh:115
XRootDStatus Open(const std::string &url, OpenFlags::Flags flags, Access::Mode mode, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
XRootDStatus Visa(ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
File(bool enablePlugIns=true)
Constructor.
FileStateHandler * pStateHandler
Definition: XrdClFile.hh:448
Open flags, may be or'd when appropriate.
Definition: XrdClFileSystem.hh:71
bool pEnablePlugIns
Definition: XrdClFile.hh:450
XRootDStatus Read(uint64_t offset, uint32_t size, void *buffer, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
A file.
Definition: XrdClFile.hh:44
XRootDStatus Close(ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
bool IsOpen() const
Check if the file is open.
Request status.
Definition: XrdClXRootDResponses.hh:212
XRootDStatus Truncate(uint64_t size, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
Vector read info.
Definition: XrdClXRootDResponses.hh:768
Handle an async response.
Definition: XrdClXRootDResponses.hh:833
XRootDStatus Stat(bool force, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
bool GetProperty(const std::string &name, std::string &value) const
Mode
Access mode.
Definition: XrdClFileSystem.hh:120
FilePlugIn * pPlugIn
Definition: XrdClFile.hh:449
Flags
Open flags, may be or'd when appropriate.
Definition: XrdClFileSystem.hh:76
Definition: XrdClFile.hh:50
Definition: XrdClFile.hh:51
XRootDStatus Fcntl(const Buffer &arg, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
Binary blob representation.
Definition: XrdClBuffer.hh:33