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

An element in a SOTemplate. More...

#include <SOTemplate.h>

Collaboration diagram for ripple::SOElement:
Collaboration graph
[legend]

Public Member Functions

 SOElement (SField const &fieldName, SOEStyle style)
 
template<typename T >
requires (std::is_same_v<T, STAmount> || std::is_same_v<T, STIssue>)
 SOElement (TypedField< T > const &fieldName, SOEStyle style, SOETxMPTIssue supportMpt=soeMPTNotSupported)
 
SField const & sField () const
 
SOEStyle style () const
 
SOETxMPTIssue supportMPT () const
 

Private Member Functions

void init (SField const &fieldName) const
 

Private Attributes

std::reference_wrapper< SField const > sField_
 
SOEStyle style_
 
SOETxMPTIssue supportMpt_ = soeMPTNone
 

Detailed Description

An element in a SOTemplate.

Definition at line 48 of file SOTemplate.h.

Constructor & Destructor Documentation

◆ SOElement() [1/2]

ripple::SOElement::SOElement ( SField const &  fieldName,
SOEStyle  style 
)

Definition at line 70 of file SOTemplate.h.

◆ SOElement() [2/2]

template<typename T >
requires (std::is_same_v<T, STAmount> || std::is_same_v<T, STIssue>)
ripple::SOElement::SOElement ( TypedField< T > const &  fieldName,
SOEStyle  style,
SOETxMPTIssue  supportMpt = soeMPTNotSupported 
)

Definition at line 78 of file SOTemplate.h.

Member Function Documentation

◆ init()

void ripple::SOElement::init ( SField const &  fieldName) const
private

Definition at line 57 of file SOTemplate.h.

◆ sField()

SField const & ripple::SOElement::sField ( ) const

Definition at line 88 of file SOTemplate.h.

◆ style()

SOEStyle ripple::SOElement::style ( ) const

Definition at line 94 of file SOTemplate.h.

◆ supportMPT()

SOETxMPTIssue ripple::SOElement::supportMPT ( ) const

Definition at line 100 of file SOTemplate.h.

Member Data Documentation

◆ sField_

std::reference_wrapper<SField const> ripple::SOElement::sField_
private

Definition at line 51 of file SOTemplate.h.

◆ style_

SOEStyle ripple::SOElement::style_
private

Definition at line 52 of file SOTemplate.h.

◆ supportMpt_

SOETxMPTIssue ripple::SOElement::supportMpt_ = soeMPTNone
private

Definition at line 53 of file SOTemplate.h.