3#include <xrpl/protocol/SField.h>
4#include <xrpl/protocol/STBase.h>
5#include <xrpl/protocol/Serializer.h>
28template <
typename... Args>
81 [[nodiscard]]
STBase const&
97 template <
class T,
class... Args>
109 template <
class T,
class... Args>
128 template <
typename... Args>
136 return static_cast<void const*
>(
p_) !=
static_cast<void const*
>(&
d_);
140template <
class T,
class... Args>
A type which can be exported to a well known binary format.
virtual bool isEquivalent(STBase const &t) 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)
NonPresentObjectT gNonPresentObject
STVar makeStvar(Args &&... args)
NonPresentObjectT()=default