ROOT 6.16/01 Reference Guide |
This class is a TS set of unsigned set.
Definition at line 26 of file RConcurrentHashColl.hxx.
Classes | |
class | HashValue |
Public Member Functions | |
RConcurrentHashColl () | |
~RConcurrentHashColl () | |
bool | Find (const HashValue &hash) const |
Return true if the hash is already in already there. More... | |
bool | Insert (char *buf, int len) const |
If the hash is there, return false. Otherwise, insert the hash and return true;. More... | |
bool | Insert (const HashValue &hash) const |
If the hash is there, return false. Otherwise, insert the hash and return true;. More... | |
Static Public Member Functions | |
static HashValue | Hash (char *buf, int len) |
Return the hash object corresponding to the buffer. More... | |
Private Attributes | |
std::unique_ptr< RHashSet > | fHashSet |
std::unique_ptr< ROOT::TRWSpinLock > | fRWLock |
#include <ROOT/RConcurrentHashColl.hxx>
ROOT::Internal::RConcurrentHashColl::RConcurrentHashColl | ( | ) |
Definition at line 30 of file RConcurrentHashColl.cxx.
|
default |
bool ROOT::Internal::RConcurrentHashColl::Find | ( | const HashValue & | hash | ) | const |
Return true if the hash is already in already there.
Definition at line 36 of file RConcurrentHashColl.cxx.
|
static |
Return the hash object corresponding to the buffer.
If the buffer is there, return false. Otherwise, insert the hash and return true.
Definition at line 43 of file RConcurrentHashColl.cxx.
bool ROOT::Internal::RConcurrentHashColl::Insert | ( | char * | buf, |
int | len | ||
) | const |
If the hash is there, return false. Otherwise, insert the hash and return true;.
If the buffer is there, return false. Otherwise, insert the hash and return true.
Definition at line 49 of file RConcurrentHashColl.cxx.
bool ROOT::Internal::RConcurrentHashColl::Insert | ( | const HashValue & | hash | ) | const |
If the hash is there, return false. Otherwise, insert the hash and return true;.
If the buffer is there, return false. Otherwise, insert the hash and return true.
Definition at line 66 of file RConcurrentHashColl.cxx.
|
mutableprivate |
Definition at line 28 of file RConcurrentHashColl.hxx.
|
mutableprivate |
Definition at line 29 of file RConcurrentHashColl.hxx.