3#include <xrpl/basics/contract.h>
4#include <xrpl/protocol/SField.h>
48 nm +=
": '" + fieldName.
getName() +
"'";
70 [[nodiscard]]
SField const&
117 [[nodiscard]] std::vector<SOElement>::const_iterator
123 [[nodiscard]] std::vector<SOElement>::const_iterator
129 [[nodiscard]] std::vector<SOElement>::const_iterator
135 [[nodiscard]] std::vector<SOElement>::const_iterator
std::string const & getName() const
void init(SField const &fieldName) const
SOETxMPTIssue supportMPT() const
SOETxMPTIssue supportMpt_
SField const & sField() const
std::reference_wrapper< SField const > sField_
SOElement(TypedField< T > const &fieldName, SOEStyle style, SOETxMPTIssue supportMpt=SoeMptNotSupported)
SOElement(SField const &fieldName, SOEStyle style)
std::vector< int > indices_
int getIndex(SField const &) const
Retrieve the position of a named field.
std::vector< SOElement >::const_iterator end() const
SOTemplate(SOTemplate &&other)=default
std::vector< SOElement >::const_iterator cend() const
SOEStyle style(SField const &sf) const
std::size_t size() const
The number of entries in this template.
std::vector< SOElement >::const_iterator cbegin() const
std::vector< SOElement >::const_iterator begin() const
std::vector< SOElement > elements_
SOTemplate & operator=(SOTemplate &&other)=default
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
SOEStyle
Kind of element in each entry of an SOTemplate.
SOETxMPTIssue
Amount fields that can support MPT.
XRPL_NO_SANITIZE_ADDRESS void Throw(Args &&... args)
A field with a type known at compile time.