class arisen::extended_symbol

Public Functions

Type

Name

constexpr

extended_symbol ()

constexpr

extended_symbol (symbol s, 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==

friend constexpr bool

operator!=

friend constexpr bool

operator<

friend DataStream &

operator<<

friend DataStream &

operator>>

Detailed Description

Extended asset which stores the information of the owner of the symbol

Public Functions Documentation

function extended_symbol (1/2)

constexpr arisen::extended_symbol::extended_symbol()

function extended_symbol (2/2)

constexpr arisen::extended_symbol::extended_symbol(
    symbol s,
    name con
)

Construct a new symbol_code object initialising symbol and contract with the passed in symbol and name

Parameters:

sym - The symbol
con - The name of the contract

function get_symbol

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

Returns the symbol in the extended_contract

Returns:

symbol

function get_contract

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

function print

void arisen::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
)

friend operator!=

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

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. Returns true if a < b.

Returns:

boolean - true if extended_symbol a is less than b

friend operator<<

template<typename DataStream>
DataStream& operator<<(
    DataStream & ds,
    const extended_symbol & t
)

friend operator>>

template<typename DataStream>
DataStream& operator>>(
    DataStream & ds,
    extended_symbol & t
)

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