|
CatapultServer
v0.5.0.1 (Elephant)
|
Represents a mosaic definition. More...

Public Member Functions | |
| MosaicDefinition (Height height, const Key &owner, uint32_t revision, const model::MosaicProperties &properties) | |
| Creates a mosaic definition around height, owner, mosaic revision and mosaic properties. More... | |
| bool | isEternal () const |
Returns true if the mosaic definition has eternal duration. More... | |
| bool | isActive (Height height) const |
Returns true if the mosaic definition is active at height. More... | |
| bool | isExpired (Height height) const |
Returns true if the mosaic definition is expired at height. More... | |
| Height | height () const |
| Gets the height. More... | |
| const Key & | owner () const |
| Gets the owner's public key. More... | |
| uint32_t | revision () const |
| Gets the revision. More... | |
| const model::MosaicProperties & | properties () const |
| Gets the mosaic properties. More... | |
Private Attributes | |
| Height | m_height |
| Key | m_owner |
| uint32_t | m_revision |
| model::MosaicProperties | m_properties |
Represents a mosaic definition.
|
inlineexplicit |
Creates a mosaic definition around height, owner, mosaic revision and mosaic properties.
|
inline |
Gets the height.

| bool catapult::state::MosaicDefinition::isActive | ( | Height | height | ) | const |
Returns true if the mosaic definition is active at height.


| bool catapult::state::MosaicDefinition::isEternal | ( | ) | const |
Returns true if the mosaic definition has eternal duration.


| bool catapult::state::MosaicDefinition::isExpired | ( | Height | height | ) | const |
Returns true if the mosaic definition is expired at height.

|
inline |
Gets the owner's public key.
|
inline |
Gets the mosaic properties.
|
inline |
Gets the revision.
|
private |
|
private |
|
private |
|
private |