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

Classes

struct  Hash
 

Public Member Functions

 AccountKey (AccountID const &account, LineDirection direction, 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_
 
LineDirection direction_
 
std::size_t hash_value_
 

Static Private Member Functions

static auto & getCounter () noexcept
 

Detailed Description

Definition at line 73 of file RippleLineCache.h.

Constructor & Destructor Documentation

◆ AccountKey() [1/2]

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

Definition at line 79 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 93 of file RippleLineCache.h.

◆ get_hash()

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

Definition at line 100 of file RippleLineCache.h.

◆ getCounter()

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

Definition at line 128 of file CountedObject.h.

Member Data Documentation

◆ account_

AccountID ripple::RippleLineCache::AccountKey::account_

Definition at line 75 of file RippleLineCache.h.

◆ direction_

LineDirection ripple::RippleLineCache::AccountKey::direction_

Definition at line 76 of file RippleLineCache.h.

◆ hash_value_

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

Definition at line 77 of file RippleLineCache.h.