Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
data::AmendmentKey Struct Reference

A helper for amendment name to feature conversions. More...

#include <Types.hpp>

Inheritance diagram for data::AmendmentKey:

Public Member Functions

 AmendmentKey (std::convertible_to< std::string > auto &&val)
 Construct a new AmendmentKey.
 
 operator std::string const & () const
 Conversion to string.
 
 operator std::string_view () const
 Conversion to string_view.
 
 operator ripple::uint256 () const
 Conversion to uint256.
 
auto operator<=> (AmendmentKey const &other) const =default
 Comparison operators.
 

Public Attributes

std::string name
 

Detailed Description

A helper for amendment name to feature conversions.

Constructor & Destructor Documentation

◆ AmendmentKey()

data::AmendmentKey::AmendmentKey ( std::convertible_to< std::string > auto && val)
inline

Construct a new AmendmentKey.

Parameters
valAnything convertible to a string

Member Function Documentation

◆ operator<=>()

auto data::AmendmentKey::operator<=> ( AmendmentKey const & other) const
default

Comparison operators.

Parameters
otherThe object to compare to
Returns
Whether the objects are equal, greater or less

The documentation for this struct was generated from the following files: