Class List > eosio :: extended_symbol

Public Functions

Type Name
constexpr extended_symbol ()
constexpr extended_symbol (symbol sym, name con)
constexpr symbol get_symbol () const
constexpr name get_contract () const
void print (bool show_precision = true) const
Print the extended symbol

Friends

Type Name
friend constexpr bool operator==
Equivalency operator.
friend constexpr bool operator!=
Inverted equivalency operator.
friend constexpr bool operator<
Less than operator.

Public Functions Documentation

function extended_symbol

constexpr eosio::extended_symbol::extended_symbol()

function extended_symbol

constexpr eosio::extended_symbol::extended_symbol(
    symbol sym,
    name con
)

function get_symbol

constexpr symbol eosio::extended_symbol::get_symbol() const

function get_contract

constexpr name eosio::extended_symbol::get_contract() const

function print

void eosio::extended_symbol::print(
    bool show_precision = true
) const

Print the extended symbol

Print the extended symbol

Friends Documentation

friend operator==

constexpr bool operator==(
    const extended_symbol & a,
    const extended_symbol & b
)

Equivalency operator.

Equivalency operator. Returns true if a == b (are the same)

Returns:

boolean - true if both provided extended_symbols are the same

friend operator!=

constexpr bool operator!=(
    const extended_symbol & a,
    const extended_symbol & b
)

Inverted equivalency operator.

Inverted equivalency operator. Returns true if a != b (are different)

Returns:

boolean - true if both provided extended_symbols are not the same

friend operator<

constexpr bool operator<(
    const extended_symbol & a,
    const extended_symbol & b
)

Less than operator.

Less than operator. Returns true if a < b.

Returns:

boolean - true if extended_symbol a is less than b


The documentation for this class was generated from the following file: libraries/eosiolib/symbol.hpp