rippled
Classes | Public Member Functions | Public Attributes | List of all members
ripple::RippleLineCache::AccountKey Struct Reference
Collaboration diagram for ripple::RippleLineCache::AccountKey:
Collaboration graph
[legend]

Classes

struct  Hash
 

Public Member Functions

 AccountKey (AccountID const &account, std::size_t hash)
 
 AccountKey (AccountKey const &other)=default
 
AccountKeyoperator= (AccountKey const &other)=default
 
bool operator== (AccountKey const &lhs) const
 
std::size_t get_hash () const
 

Public Attributes

AccountID account_
 
std::size_t hash_value_
 

Detailed Description

Definition at line 54 of file RippleLineCache.h.

Constructor & Destructor Documentation

◆ AccountKey() [1/2]

ripple::RippleLineCache::AccountKey::AccountKey ( AccountID const &  account,
std::size_t  hash 
)

Definition at line 59 of file RippleLineCache.h.

◆ AccountKey() [2/2]

ripple::RippleLineCache::AccountKey::AccountKey ( AccountKey const &  other)
default

Member Function Documentation

◆ operator=()

AccountKey& ripple::RippleLineCache::AccountKey::operator= ( AccountKey const &  other)
default

◆ operator==()

bool ripple::RippleLineCache::AccountKey::operator== ( AccountKey const &  lhs) const

Definition at line 70 of file RippleLineCache.h.

◆ get_hash()

std::size_t ripple::RippleLineCache::AccountKey::get_hash ( ) const

Definition at line 76 of file RippleLineCache.h.

Member Data Documentation

◆ account_

AccountID ripple::RippleLineCache::AccountKey::account_

Definition at line 56 of file RippleLineCache.h.

◆ hash_value_

std::size_t ripple::RippleLineCache::AccountKey::hash_value_

Definition at line 57 of file RippleLineCache.h.