xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType > Struct Template Reference

#include <TestHelpers.h>

Inheritance diagram for xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >:
Collaboration diagram for xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >:

Public Types

using SF = SField
using SV = unit::ValueUnit<UnitTag, ValueType>
using OV = ValueType
using base = JTxField<SF, SV, OV>

Public Member Functions

OV value () const override
virtual void operator() (Env &, JTx &jt) const

Protected Attributes

SV value_
SF const & sfield_

Detailed Description

template<class SField, class UnitTag, class ValueType>
struct xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >

Definition at line 191 of file jtx/TestHelpers.h.

Member Typedef Documentation

◆ SF

template<class SField, class UnitTag, class ValueType>
using xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >::SF = SField

Definition at line 193 of file jtx/TestHelpers.h.

◆ SV

template<class SField, class UnitTag, class ValueType>
using xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >::SV = unit::ValueUnit<UnitTag, ValueType>

Definition at line 194 of file jtx/TestHelpers.h.

◆ OV

template<class SField, class UnitTag, class ValueType>
using xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >::OV = ValueType

Definition at line 195 of file jtx/TestHelpers.h.

◆ base

template<class SField, class UnitTag, class ValueType>
using xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >::base = JTxField<SF, SV, OV>

Definition at line 196 of file jtx/TestHelpers.h.

Member Function Documentation

◆ value()

template<class SField, class UnitTag, class ValueType>
OV xrpl::test::jtx::ValueUnitField< SField, UnitTag, ValueType >::value ( ) const
nodiscardoverridevirtual

◆ operator()()

virtual void xrpl::test::jtx::JTxField< SField, unit::ValueUnit< UnitTag, ValueType >, ValueType >::operator() ( Env & ,
JTx & jt ) const
virtualinherited

Definition at line 54 of file jtx/TestHelpers.h.

Member Data Documentation

◆ value_

template<class SField, class UnitTag, class ValueType>
SV xrpl::test::jtx::JTxField< SF, SV, OV >::value_
protected

Definition at line 41 of file jtx/TestHelpers.h.

◆ sfield_

SF const& xrpl::test::jtx::JTxField< SField, unit::ValueUnit< UnitTag, ValueType >, ValueType >::sfield_
protectedinherited

Definition at line 40 of file jtx/TestHelpers.h.