XRootD
XrdCmsPInfo Class Reference

#include <XrdCmsPList.hh>

+ Collaboration diagram for XrdCmsPInfo:

Public Member Functions

 XrdCmsPInfo ()
 
 ~XrdCmsPInfo ()
 
int And (const SMask_t mask)
 
XrdCmsPInfooperator= (const XrdCmsPInfo &rhs)
 
void Or (const XrdCmsPInfo *pi)
 
void Set (const XrdCmsPInfo *pi)
 

Public Attributes

SMask_t rovec
 
SMask_t rwvec
 
SMask_t ssvec
 

Detailed Description

Definition at line 44 of file XrdCmsPList.hh.

Constructor & Destructor Documentation

◆ XrdCmsPInfo()

XrdCmsPInfo::XrdCmsPInfo ( )
inline

Definition at line 60 of file XrdCmsPList.hh.

60 {rovec = rwvec = ssvec = 0;}
SMask_t ssvec
Definition: XrdCmsPList.hh:49
SMask_t rovec
Definition: XrdCmsPList.hh:47
SMask_t rwvec
Definition: XrdCmsPList.hh:48

References rovec, rwvec, and ssvec.

◆ ~XrdCmsPInfo()

XrdCmsPInfo::~XrdCmsPInfo ( )
inline

Definition at line 61 of file XrdCmsPList.hh.

61 {}

Member Function Documentation

◆ And()

int XrdCmsPInfo::And ( const SMask_t  mask)
inline

Definition at line 51 of file XrdCmsPList.hh.

52  {return ((rovec &= mask)|(rwvec &= mask)|(ssvec &= mask)) != 0;}

References rovec, rwvec, and ssvec.

Referenced by XrdCmsPList_Anchor::Insert(), and XrdCmsPList_Anchor::Remove().

+ Here is the caller graph for this function:

◆ operator=()

XrdCmsPInfo& XrdCmsPInfo::operator= ( const XrdCmsPInfo rhs)
inline

Definition at line 62 of file XrdCmsPList.hh.

63  {Set(&rhs); return *this;}
void Set(const XrdCmsPInfo *pi)
Definition: XrdCmsPList.hh:57

References Set().

+ Here is the call graph for this function:

◆ Or()

void XrdCmsPInfo::Or ( const XrdCmsPInfo pi)
inline

Definition at line 54 of file XrdCmsPList.hh.

55  {rovec |= pi->rovec; rwvec |= pi->rwvec; ssvec |= pi->ssvec;}

References rovec, rwvec, and ssvec.

Referenced by XrdCmsPList_Anchor::Insert().

+ Here is the caller graph for this function:

◆ Set()

void XrdCmsPInfo::Set ( const XrdCmsPInfo pi)
inline

Definition at line 57 of file XrdCmsPList.hh.

58  {rovec = pi->rovec; rwvec = pi->rwvec; ssvec = pi->ssvec;}

References rovec, rwvec, and ssvec.

Referenced by XrdCmsPList::XrdCmsPList(), and operator=().

+ Here is the caller graph for this function:

Member Data Documentation

◆ rovec

◆ rwvec

◆ ssvec

SMask_t XrdCmsPInfo::ssvec

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