Scorum
Public Member Functions | Protected Member Functions | Friends | List of all members
scorum::chain::dbs_account_blogging_statistic Class Reference

#include <account_blogging_statistic.hpp>

Inheritance diagram for scorum::chain::dbs_account_blogging_statistic:
scorum::chain::dbs_service_base< account_blogging_statistic_service_i > scorum::chain::dbs_base scorum::chain::account_blogging_statistic_service_i scorum::chain::base_service_i< account_blogging_statistic_object >

Public Member Functions

const account_blogging_statistic_object & obtain (const account_id_type &account_id) override
 
const account_blogging_statistic_object * find (const account_id_type &account_id) const override
 
void add_post (const account_blogging_statistic_object &stat) override
 
void add_comment (const account_blogging_statistic_object &stat) override
 
void add_vote (const account_blogging_statistic_object &stat) override
 
void increase_posting_rewards (const account_blogging_statistic_object &stat, const asset &amount) override
 
void increase_curation_rewards (const account_blogging_statistic_object &stat, const asset &amount) override
 
- Public Member Functions inherited from scorum::chain::dbs_service_base< account_blogging_statistic_service_i >
 dbs_service_base (dba::db_index &db)
 
virtual const object_typecreate (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_typeget () const override
 
const object_typeget_by (const Key &arg) const
 
const object_typefind_by (const Key &arg) const
 
void foreach_by (Call &&call) const
 
std::vector< object_cref_typeget_range_by (LowerBounder lower, UpperBounder upper) const
 
std::vector< object_cref_typeget_filtered_range_by (LowerBounder lower, UpperBounder upper, UnaryPredicate filter) const
 
- Public Member Functions inherited from scorum::chain::dbs_base
virtual ~dbs_base ()
 
- Public Member Functions inherited from scorum::chain::base_service_i< account_blogging_statistic_object >
virtual ~base_service_i ()
 

Protected Member Functions

 dbs_account_blogging_statistic (database &db)
 
- Protected Member Functions inherited from scorum::chain::dbs_base
 dbs_base ()=delete
 
 dbs_base (dbs_base &&)=delete
 
 dbs_base (dba::db_index &)
 
time_point_sec head_block_time ()
 
dba::db_indexdb_impl ()
 
const dba::db_indexdb_impl () const
 

Friends

class dbservice_dbs_factory
 

Additional Inherited Members

- Public Types inherited from scorum::chain::dbs_service_base< account_blogging_statistic_service_i >
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
 
- Public Types inherited from scorum::chain::base_service_i< account_blogging_statistic_object >
using object_type = account_blogging_statistic_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 >
 
- Protected Types inherited from scorum::chain::dbs_base
typedef dbs_base _base_type
 

Detailed Description

Definition at line 26 of file account_blogging_statistic.hpp.

Constructor & Destructor Documentation

◆ dbs_account_blogging_statistic()

scorum::chain::dbs_account_blogging_statistic::dbs_account_blogging_statistic ( database db)
explicitprotected

Definition at line 6 of file account_blogging_statistic.cpp.

Member Function Documentation

◆ add_comment()

void scorum::chain::dbs_account_blogging_statistic::add_comment ( const account_blogging_statistic_object &  stat)
overridevirtual

◆ add_post()

void scorum::chain::dbs_account_blogging_statistic::add_post ( const account_blogging_statistic_object &  stat)
overridevirtual

◆ add_vote()

void scorum::chain::dbs_account_blogging_statistic::add_vote ( const account_blogging_statistic_object &  stat)
overridevirtual

◆ find()

const account_blogging_statistic_object * scorum::chain::dbs_account_blogging_statistic::find ( const account_id_type account_id) const
overridevirtual

◆ increase_curation_rewards()

void scorum::chain::dbs_account_blogging_statistic::increase_curation_rewards ( const account_blogging_statistic_object &  stat,
const asset amount 
)
overridevirtual

◆ increase_posting_rewards()

void scorum::chain::dbs_account_blogging_statistic::increase_posting_rewards ( const account_blogging_statistic_object &  stat,
const asset amount 
)
overridevirtual

◆ obtain()

const account_blogging_statistic_object & scorum::chain::dbs_account_blogging_statistic::obtain ( const account_id_type account_id)
overridevirtual

Friends And Related Function Documentation

◆ dbservice_dbs_factory

friend class dbservice_dbs_factory
friend

Definition at line 28 of file account_blogging_statistic.hpp.


The documentation for this class was generated from the following files: