Scorum
Public Member Functions | Protected Member Functions | Friends | List of all members
scorum::chain::dbs_comment_statistic_base< service_interface > Class Template Reference

#include <comment_statistic.hpp>

Inheritance diagram for scorum::chain::dbs_comment_statistic_base< service_interface >:
scorum::chain::dbs_service_base< service_interface > scorum::chain::dbs_base

Public Member Functions

const comment_statisticobject_type & get (const comment_id_type &comment_id) const override
 
- Public Member Functions inherited from scorum::chain::dbs_service_base< service_interface >
 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
 
template<class... IndexBy, class Key >
const object_typeget_by (const Key &arg) const
 
template<class... IndexBy, class Key >
const object_typefind_by (const Key &arg) const
 
template<class... IndexBy, typename Call >
void foreach_by (Call &&call) const
 
template<class... IndexBy, class LowerBounder , class UpperBounder >
std::vector< object_cref_typeget_range_by (LowerBounder lower, UpperBounder upper) const
 
template<class... IndexBy, class LowerBounder , class UpperBounder , class UnaryPredicate >
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 ()
 

Protected Member Functions

 dbs_comment_statistic_base (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< service_interface >
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
 
- Protected Types inherited from scorum::chain::dbs_base
typedef dbs_base _base_type
 

Detailed Description

template<class service_interface>
class scorum::chain::dbs_comment_statistic_base< service_interface >

Definition at line 16 of file comment_statistic.hpp.

Constructor & Destructor Documentation

◆ dbs_comment_statistic_base()

template<class service_interface >
scorum::chain::dbs_comment_statistic_base< service_interface >::dbs_comment_statistic_base ( database db)
inlineexplicitprotected

Definition at line 25 of file comment_statistic.hpp.

Member Function Documentation

◆ get()

template<class service_interface >
const comment_statisticobject_type& scorum::chain::dbs_comment_statistic_base< service_interface >::get ( const comment_id_type comment_id) const
inlineoverride

Definition at line 33 of file comment_statistic.hpp.

Friends And Related Function Documentation

◆ dbservice_dbs_factory

template<class service_interface >
friend class dbservice_dbs_factory
friend

Definition at line 18 of file comment_statistic.hpp.


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