Scorum
|
#include <comment_vote.hpp>
Public Types | |
using | comment_vote_refs_type = std::vector< std::reference_wrapper< const comment_vote_object > > |
![]() | |
using | object_type = comment_vote_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_vote_object & | get (const comment_id_type &comment_id, const account_id_type &voter_id) const =0 |
virtual comment_vote_refs_type | get_by_comment (const comment_id_type &comment_id) const =0 |
virtual comment_vote_refs_type | get_by_comment_weight_voter (const comment_id_type &comment_id) const =0 |
virtual bool | is_exists (const comment_id_type &comment_id, const account_id_type &voter_id) const =0 |
virtual void | remove_by_comment (const comment_id_type &comment_id)=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_vote.hpp.
using scorum::chain::comment_vote_service_i::comment_vote_refs_type = std::vector<std::reference_wrapper<const comment_vote_object> > |
Definition at line 17 of file comment_vote.hpp.
|
pure virtual |
Implemented in scorum::chain::dbs_comment_vote.
|
pure virtual |
Implemented in scorum::chain::dbs_comment_vote.
|
pure virtual |
Implemented in scorum::chain::dbs_comment_vote.
|
pure virtual |
Implemented in scorum::chain::dbs_comment_vote.
|
pure virtual |
Implemented in scorum::chain::dbs_comment_vote.