#include <XrdOucMapP2X.hh>
template<class T>
class XrdOucMapP2X< T >
Definition at line 37 of file XrdOucMapP2X.hh.
◆ XrdOucMapP2X() [1/2]
Definition at line 86 of file XrdOucMapP2X.hh.
86 : Next(0), Name(0), Path(0), PLen(0), Valu(0) {}
◆ XrdOucMapP2X() [2/2]
Definition at line 88 of file XrdOucMapP2X.hh.
89 : Next(0), Name(strdup(name)), Path(strdup(path)),
90 PLen(strlen(path)), Valu(arg) {}
◆ ~XrdOucMapP2X()
Definition at line 92 of file XrdOucMapP2X.hh.
92 {
if (Path) free(Path);
if (Name) free(Name);}
◆ Find()
Definition at line 41 of file XrdOucMapP2X.hh.
43 int plen = strlen(path);
44 while(p && plen <= p->PLen)
45 {
if (plen == p->PLen && !strcmp(p->Path, path))
◆ Insert()
Definition at line 52 of file XrdOucMapP2X.hh.
54 while(p && newp->PLen < p->PLen)
55 {pp = p; p = p->Next;}
57 if (pp) pp->Next = newp;
◆ isEmpty()
◆ Match()
Definition at line 76 of file XrdOucMapP2X.hh.
77 {
int plen = (pl ? pl : strlen(pd));
79 while(p && plen >= p->PLen)
80 {
if (!strncmp(pd, p->Path, p->PLen))
return p;
◆ RepName()
Definition at line 71 of file XrdOucMapP2X.hh.
72 {
if (Path) {free(Name); Name = strdup(newname);}}
◆ RepValu()
◆ theName()
◆ theNext()
◆ thePath()
◆ theValu()
The documentation for this class was generated from the following file: