rippled
Public Member Functions | Private Attributes | List of all members
ripple::NodeStore::Shard::Count Class Referencefinal
Collaboration diagram for ripple::NodeStore::Shard::Count:
Collaboration graph
[legend]

Public Member Functions

 Count (Count const &)=delete
 
Countoperator= (Count const &)=delete
 
Countoperator= (Count &&)=delete
 
 Count (Count &&other) noexcept
 
 Count (std::atomic< std::uint32_t > *counter) noexcept
 
 ~Count () noexcept
 
 operator bool () const noexcept
 

Private Attributes

std::atomic< std::uint32_t > * counter_
 

Detailed Description

Definition at line 254 of file nodestore/impl/Shard.h.

Constructor & Destructor Documentation

◆ Count() [1/3]

ripple::NodeStore::Shard::Count::Count ( Count const &  )
delete

◆ Count() [2/3]

ripple::NodeStore::Shard::Count::Count ( Count &&  other)
noexcept

Definition at line 263 of file nodestore/impl/Shard.h.

◆ Count() [3/3]

ripple::NodeStore::Shard::Count::Count ( std::atomic< std::uint32_t > *  counter)
explicitnoexcept

Definition at line 268 of file nodestore/impl/Shard.h.

◆ ~Count()

ripple::NodeStore::Shard::Count::~Count ( )
noexcept

Definition at line 275 of file nodestore/impl/Shard.h.

Member Function Documentation

◆ operator=() [1/2]

Count& ripple::NodeStore::Shard::Count::operator= ( Count const &  )
delete

◆ operator=() [2/2]

Count& ripple::NodeStore::Shard::Count::operator= ( Count &&  )
delete

◆ operator bool()

ripple::NodeStore::Shard::Count::operator bool ( ) const
explicitnoexcept

Definition at line 281 of file nodestore/impl/Shard.h.

Member Data Documentation

◆ counter_

std::atomic<std::uint32_t>* ripple::NodeStore::Shard::Count::counter_
private

Definition at line 287 of file nodestore/impl/Shard.h.