Scorum
|
#include <comment.hpp>
Public Member Functions | |
const comment_object & | get (const comment_id_type &comment_id) const override |
const comment_object & | get (const account_name_type &author, const std::string &permlink) const override |
comment_refs_type | get_by_cashout_time (const fc::time_point_sec &until) const override |
comment_refs_type | get_by_create_time (const fc::time_point_sec &until, const checker_type &) const override |
bool | is_exists (const account_name_type &author, const std::string &permlink) const override |
comment_refs_type | get_children (const account_name_type &parent_author, const std::string &parent_permlink) const override |
void | set_rewarded_flag (const comment_object &comment) override |
![]() | |
dbs_service_base (dba::db_index &db) | |
virtual const object_type & | create (const modifier_type &modifier) override |
virtual void | update (const modifier_type &modifier) override |
virtual void | update (const object_type &o, const modifier_type &modifier) override |
virtual void | remove () override |
virtual void | remove (const object_type &o) override |
virtual void | remove_all (const std::vector< object_cref_type > &os) override |
virtual bool | is_exists () const override |
virtual const object_type & | get () const override |
const object_type & | get_by (const Key &arg) const |
const object_type * | find_by (const Key &arg) const |
void | foreach_by (Call &&call) const |
std::vector< object_cref_type > | get_range_by (LowerBounder lower, UpperBounder upper) const |
std::vector< object_cref_type > | get_filtered_range_by (LowerBounder lower, UpperBounder upper, UnaryPredicate filter) const |
![]() | |
virtual | ~dbs_base () |
![]() | |
virtual | ~base_service_i () |
Protected Member Functions | |
dbs_comment (database &db) | |
![]() | |
dbs_base ()=delete | |
dbs_base (dbs_base &&)=delete | |
dbs_base (dba::db_index &) | |
time_point_sec | head_block_time () |
dba::db_index & | db_impl () |
const dba::db_index & | db_impl () const |
Friends | |
class | dbservice_dbs_factory |
Additional Inherited Members | |
![]() | |
using | base_service_type = dbs_service_base |
using | modifier_type = typename service_interface::modifier_type |
using | object_type = typename service_interface::object_type |
using | object_cref_type = typename service_interface::object_cref_type |
![]() | |
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 > |
![]() | |
typedef dbs_base | _base_type |
Definition at line 33 of file comment.hpp.
|
explicitprotected |
Definition at line 14 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 28 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 19 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 37 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 47 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 63 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 58 of file comment.cpp.
|
overridevirtual |
Implements scorum::chain::comment_service_i.
Definition at line 73 of file comment.cpp.
|
friend |
Definition at line 35 of file comment.hpp.