xrootd
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
XrdOucNList_Anchor Class Reference

#include <XrdOucNList.hh>

Inheritance diagram for XrdOucNList_Anchor:
Inheritance graph
[legend]
Collaboration diagram for XrdOucNList_Anchor:
Collaboration graph
[legend]

Public Member Functions

void Lock ()
 
void UnLock ()
 
void Empty (XrdOucNList *newlist=0)
 
XrdOucNListFind (const char *name)
 
XrdOucNListFirst ()
 
void Insert (XrdOucNList *newitem)
 
int NotEmpty ()
 
XrdOucNListPop ()
 
void Replace (const char *name, int nval)
 
void Replace (XrdOucNList *item)
 
void Swap (XrdOucNList_Anchor &other)
 
void Zorch (XrdOucNList *newnext=0)
 
- Public Member Functions inherited from XrdOucNList
int Flag ()
 
XrdOucNListNext ()
 
int NameKO (const char *pd, const int pl)
 
int NameKO (const char *pd)
 
int NameOK (const char *pd, const int pl)
 
int NameOK (const char *pd)
 
void Set (int fval)
 
 XrdOucNList (const char *name="", int nvals=0)
 
 ~XrdOucNList ()
 

Private Attributes

XrdSysMutex mutex
 

Member Function Documentation

◆ Empty()

void XrdOucNList_Anchor::Empty ( XrdOucNList newlist = 0)
inline

References Lock(), XrdOucNList::next, and UnLock().

◆ Find()

XrdOucNList * XrdOucNList_Anchor::Find ( const char *  name)
inline

◆ First()

XrdOucNList * XrdOucNList_Anchor::First ( )
inline

References XrdOucNList::next.

Referenced by Swap().

◆ Insert()

void XrdOucNList_Anchor::Insert ( XrdOucNList newitem)
inline

References Lock(), XrdOucNList::next, and UnLock().

◆ Lock()

void XrdOucNList_Anchor::Lock ( )
inline

References XrdSysMutex::Lock(), and mutex.

Referenced by Empty(), Find(), Insert(), and Pop().

◆ NotEmpty()

int XrdOucNList_Anchor::NotEmpty ( )
inline

References XrdOucNList::next.

◆ Pop()

XrdOucNList * XrdOucNList_Anchor::Pop ( )
inline

References Lock(), XrdOucNList::next, and UnLock().

◆ Replace() [1/2]

void XrdOucNList_Anchor::Replace ( const char *  name,
int  nval 
)

◆ Replace() [2/2]

void XrdOucNList_Anchor::Replace ( XrdOucNList item)

◆ Swap()

void XrdOucNList_Anchor::Swap ( XrdOucNList_Anchor other)
inline

References First(), XrdOucNList::next, and Zorch().

◆ UnLock()

void XrdOucNList_Anchor::UnLock ( )
inline

References mutex, and XrdSysMutex::UnLock().

Referenced by Empty(), Find(), Insert(), and Pop().

◆ Zorch()

void XrdOucNList_Anchor::Zorch ( XrdOucNList newnext = 0)
inline

References XrdOucNList::next.

Referenced by Swap().

Member Data Documentation

◆ mutex

XrdSysMutex XrdOucNList_Anchor::mutex
private

Referenced by Lock(), and UnLock().


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