class eosio::extended_symbol
Class List > eosio :: 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 |
---|---|
constexpr friend bool | operator== |
constexpr friend bool | operator!= |
constexpr friend bool | operator< |
Detailed Description
Extended asset which stores the information of the owner of the symbol
Public Functions Documentation
function extended_symbol (1/2)
constexpr eosio::extended_symbol::extended_symbol()
Default constructor, construct a new extended_symbol
function extended_symbol (2/2)
constexpr eosio::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 eosio::extended_symbol::get_symbol() const
Returns the symbol in the extended_contract
Returns:
symbol
function get_contract
constexpr name eosio::extended_symbol::get_contract() const
Returns the name of the contract in the extended_symbol
Returns:
name
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 friend bool operator==(
const extended_symbol & a,
const extended_symbol & b
)
Equivalency operator. Returns true if a == b (are the same)
Returns:
boolean - true if both provided extended_symbols are the same
friend operator!=
constexpr friend 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 friend 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
The documentation for this class was generated from the following file: libraries/eosiolib/core/eosio/symbol.hpp