xrootd
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Static Private Member Functions | Static Private Attributes | List of all members
XrdOssPath Class Reference

#include <XrdOssPath.hh>

Classes

struct  fnInfo
 

Public Types

enum  theSfx {
  isBase =0 , isAnew =1 , sfxMigF =1 , isFail =2 ,
  isLock =3 , isPin =4 , sfxMigL =4 , sfxMemF =4 ,
  isMkeep =5 , isMlock =6 , isMmap =7 , sfxMemL =7 ,
  isPfn =8 , sfxLast =8 , sfxNum =9
}
 

Public Member Functions

 XrdOssPath ()
 
 ~XrdOssPath ()
 

Static Public Member Functions

static int Convert (char *dst, int dln, const char *oldP, const char *newP)
 
static const char * Extract (char *path, char *lbuf, int &lbsz)
 
static char * genPath (const char *inPath, const char *cgrp, char *sfx)
 
static char * genPFN (fnInfo &Info, char *buff, int blen, const char *Path=0)
 
static char * genPFN (char *dst, int dln, const char *src)
 
static int getCname (const char *path, char *Cache, char *lbuf=0, int lbsz=0)
 
static int isXA (const char *path)
 
static int InitPrefix ()
 
static theSfx pathType (const char *Path, int chkWhat=chkAll)
 
static void Trim2Base (char *eP)
 

Static Public Attributes

static const char xChar = '%'
 
static const int sfxLen = 4
 
static const char * Sfx [sfxNum]
 
static const int chkMem = 0x01
 
static const int chkMig = 0x02
 
static const int chkPfn = 0x04
 
static const int chkAll = 0x07
 

Static Private Member Functions

static char * bin2hex (char *inbuff, int dlen, char *buff)
 
static char * posCname (char *lbuf, int lbsz, int &cnsz)
 

Static Private Attributes

static char h2c [16]
 
static char pfnPfx [60]
 

Member Enumeration Documentation

◆ theSfx

Enumerator
isBase 
isAnew 
sfxMigF 
isFail 
isLock 
isPin 
sfxMigL 
sfxMemF 
isMkeep 
isMlock 
isMmap 
sfxMemL 
isPfn 
sfxLast 
sfxNum 

Constructor & Destructor Documentation

◆ XrdOssPath()

XrdOssPath::XrdOssPath ( )
inline

◆ ~XrdOssPath()

XrdOssPath::~XrdOssPath ( )
inline

Member Function Documentation

◆ bin2hex()

static char * XrdOssPath::bin2hex ( char *  inbuff,
int  dlen,
char *  buff 
)
staticprivate

◆ Convert()

static int XrdOssPath::Convert ( char *  dst,
int  dln,
const char *  oldP,
const char *  newP 
)
static

◆ Extract()

static const char * XrdOssPath::Extract ( char *  path,
char *  lbuf,
int &  lbsz 
)
static

◆ genPath()

static char * XrdOssPath::genPath ( const char *  inPath,
const char *  cgrp,
char *  sfx 
)
static

◆ genPFN() [1/2]

static char * XrdOssPath::genPFN ( char *  dst,
int  dln,
const char *  src 
)
static

◆ genPFN() [2/2]

static char * XrdOssPath::genPFN ( fnInfo Info,
char *  buff,
int  blen,
const char *  Path = 0 
)
static

◆ getCname()

static int XrdOssPath::getCname ( const char *  path,
char *  Cache,
char *  lbuf = 0,
int  lbsz = 0 
)
static

◆ InitPrefix()

static int XrdOssPath::InitPrefix ( )
static

◆ isXA()

static int XrdOssPath::isXA ( const char *  path)
inlinestatic

References xChar.

◆ pathType()

static theSfx XrdOssPath::pathType ( const char *  Path,
int  chkWhat = chkAll 
)
static

◆ posCname()

static char * XrdOssPath::posCname ( char *  lbuf,
int  lbsz,
int &  cnsz 
)
staticprivate

◆ Trim2Base()

static void XrdOssPath::Trim2Base ( char *  eP)
static

Member Data Documentation

◆ chkAll

const int XrdOssPath::chkAll = 0x07
static

◆ chkMem

const int XrdOssPath::chkMem = 0x01
static

◆ chkMig

const int XrdOssPath::chkMig = 0x02
static

◆ chkPfn

const int XrdOssPath::chkPfn = 0x04
static

◆ h2c

char XrdOssPath::h2c[16]
staticprivate

◆ pfnPfx

char XrdOssPath::pfnPfx[60]
staticprivate

◆ Sfx

const char* XrdOssPath::Sfx[sfxNum]
static

◆ sfxLen

const int XrdOssPath::sfxLen = 4
static

◆ xChar

const char XrdOssPath::xChar = '%'
static

Referenced by isXA().


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