XRootD
XrdCmsPList Class Reference

#include <XrdCmsPList.hh>

+ Collaboration diagram for XrdCmsPList:

Public Member Functions

 XrdCmsPList (const char *pname="", XrdCmsPInfo *pi=0)
 
 ~XrdCmsPList ()
 
XrdCmsPListNext ()
 
char * Path ()
 
const char * PType ()
 

Friends

class XrdCmsPList_Anchor
 

Detailed Description

Definition at line 70 of file XrdCmsPList.hh.

Constructor & Destructor Documentation

◆ XrdCmsPList()

XrdCmsPList::XrdCmsPList ( const char *  pname = "",
XrdCmsPInfo pi = 0 
)
inline

Definition at line 79 of file XrdCmsPList.hh.

80  : next(0), pathname(strdup(pname)), pathlen(strlen(pname)),
81  pathtype(0) {if (pi) pathmask.Set(pi);}
void Set(const XrdCmsPInfo *pi)
Definition: XrdCmsPList.hh:57

References XrdCmsPInfo::Set().

+ Here is the call graph for this function:

◆ ~XrdCmsPList()

XrdCmsPList::~XrdCmsPList ( )
inline

Definition at line 83 of file XrdCmsPList.hh.

83 {if (pathname) free(pathname);}

Member Function Documentation

◆ Next()

XrdCmsPList* XrdCmsPList::Next ( )
inline

Definition at line 75 of file XrdCmsPList.hh.

75 {return next;}

◆ Path()

char* XrdCmsPList::Path ( )
inline

Definition at line 76 of file XrdCmsPList.hh.

76 {return pathname;}

◆ PType()

const char * XrdCmsPList::PType ( )

Definition at line 212 of file XrdCmsPList.cc.

213 {
214  if (pathmask.ssvec) return (pathmask.rwvec ? "ws" : "rs");
215  return (pathmask.rwvec ? "w" : "r");
216 }
SMask_t ssvec
Definition: XrdCmsPList.hh:49
SMask_t rwvec
Definition: XrdCmsPList.hh:48

References XrdCmsPInfo::rwvec, and XrdCmsPInfo::ssvec.

Friends And Related Function Documentation

◆ XrdCmsPList_Anchor

friend class XrdCmsPList_Anchor
friend

Definition at line 73 of file XrdCmsPList.hh.


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