33 #ifndef _IDENTT_UTILS_SHARED_STRING_SET_HPP_ 34 #define _IDENTT_UTILS_SHARED_STRING_SET_HPP_ 44 using StringSet = std::set<std::string>;
45 using LockT = SharedObject<StringSet>::LockT;
46 using WriteLockT = SharedObject<StringSet>::WriteLockT;
47 using ReadLockT = SharedObject<StringSet>::ReadLockT;
76 void Add(std::string elem)
78 WriteLockT lock(mutex_);
90 ReadLockT lock(mutex_);
102 WriteLockT lock(mutex_);
void Add(std::string elem)
Add : add one value.
Definition: SharedStringSet.hpp:76
virtual ~SharedStringSet()
destructor
Definition: SharedStringSet.hpp:65
Definition: SharedStringSet.hpp:42
Definition: SharedObject.hpp:43
void Reset()
Reset: clear the set.
Definition: SharedStringSet.hpp:100
Definition: CryptoBase.hpp:49
size_t GetSize()
GetSize: get size of set.
Definition: SharedStringSet.hpp:88
SharedStringSet()
Constructor : default.
Definition: SharedStringSet.hpp:60