identt
Public Types | Public Member Functions | List of all members
identt::utils::SharedStringSet Class Reference
Inheritance diagram for identt::utils::SharedStringSet:
identt::utils::SharedObject< std::set< std::string > >

Public Types

using StringSet = std::set< std::string >
 
using LockT = SharedObject< StringSet >::LockT
 
using WriteLockT = SharedObject< StringSet >::WriteLockT
 
using ReadLockT = SharedObject< StringSet >::ReadLockT
 
- Public Types inherited from identt::utils::SharedObject< std::set< std::string > >
using LockT = boost::shared_mutex
 
using WriteLockT = boost::unique_lock< LockT >
 
using ReadLockT = boost::shared_lock< LockT >
 

Public Member Functions

 SharedStringSet (const SharedStringSet &)=delete
 make noncopyable and remove default
 
SharedStringSetoperator= (const SharedStringSet &)=delete
 
 SharedStringSet ()
 Constructor : default. More...
 
virtual ~SharedStringSet ()
 destructor
 
void Add (std::string elem)
 Add : add one value. More...
 
size_t GetSize ()
 GetSize: get size of set. More...
 
void Reset ()
 Reset: clear the set. More...
 
- Public Member Functions inherited from identt::utils::SharedObject< std::set< std::string > >
 SharedObject (const SharedObject &)=delete
 make noncopyable and remove default
 
 SharedObject ()
 Constructor : default. More...
 
 SharedObject (std::set< std::string > t)
 
SharedObjectoperator= (const SharedObject &)=delete
 
virtual ~SharedObject ()
 destructor
 
void Set (std::set< std::string > t)
 Set : set. More...
 
std::set< std::string > Get ()
 Get : get. More...
 

Additional Inherited Members

- Public Attributes inherited from identt::utils::SharedObject< std::set< std::string > >
std::set< std::string > t_
 
LockT mutex_
 

Constructor & Destructor Documentation

§ SharedStringSet()

identt::utils::SharedStringSet::SharedStringSet ( )
inline

Constructor : default.

Member Function Documentation

§ Add()

void identt::utils::SharedStringSet::Add ( std::string  elem)
inline

Add : add one value.

Parameters
elemstd::string elem to add
Returns
none

§ GetSize()

size_t identt::utils::SharedStringSet::GetSize ( )
inline

GetSize: get size of set.

Returns
size_t size

§ Reset()

void identt::utils::SharedStringSet::Reset ( )
inline

Reset: clear the set.

Returns
none

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