XRootD
XrdCl::OpenFlags Struct Reference

Open flags, may be or'd when appropriate. More...

#include <XrdClFileSystem.hh>

+ Collaboration diagram for XrdCl::OpenFlags:

Public Types

enum  Flags {
  None = 0 ,
  Compress = kXR_compress ,
  Delete = kXR_delete ,
  Force = kXR_force ,
  MakePath = kXR_mkpath ,
  New = kXR_new ,
  NoWait = kXR_nowait ,
  Read = kXR_open_read ,
  Update = kXR_open_updt ,
  Write = kXR_open_wrto ,
  POSC = kXR_posc ,
  Refresh = kXR_refresh ,
  Replica = kXR_replica ,
  SeqIO = kXR_seqio ,
  PrefName = kXR_prefname ,
  IntentDirList = kXR_4dirlist
}
 Open flags, may be or'd when appropriate. More...
 

Detailed Description

Open flags, may be or'd when appropriate.

Definition at line 70 of file XrdClFileSystem.hh.

Member Enumeration Documentation

◆ Flags

Open flags, may be or'd when appropriate.

Enumerator
None 

Nothing.

Compress 

Read compressed data for open (ignored), for kXR_locate return unique hosts

Delete 

Open a new file, deleting any existing file

Force 

Ignore file usage rules, for kXR_locate it means ignoreing network dependencies

MakePath 

Create directory path if it does not already exist

New 

Open the file only if it does not already exist

NoWait 

Open the file only if it does not cause a wait. For locate: provide a location as soon as one becomes known. This means that not all locations are necessarily returned. If the file does not exist a wait is still imposed.

Read 

Open only for reading.

Update 

Open for reading and writing.

Write 

Open only for writing.

POSC 

Enable Persist On Successful Close processing

Refresh 

Refresh the cached information on file's location. Voids NoWait.

Replica 

The file is being opened for replica creation

SeqIO 

File will be read or written sequentially.

PrefName 

Hostname response is prefered, applies only to FileSystem::Locate

IntentDirList 

Make sure the server knows we are doing locate in context of a dir list operation

Definition at line 75 of file XrdClFileSystem.hh.

76  {
77  None = 0,
80  Delete = kXR_delete,
82  Force = kXR_force,
86  New = kXR_new,
88  NoWait = kXR_nowait,
94 // Append = kXR_open_apnd, //!< Open only for appending
98  POSC = kXR_posc,
100  Refresh = kXR_refresh,
102  Replica = kXR_replica,
104  SeqIO = kXR_seqio,
109  };
@ kXR_open_wrto
Definition: XProtocol.hh:469
@ kXR_compress
Definition: XProtocol.hh:452
@ kXR_delete
Definition: XProtocol.hh:453
@ kXR_prefname
Definition: XProtocol.hh:461
@ kXR_nowait
Definition: XProtocol.hh:467
@ kXR_open_read
Definition: XProtocol.hh:456
@ kXR_open_updt
Definition: XProtocol.hh:457
@ kXR_mkpath
Definition: XProtocol.hh:460
@ kXR_seqio
Definition: XProtocol.hh:468
@ kXR_replica
Definition: XProtocol.hh:465
@ kXR_posc
Definition: XProtocol.hh:466
@ kXR_refresh
Definition: XProtocol.hh:459
@ kXR_new
Definition: XProtocol.hh:455
@ kXR_force
Definition: XProtocol.hh:454
@ kXR_4dirlist
Definition: XProtocol.hh:464
@ Read
Open only for reading.
@ Write
Open only for writing.
@ SeqIO
File will be read or written sequentially.
@ Update
Open for reading and writing.

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