Logo ROOT   6.14/05
Reference Guide
List of all members | Classes | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
ROOT::Internal::RConcurrentHashColl Class Reference

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::TRWSpinLockfRWLock
 

#include <ROOT/RConcurrentHashColl.hxx>

Constructor & Destructor Documentation

◆ RConcurrentHashColl()

ROOT::Internal::RConcurrentHashColl::RConcurrentHashColl ( )

Definition at line 30 of file RConcurrentHashColl.cxx.

◆ ~RConcurrentHashColl()

ROOT::Internal::RConcurrentHashColl::~RConcurrentHashColl ( )
default

Member Function Documentation

◆ Find()

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.

◆ Hash()

RConcurrentHashColl::HashValue ROOT::Internal::RConcurrentHashColl::Hash ( char *  buf,
int  len 
)
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.

◆ Insert() [1/2]

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.

◆ Insert() [2/2]

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.

Member Data Documentation

◆ fHashSet

std::unique_ptr<RHashSet> ROOT::Internal::RConcurrentHashColl::fHashSet
mutableprivate

Definition at line 28 of file RConcurrentHashColl.hxx.

◆ fRWLock

std::unique_ptr<ROOT::TRWSpinLock> ROOT::Internal::RConcurrentHashColl::fRWLock
mutableprivate

Definition at line 29 of file RConcurrentHashColl.hxx.

Libraries for ROOT::Internal::RConcurrentHashColl:
[legend]

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