Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdOssPath Class Reference

#include <XrdOssPath.hh>

List of all members.

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

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

Static Public Attributes

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

Static Private Member Functions

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

Static Private Attributes

char h2c [16]


Member Enumeration Documentation

enum XrdOssPath::theSfx
 

Enumeration values:
isBase 
isAnew 
sfxMigF 
isFail 
isLock 
isPin 
sfxMigL 
sfxMemF 
isMkeep 
isMlock 
isMmap 
sfxMemL 
isPfn 
sfxLast 
sfxNum 


Constructor & Destructor Documentation

XrdOssPath::XrdOssPath  )  [inline]
 

XrdOssPath::~XrdOssPath  )  [inline]
 


Member Function Documentation

char * XrdOssPath::bin2hex char *  inbuff,
int  dlen,
char *  buff
[static, private]
 

int XrdOssPath::Convert char *  dst,
int  dln,
const char *  oldP,
const char *  newP
[static]
 

const char * XrdOssPath::Extract char *  path,
char *  lbuf,
int &  lbsz
[static]
 

char * XrdOssPath::genPath const char *  inPath,
const char *  cgrp,
char *  sfx
[static]
 

char * XrdOssPath::genPFN char *  dst,
int  dln,
const char *  src
[static]
 

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

int XrdOssPath::getCname const char *  path,
char *  Cache,
char *  lbuf = 0,
int  lbsz = 0
[static]
 

int XrdOssPath::Init char *  pfnPfx  )  [static, private]
 

int XrdOssPath::isXA const char *  path  )  [inline, static]
 

XrdOssPath::theSfx XrdOssPath::pathType const char *  Path,
int  chkWhat = chkAll
[static]
 

char * XrdOssPath::posCname char *  lbuf,
int  lbsz,
int &  cnsz
[static, private]
 

void XrdOssPath::Trim2Base char *  eP  )  [static]
 


Member Data Documentation

const int XrdOssPath::chkAll = 0x07 [static]
 

const int XrdOssPath::chkMem = 0x01 [static]
 

const int XrdOssPath::chkMig = 0x02 [static]
 

const int XrdOssPath::chkPfn = 0x04 [static]
 

char XrdOssPath::h2c [static, private]
 

Initial value:

 {'0','1','2','3','4','5','6','7',
                              '8','9','A','B','C','D','E','F'}

const char * XrdOssPath::Sfx [static]
 

Initial value:

                      {".anew", ".fail",  ".lock", ".pin",
                       ".mmap", ".mkeep", ".mlock",".pfn", 0}

const int XrdOssPath::sfxLen = 4 [static]
 

const char XrdOssPath::xChar = '%' [static]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:42:20 2011 for xrootd by  doxygen 1.3.9.1