Scorum
|
#include <comment.hpp>
Public Types | |
using | comment_refs_type = std::vector< typename base_service_i::object_cref_type > |
using | checker_type = std::function< bool(const comment_object &)> |
![]() | |
using | object_type = comment_object |
using | modifier_type = std::function< void(object_type &)> |
using | call_type = std::function< void(const object_type &)> |
using | object_cref_type = std::reference_wrapper< const object_type > |
Public Member Functions | |
virtual const comment_object & | get (const comment_id_type &comment_id) const =0 |
virtual const comment_object & | get (const account_name_type &author, const std::string &permlink) const =0 |
virtual comment_refs_type | get_by_cashout_time (const fc::time_point_sec &until) const =0 |
virtual comment_refs_type | get_by_create_time (const fc::time_point_sec &until, const checker_type &) const =0 |
virtual bool | is_exists (const account_name_type &author, const std::string &permlink) const =0 |
virtual comment_refs_type | get_children (const account_name_type &parent_author, const std::string &parent_permlink) const =0 |
virtual void | set_rewarded_flag (const comment_object &comment)=0 |
![]() | |
virtual | ~base_service_i () |
virtual const object_type & | create (const modifier_type &modifier)=0 |
virtual void | update (const modifier_type &modifier)=0 |
virtual void | update (const object_type &o, const modifier_type &modifier)=0 |
virtual void | remove ()=0 |
virtual void | remove (const object_type &o)=0 |
virtual void | remove_all (const std::vector< object_cref_type > &os)=0 |
virtual bool | is_exists () const=0 |
virtual const object_type & | get () const=0 |
Definition at line 9 of file comment.hpp.
using scorum::chain::comment_service_i::checker_type = std::function<bool(const comment_object&)> |
Definition at line 21 of file comment.hpp.
using scorum::chain::comment_service_i::comment_refs_type = std::vector<typename base_service_i::object_cref_type> |
Definition at line 17 of file comment.hpp.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.
|
pure virtual |
Implemented in scorum::chain::dbs_comment.