xrpld
Loading...
Searching...
No Matches
xrpl::test::TestPath Class Reference

#include <PathSet.h>

Collaboration diagram for xrpl::test::TestPath:

Public Member Functions

 TestPath ()=default
 TestPath (TestPath const &)=default
TestPathoperator= (TestPath const &)=default
 TestPath (TestPath &&)=default
TestPathoperator= (TestPath &&)=default
template<class First, class... Rest>
 TestPath (First &&first, Rest &&... rest)
TestPathpushBack (Issue const &iss)
TestPathpushBack (MPTIssue const &iss)
TestPathpushBack (jtx::Account const &acc)
TestPathpushBack (STPathElement const &pe)
json::Value json () const

Public Attributes

STPath path

Private Member Functions

template<class First, class... Rest>
void addHelper (First &&first, Rest &&... rest)

Detailed Description

Definition at line 65 of file PathSet.h.

Constructor & Destructor Documentation

◆ TestPath() [1/4]

xrpl::test::TestPath::TestPath ( )
default

◆ TestPath() [2/4]

xrpl::test::TestPath::TestPath ( TestPath const & )
default

◆ TestPath() [3/4]

xrpl::test::TestPath::TestPath ( TestPath && )
default

◆ TestPath() [4/4]

template<class First, class... Rest>
xrpl::test::TestPath::TestPath ( First && first,
Rest &&... rest )
explicit

Definition at line 79 of file PathSet.h.

Member Function Documentation

◆ operator=() [1/2]

TestPath & xrpl::test::TestPath::operator= ( TestPath const & )
default

◆ operator=() [2/2]

TestPath & xrpl::test::TestPath::operator= ( TestPath && )
default

◆ pushBack() [1/4]

TestPath & xrpl::test::TestPath::pushBack ( Issue const & iss)

Definition at line 108 of file PathSet.h.

◆ pushBack() [2/4]

TestPath & xrpl::test::TestPath::pushBack ( MPTIssue const & iss)

Definition at line 119 of file PathSet.h.

◆ pushBack() [3/4]

TestPath & xrpl::test::TestPath::pushBack ( jtx::Account const & acc)

Definition at line 130 of file PathSet.h.

◆ pushBack() [4/4]

TestPath & xrpl::test::TestPath::pushBack ( STPathElement const & pe)

Definition at line 101 of file PathSet.h.

◆ json()

json::Value xrpl::test::TestPath::json ( ) const
nodiscard

Definition at line 146 of file PathSet.h.

◆ addHelper()

template<class First, class... Rest>
void xrpl::test::TestPath::addHelper ( First && first,
Rest &&... rest )
private

Definition at line 138 of file PathSet.h.

Member Data Documentation

◆ path

STPath xrpl::test::TestPath::path

Definition at line 68 of file PathSet.h.