Golos
Разработчикам Статистика Баунти Документация Партнеры Github
Public Member Functions | Public Attributes | List of all members
golos::tags::tag_stats_object Class Reference

#include <tags_plugin.hpp>

Inheritance diagram for golos::tags::tag_stats_object:

Public Member Functions

template<typename Constructor , typename Allocator >
 tag_stats_object (Constructor &&c, allocator< Allocator >)
 
 tag_stats_object ()
 

Public Attributes

id_type id
 
tag_name_type tag
 
fc::uint128_t total_children_rshares2
 
asset< 0, 17, 0 > total_payout = asset<0, 17, 0>(0, SBD_SYMBOL_NAME)
 
int32_t net_votes = 0
 
uint32_t top_posts = 0
 
uint32_t comments = 0
 

Detailed Description

The purpose of this index is to quickly identify how popular various tags by maintaining various sums over all posts under a particular tag

Definition at line 364 of file tags_plugin.hpp.

Constructor & Destructor Documentation

◆ tag_stats_object() [1/2]

template<typename Constructor , typename Allocator >
golos::tags::tag_stats_object::tag_stats_object ( Constructor &&  c,
allocator< Allocator >   
)
inline

Definition at line 367 of file tags_plugin.hpp.

◆ tag_stats_object() [2/2]

golos::tags::tag_stats_object::tag_stats_object ( )
inline

Definition at line 371 of file tags_plugin.hpp.

Member Data Documentation

◆ comments

uint32_t golos::tags::tag_stats_object::comments = 0

Definition at line 381 of file tags_plugin.hpp.

◆ id

id_type golos::tags::tag_stats_object::id

Definition at line 374 of file tags_plugin.hpp.

◆ net_votes

int32_t golos::tags::tag_stats_object::net_votes = 0

Definition at line 379 of file tags_plugin.hpp.

◆ tag

tag_name_type golos::tags::tag_stats_object::tag

Definition at line 376 of file tags_plugin.hpp.

◆ top_posts

uint32_t golos::tags::tag_stats_object::top_posts = 0

Definition at line 380 of file tags_plugin.hpp.

◆ total_children_rshares2

fc::uint128_t golos::tags::tag_stats_object::total_children_rshares2

Definition at line 377 of file tags_plugin.hpp.

◆ total_payout

asset<0, 17, 0> golos::tags::tag_stats_object::total_payout = asset<0, 17, 0>(0, SBD_SYMBOL_NAME)

Definition at line 378 of file tags_plugin.hpp.


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