3#include <xrpl/protocol/SField.h>
4#include <xrpl/protocol/STBase.h>
5#include <xrpl/protocol/Serializer.h>
27template <
typename... Args>
81 [[nodiscard]]
STBase const&
97 template <
class T,
class... Args>
109 template <
class T,
class... Args>
127 template <
typename... Args>
135 return static_cast<void const*
>(
p_) !=
static_cast<void const*
>(&
d_);
139template <
class T,
class... Args>
157 return !(lhs == rhs);
A type which can be exported to a well known binary format.
virtual bool isEquivalent(STBase const &t) const
virtual STBase * copy(std::size_t n, void *buf) const
friend STVar makeStvar(Args &&... args)
void constructST(SerializedTypeID id, int depth, Args &&... arg)
Construct requested Serializable Type according to id.
void construct(Args &&... args)
STBase const & get() const
STVar(STVar const &other)
static constexpr std::size_t kMaxSize
STBase const & operator*() const
STVar & operator=(STVar const &rhs)
STBase const * operator->() const
DefaultObjectT gDefaultObject
bool operator==(STVar const &lhs, STVar const &rhs)
bool operator!=(STVar const &lhs, STVar const &rhs)
NonPresentObjectT gNonPresentObject
STVar makeStvar(Args &&... args)
NonPresentObjectT()=default