Scorum
Public Member Functions | List of all members
scorum::chain::witness_vote_service_i Struct Referenceabstract

#include <witness_vote.hpp>

Inheritance diagram for scorum::chain::witness_vote_service_i:
scorum::chain::base_service_i< witness_vote_object > scorum::chain::dbs_service_base< witness_vote_service_i > scorum::chain::dbs_witness_vote

Public Member Functions

virtual bool is_exists (witness_id_type witness_id, account_id_type voter_id) const =0
 
virtual const witness_vote_objectget (witness_id_type witness_id, account_id_type voter_id)=0
 
- Public Member Functions inherited from scorum::chain::base_service_i< witness_vote_object >
virtual ~base_service_i ()
 
virtual const object_typecreate (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_typeget () const=0
 

Additional Inherited Members

- Public Types inherited from scorum::chain::base_service_i< witness_vote_object >
using object_type = witness_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 >
 

Detailed Description

Definition at line 9 of file witness_vote.hpp.

Member Function Documentation

◆ get()

virtual const witness_vote_object& scorum::chain::witness_vote_service_i::get ( witness_id_type  witness_id,
account_id_type  voter_id 
)
pure virtual

◆ is_exists()

virtual bool scorum::chain::witness_vote_service_i::is_exists ( witness_id_type  witness_id,
account_id_type  voter_id 
) const
pure virtual

The documentation for this struct was generated from the following file: