#include <asset.hpp>
Definition at line 31 of file asset.hpp.
◆ asset()
| graphene::protocol::asset::asset |
( |
share_type |
a = 0, |
|
|
asset_id_type |
id = asset_id_type() |
|
) |
| |
|
inline |
◆ multiply_and_round_up()
| asset graphene::protocol::asset::multiply_and_round_up |
( |
const price & |
p | ) |
const |
Multiply and round up.
Definition at line 77 of file asset.cpp.
◆ operator+=()
| asset& graphene::protocol::asset::operator+= |
( |
const asset & |
o | ) |
|
|
inline |
◆ operator-()
| asset graphene::protocol::asset::operator- |
( |
| ) |
const |
|
inline |
◆ operator-=()
| asset& graphene::protocol::asset::operator-= |
( |
const asset & |
o | ) |
|
|
inline |
◆ scaled_precision()
| share_type graphene::protocol::asset::scaled_precision |
( |
uint8_t |
precision | ) |
|
|
static |
◆ operator!=
| bool operator!= |
( |
const asset & |
a, |
|
|
const asset & |
b |
|
) |
| |
|
friend |
◆ operator+
◆ operator-
◆ operator<
| bool operator< |
( |
const asset & |
a, |
|
|
const asset & |
b |
|
) |
| |
|
friend |
◆ operator<=
| bool operator<= |
( |
const asset & |
a, |
|
|
const asset & |
b |
|
) |
| |
|
friend |
◆ operator==
| bool operator== |
( |
const asset & |
a, |
|
|
const asset & |
b |
|
) |
| |
|
friend |
◆ operator>
| bool operator> |
( |
const asset & |
a, |
|
|
const asset & |
b |
|
) |
| |
|
friend |
◆ operator>=
| bool operator>= |
( |
const asset & |
a, |
|
|
const asset & |
b |
|
) |
| |
|
friend |
◆ amount
◆ asset_id
| asset_id_type graphene::protocol::asset::asset_id |
The documentation for this struct was generated from the following files: