rippled
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
ripple::SHAMapItem Class Reference
Inheritance diagram for ripple::SHAMapItem:
Inheritance graph
[legend]
Collaboration diagram for ripple::SHAMapItem:
Collaboration graph
[legend]

Public Member Functions

 SHAMapItem ()=delete
 
 SHAMapItem (uint256 const &tag, Slice data)
 
uint256 const & key () const
 
Slice slice () const
 
std::size_t size () const
 
void const * data () const
 

Static Private Member Functions

static auto & getCounter () noexcept
 

Private Attributes

uint256 tag_
 
Buffer data_
 

Detailed Description

Definition at line 31 of file SHAMapItem.h.

Constructor & Destructor Documentation

◆ SHAMapItem() [1/2]

ripple::SHAMapItem::SHAMapItem ( )
delete

◆ SHAMapItem() [2/2]

ripple::SHAMapItem::SHAMapItem ( uint256 const &  tag,
Slice  data 
)

Definition at line 40 of file SHAMapItem.h.

Member Function Documentation

◆ key()

uint256 const& ripple::SHAMapItem::key ( ) const

Definition at line 45 of file SHAMapItem.h.

◆ slice()

Slice ripple::SHAMapItem::slice ( ) const

Definition at line 51 of file SHAMapItem.h.

◆ size()

std::size_t ripple::SHAMapItem::size ( ) const

Definition at line 57 of file SHAMapItem.h.

◆ data()

void const* ripple::SHAMapItem::data ( ) const

Definition at line 63 of file SHAMapItem.h.

◆ getCounter()

static auto& ripple::CountedObject< SHAMapItem >::getCounter
staticprivatenoexceptinherited

Definition at line 128 of file CountedObject.h.

Member Data Documentation

◆ tag_

uint256 ripple::SHAMapItem::tag_
private

Definition at line 34 of file SHAMapItem.h.

◆ data_

Buffer ripple::SHAMapItem::data_
private

Definition at line 35 of file SHAMapItem.h.