rippled
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ripple::test::jtx::path Class Reference

Add a path. More...

#include <paths.h>

Collaboration diagram for ripple::test::jtx::path:
Collaboration graph
[legend]

Public Member Functions

 path ()
 
template<class T , class... Args>
 path (T const &t, Args const &... args)
 
void operator() (Env &, JTx &jt) const
 

Private Member Functions

Json::Valuecreate ()
 
void append_one (Account const &account)
 
void append_one (AccountID const &account)
 
template<class T >
std::enable_if_t< std::is_constructible< Account, T >::value > append_one (T const &t)
 
void append_one (IOU const &iou)
 
void append_one (BookSpec const &book)
 
template<class T , class... Args>
void append (T const &t, Args const &... args)
 

Private Attributes

Json::Value jv_
 

Detailed Description

Add a path.

If no paths are present, a new one is created.

Definition at line 38 of file paths.h.

Constructor & Destructor Documentation

◆ path() [1/2]

ripple::test::jtx::path::path ( )

◆ path() [2/2]

template<class T , class... Args>
ripple::test::jtx::path::path ( T const &  t,
Args const &...  args 
)
explicit

Definition at line 81 of file paths.h.

Member Function Documentation

◆ operator()()

void ripple::test::jtx::path::operator() ( Env env,
JTx jt 
) const

Definition at line 94 of file paths.cpp.

◆ create()

Json::Value & ripple::test::jtx::path::create ( )
private

Definition at line 59 of file paths.cpp.

◆ append_one() [1/5]

void ripple::test::jtx::path::append_one ( Account const &  account)
private

Definition at line 65 of file paths.cpp.

◆ append_one() [2/5]

void ripple::test::jtx::path::append_one ( AccountID const &  account)
private

Definition at line 71 of file paths.cpp.

◆ append_one() [3/5]

template<class T >
std::enable_if_t< std::is_constructible< Account, T >::value > ripple::test::jtx::path::append_one ( T const &  t)
private

Definition at line 64 of file paths.h.

◆ append_one() [4/5]

void ripple::test::jtx::path::append_one ( IOU const &  iou)
private

Definition at line 78 of file paths.cpp.

◆ append_one() [5/5]

void ripple::test::jtx::path::append_one ( BookSpec const &  book)
private

Definition at line 86 of file paths.cpp.

◆ append()

template<class T , class... Args>
void ripple::test::jtx::path::append ( T const &  t,
Args const &...  args 
)
private

Definition at line 88 of file paths.h.

Member Data Documentation

◆ jv_

Json::Value ripple::test::jtx::path::jv_
private

Definition at line 41 of file paths.h.