Provides ordering data for pagination. More...
#include "proto_ordering.hpp"


Public Member Functions | |
| OrderingImpl & | operator= (OrderingImpl const &)=delete |
| OrderingImpl () | |
| OrderingImpl (iroha::protocol::Ordering const &proto_ordering) | |
| OrderingImpl (OrderingImpl &&) | |
| OrderingImpl (OrderingImpl const &) | |
| bool | append (ModelType::Field field, ModelType::Direction direction) override |
| void | reset () override |
| void | get (ModelType::OrderingEntry const *&orderingEntry, size_t &count) const override |
Public Member Functions inherited from shared_model::interface::Ordering | |
| virtual bool | append (Field field, Direction direction)=0 |
| virtual void | get (OrderingEntry const *&orderingEntry, size_t &count) const =0 |
| std::string | toString () const override |
| bool | operator== (const ModelType &rhs) const override |
Public Member Functions inherited from shared_model::interface::ModelPrimitive< Ordering > | |
| virtual bool | operator== (const ModelType &rhs) const=0 |
| virtual bool | operator!= (const ModelType &rhs) const |
| virtual | ~ModelPrimitive ()=default |
Additional Inherited Members | |
Public Types inherited from shared_model::interface::Ordering | |
| enum | Field : size_t { Field::kCreatedTime = 0, Field::kPosition, Field::kMaxValueCount, Field::kUnknownValue = kMaxValueCount } |
| enum | Direction : size_t { Direction::kAscending = 0, Direction::kDescending, Direction::kMaxValueCount, Direction::kUnknownValue = kMaxValueCount } |
Public Types inherited from shared_model::interface::ModelPrimitive< Ordering > | |
| using | ModelType = Ordering |
Provides ordering data for pagination.
| OrderingImpl::OrderingImpl | ( | ) |

| OrderingImpl::OrderingImpl | ( | iroha::protocol::Ordering const & | proto_ordering | ) |

| OrderingImpl::OrderingImpl | ( | OrderingImpl && | c | ) |
| OrderingImpl::OrderingImpl | ( | OrderingImpl const & | c | ) |
|
override |

|
override |
|
delete |
|
overridevirtual |
Reset - drops all saved data.
Implements shared_model::interface::Ordering.

