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

Public Member Functions

 STPath ()=default
 
 STPath (std::vector< STPathElement > p)
 
std::vector< STPathElement >::size_type size () const
 
bool empty () const
 
void push_back (STPathElement const &e)
 
template<typename... Args>
void emplace_back (Args &&... args)
 
bool hasSeen (AccountID const &account, Currency const &currency, AccountID const &issuer) const
 
Json::Value getJson (JsonOptions) const
 
std::vector< STPathElement >::const_iterator begin () const
 
std::vector< STPathElement >::const_iterator end () const
 
bool operator== (STPath const &t) const
 
std::vector< STPathElement >::const_reference back () const
 
std::vector< STPathElement >::const_reference front () const
 
STPathElementoperator[] (int i)
 
const STPathElementoperator[] (int i) const
 
void reserve (size_t s)
 

Static Private Member Functions

static auto & getCounter () noexcept
 

Private Attributes

std::vector< STPathElementmPath
 

Detailed Description

Definition at line 118 of file STPathSet.h.

Constructor & Destructor Documentation

◆ STPath() [1/2]

ripple::STPath::STPath ( )
default

◆ STPath() [2/2]

ripple::STPath::STPath ( std::vector< STPathElement p)

Definition at line 388 of file STPathSet.h.

Member Function Documentation

◆ size()

std::vector< STPathElement >::size_type ripple::STPath::size ( ) const

Definition at line 393 of file STPathSet.h.

◆ empty()

bool ripple::STPath::empty ( ) const

Definition at line 399 of file STPathSet.h.

◆ push_back()

void ripple::STPath::push_back ( STPathElement const &  e)

Definition at line 405 of file STPathSet.h.

◆ emplace_back()

template<typename... Args>
void ripple::STPath::emplace_back ( Args &&...  args)

Definition at line 412 of file STPathSet.h.

◆ hasSeen()

bool ripple::STPath::hasSeen ( AccountID const &  account,
Currency const &  currency,
AccountID const &  issuer 
) const

Definition at line 151 of file STPathSet.cpp.

◆ getJson()

Json::Value ripple::STPath::getJson ( JsonOptions  ) const

Definition at line 166 of file STPathSet.cpp.

◆ begin()

std::vector< STPathElement >::const_iterator ripple::STPath::begin ( ) const

Definition at line 418 of file STPathSet.h.

◆ end()

std::vector< STPathElement >::const_iterator ripple::STPath::end ( ) const

Definition at line 424 of file STPathSet.h.

◆ operator==()

bool ripple::STPath::operator== ( STPath const &  t) const

Definition at line 430 of file STPathSet.h.

◆ back()

std::vector< STPathElement >::const_reference ripple::STPath::back ( ) const

Definition at line 436 of file STPathSet.h.

◆ front()

std::vector< STPathElement >::const_reference ripple::STPath::front ( ) const

Definition at line 442 of file STPathSet.h.

◆ operator[]() [1/2]

STPathElement & ripple::STPath::operator[] ( int  i)

Definition at line 448 of file STPathSet.h.

◆ operator[]() [2/2]

const STPathElement & ripple::STPath::operator[] ( int  i) const

Definition at line 454 of file STPathSet.h.

◆ reserve()

void ripple::STPath::reserve ( size_t  s)

Definition at line 460 of file STPathSet.h.

◆ getCounter()

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

Definition at line 128 of file CountedObject.h.

Member Data Documentation

◆ mPath

std::vector<STPathElement> ripple::STPath::mPath
private

Definition at line 120 of file STPathSet.h.