Menu

Binary Extension

Container to hold a binary payload for an extension. More...

Classes

Type Name
class eosio::binary_extension
container to hold a binary payload for an extension

Typedefs

Variables

Type Name
bool _has_value
std::aligned_storage< sizeof(T), alignof(T)>::type _data

Functions

Type Name
constexpr T & _get ()
constexpr const T & _get () const

Detailed Description

Container to hold a binary payload for an extension

Typedefs Documentation

typedef value_type

using eosio::binary_extension< T >::value_type =  T;

Variables Documentation

variable _has_value

bool eosio::binary_extension< T >::_has_value;

variable _data

std::aligned_storage< sizeof(T), alignof(T)>::type eosio::binary_extension< T >::_data;

Functions Documentation

function binary_extension

constexpr eosio::binary_extension< T >::binary_extension()

function binary_extension

constexpr eosio::binary_extension< T >::binary_extension(
    const T & ext
)

function binary_extension

constexpr eosio::binary_extension< T >::binary_extension(
    T && ext
)

function ~binary_extension

eosio::binary_extension< T >::~binary_extension()

function binary_extension

constexpr eosio::binary_extension< T >::binary_extension(
    const binary_extension & other
)

function binary_extension

constexpr eosio::binary_extension< T >::binary_extension(
    binary_extension && other
)

function operator bool

explicit constexpr eosio::binary_extension< T >::operator bool() const

test if container is holding a value

function has_value

constexpr bool eosio::binary_extension< T >::has_value() const

test if container is holding a value

function value

constexpr T& eosio::binary_extension< T >::value()

get the contained value

function value

constexpr const T& eosio::binary_extension< T >::value() const

get the contained value

function _get

constexpr T& eosio::binary_extension< T >::_get()

function _get

constexpr const T& eosio::binary_extension< T >::_get() const