rippled
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType > Struct Template Reference

#include <TestHelpers.h>

Inheritance diagram for ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType >:
Inheritance graph
[legend]
Collaboration diagram for ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType >:
Collaboration graph
[legend]

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 ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType >

Definition at line 184 of file TestHelpers.h.

Member Typedef Documentation

◆ SF

template<class SField , class UnitTag , class ValueType >
using ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType >::SF = SField

Definition at line 187 of file TestHelpers.h.

◆ SV

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

Definition at line 188 of file TestHelpers.h.

◆ OV

template<class SField , class UnitTag , class ValueType >
using ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType >::OV = ValueType

Definition at line 189 of file TestHelpers.h.

◆ base

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

Definition at line 190 of file TestHelpers.h.

Member Function Documentation

◆ value()

template<class SField , class UnitTag , class ValueType >
OV ripple::test::jtx::valueUnitField< SField, UnitTag, ValueType >::value ( ) const
overridevirtual

◆ operator()()

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

Definition at line 63 of file TestHelpers.h.

Member Data Documentation

◆ value_

template<class SField , class UnitTag , class ValueType >
SV ripple::test::jtx::JTxField< SField, StoredValue, OutputValue >::value_
protected

Definition at line 49 of file TestHelpers.h.

◆ sfield_

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

Definition at line 48 of file TestHelpers.h.