xrpld
Loading...
Searching...
No Matches
xrpl::SOElement Class Reference

An element in a SOTemplate. More...

#include <SOTemplate.h>

Collaboration diagram for xrpl::SOElement:

Public Member Functions

 SOElement (SField const &fieldName, SOEStyle style)
template<typename T>
 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 33 of file SOTemplate.h.

Constructor & Destructor Documentation

◆ SOElement() [1/2]

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

Definition at line 54 of file SOTemplate.h.

◆ SOElement() [2/2]

template<typename T>
xrpl::SOElement::SOElement ( TypedField< T > const & fieldName,
SOEStyle style,
SOETxMPTIssue supportMpt = SoeMptNotSupported )

Definition at line 61 of file SOTemplate.h.

Member Function Documentation

◆ init()

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

Definition at line 42 of file SOTemplate.h.

◆ sField()

SField const & xrpl::SOElement::sField ( ) const
nodiscard

Definition at line 71 of file SOTemplate.h.

◆ style()

SOEStyle xrpl::SOElement::style ( ) const
nodiscard

Definition at line 77 of file SOTemplate.h.

◆ supportMPT()

SOETxMPTIssue xrpl::SOElement::supportMPT ( ) const
nodiscard

Definition at line 83 of file SOTemplate.h.

Member Data Documentation

◆ sField_

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

Definition at line 36 of file SOTemplate.h.

◆ style_

SOEStyle xrpl::SOElement::style_
private

Definition at line 37 of file SOTemplate.h.

◆ supportMpt_

SOETxMPTIssue xrpl::SOElement::supportMpt_ = SoeMptNone
private

Definition at line 38 of file SOTemplate.h.