#include <XrdSsiBVec.hh>
Definition at line 35 of file XrdSsiBVec.hh.
◆ XrdSsiBVec()
XrdSsiBVec::XrdSsiBVec |
( |
| ) |
|
|
inline |
◆ ~XrdSsiBVec()
XrdSsiBVec::~XrdSsiBVec |
( |
| ) |
|
|
inline |
◆ IsSet()
bool XrdSsiBVec::IsSet |
( |
uint32_t |
bval | ) |
|
|
inline |
Definition at line 44 of file XrdSsiBVec.hh.
45 {
if (bval < 64)
return bitVec & 1LL << bval;
46 std::set<uint32_t>::iterator it = theSet.find(bval);
47 return it != theSet.end();
◆ Reset()
void XrdSsiBVec::Reset |
( |
| ) |
|
|
inline |
Definition at line 55 of file XrdSsiBVec.hh.
55 {bitVec = 0; theSet.clear();}
◆ Set()
void XrdSsiBVec::Set |
( |
uint32_t |
bval | ) |
|
|
inline |
Definition at line 39 of file XrdSsiBVec.hh.
40 {
if (bval < 64) bitVec |= 1LL << bval;
41 else theSet.insert(bval);
◆ UnSet()
void XrdSsiBVec::UnSet |
( |
uint32_t |
bval | ) |
|
|
inline |
Definition at line 50 of file XrdSsiBVec.hh.
51 {
if (bval < 64) bitVec &= ~(1LL<<bval);
52 else theSet.erase(bval);
The documentation for this class was generated from the following file: