25 #ifndef __XRD_CL_FILE_HH__
26 #define __XRD_CL_FILE_HH__
30 #include "XrdOuc/XrdOucCompiler.hh"
37 class FileStateHandler;
49 File(
bool enablePlugIns =
true );
71 uint16_t timeout = 0 )
72 XRD_WARN_UNUSED_RESULT;
87 uint16_t timeout = 0 )
88 XRD_WARN_UNUSED_RESULT;
99 uint16_t timeout = 0 )
100 XRD_WARN_UNUSED_RESULT;
124 uint16_t timeout = 0 )
125 XRD_WARN_UNUSED_RESULT;
138 uint16_t timeout = 0 )
139 XRD_WARN_UNUSED_RESULT;
160 uint16_t timeout = 0 )
161 XRD_WARN_UNUSED_RESULT;
178 uint16_t timeout = 0 )
179 XRD_WARN_UNUSED_RESULT;
199 uint16_t timeout = 0 )
200 XRD_WARN_UNUSED_RESULT;
219 uint16_t timeout = 0 )
220 XRD_WARN_UNUSED_RESULT;
231 uint16_t timeout = 0 )
232 XRD_WARN_UNUSED_RESULT;
255 uint16_t timeout = 0 )
256 XRD_WARN_UNUSED_RESULT;
268 uint16_t timeout = 0 )
269 XRD_WARN_UNUSED_RESULT;
291 uint16_t timeout = 0 )
292 XRD_WARN_UNUSED_RESULT;
314 uint16_t timeout = 0 )
315 XRD_WARN_UNUSED_RESULT;
331 uint16_t timeout = 0 )
332 XRD_WARN_UNUSED_RESULT;
346 uint16_t timeout = 0 )
347 XRD_WARN_UNUSED_RESULT;
360 uint16_t timeout = 0 )
361 XRD_WARN_UNUSED_RESULT;
372 uint16_t timeout = 0 )
373 XRD_WARN_UNUSED_RESULT;
388 bool SetProperty(
const std::string &name,
const std::string &value );
399 bool GetProperty(
const std::string &name, std::string &value )
const;
408 #endif // __XRD_CL_FILE_HH__
XRootDStatus VectorRead(const ChunkList &chunks, void *buffer, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
std::vector< ChunkInfo > ChunkList
List of chunks.
Definition: XrdClXRootDResponses.hh:762
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.
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:402
bool pEnablePlugIns
Definition: XrdClFile.hh:404
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:43
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
Definition: XrdClEnv.hh:28
XRootDStatus Truncate(uint64_t size, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
Vector read info.
Definition: XrdClXRootDResponses.hh:767
Handle an async response.
Definition: XrdClXRootDResponses.hh:832
Definition: XrdClFileSystem.hh:122
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:403
Flags
Open flags, may be or'd when appropriate.
Definition: XrdClFileSystem.hh:76
XRootDStatus Fcntl(const Buffer &arg, ResponseHandler *handler, uint16_t timeout=0) XRD_WARN_UNUSED_RESULT
Binary blob representation.
Definition: XrdClBuffer.hh:33