BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
An object that is easily extended by providing pointers to other objects, one for each space. More...
#include <object.hpp>
Public Member Functions | |
object_id_type | get_annotation (uint8_t annotation_id_space) const |
void | set_annotation (object_id_type id) |
Public Member Functions inherited from graphene::db::base_abstract_object< DerivedClass > | |
std::unique_ptr< object > | clone () const override |
void | move_from (object &obj) override |
fc::variant | to_variant () const override |
std::vector< char > | pack () const override |
object ()=default | |
object (uint8_t space_id, uint8_t type_id) | |
Public Member Functions inherited from graphene::db::object | |
object ()=default | |
object (uint8_t space_id, uint8_t type_id) | |
virtual | ~object ()=default |
Public Attributes | |
annotation_map | annotations |
Public Attributes inherited from graphene::db::object | |
object_id_type | id |
An object that is easily extended by providing pointers to other objects, one for each space.
Definition at line 123 of file object.hpp.
|
inline |
return object_id_type() if no anotation is found for id_space
Definition at line 127 of file object.hpp.
|
inline |
Definition at line 133 of file object.hpp.
annotation_map graphene::db::annotated_object< DerivedClass >::annotations |
Annotations should be accessed via get_annotation and set_annotation so that they can be maintained in sorted order.
Definition at line 142 of file object.hpp.