|
CatapultServer
v0.5.0.1 (Elephant)
|
Collection of receipts scoped to a unresolved value. More...
Classes | |
| struct | ResolutionEntry |
| Resolution entry. More... | |
Public Member Functions | |
| ResolutionStatement (const TUnresolved &unresolved) | |
| Creates a statement around unresolved value. More... | |
| const TUnresolved & | unresolved () const |
| Gets unresolved value. More... | |
| size_t | size () const |
| Gets the number of attached resolution entries. More... | |
| const ResolutionEntry & | entryAt (size_t index) const |
| Gets the resolution entry at index. More... | |
| Hash256 | hash () const |
| Calculates a unique hash for this statment. More... | |
| void | addResolution (const TResolved &resolved, const ReceiptSource &source) |
| Adds a resolution entry for resolving the unresolved value to resolved value at source. More... | |
Private Attributes | |
| TUnresolved | m_unresolved |
| std::vector< ResolutionEntry > | m_entries |
Collection of receipts scoped to a unresolved value.
|
explicit |
Creates a statement around unresolved value.
| void catapult::model::ResolutionStatement< TUnresolved, TResolved, ResolutionReceiptType >::addResolution | ( | const TResolved & | resolved, |
| const ReceiptSource & | source | ||
| ) |
Adds a resolution entry for resolving the unresolved value to resolved value at source.
| const ResolutionEntry& catapult::model::ResolutionStatement< TUnresolved, TResolved, ResolutionReceiptType >::entryAt | ( | size_t | index | ) | const |
Gets the resolution entry at index.
| Hash256 catapult::model::ResolutionStatement< TUnresolved, TResolved, ResolutionReceiptType >::hash | ( | ) | const |
Calculates a unique hash for this statment.
| size_t catapult::model::ResolutionStatement< TUnresolved, TResolved, ResolutionReceiptType >::size | ( | ) | const |
Gets the number of attached resolution entries.
| const TUnresolved& catapult::model::ResolutionStatement< TUnresolved, TResolved, ResolutionReceiptType >::unresolved | ( | ) | const |
Gets unresolved value.
|
private |
|
private |