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

#include <languages_plugin.hpp>

Inheritance diagram for golos::languages::language_stats_object:

Public Member Functions

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

Public Attributes

id_type id
 
language_name_type language
 
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 356 of file languages_plugin.hpp.

Constructor & Destructor Documentation

◆ language_stats_object() [1/2]

template<typename Constructor , typename Allocator >
golos::languages::language_stats_object::language_stats_object ( Constructor &&  c,
allocator< Allocator >   
)
inline

Definition at line 359 of file languages_plugin.hpp.

◆ language_stats_object() [2/2]

golos::languages::language_stats_object::language_stats_object ( )
inline

Definition at line 363 of file languages_plugin.hpp.

Member Data Documentation

◆ comments

uint32_t golos::languages::language_stats_object::comments = 0

Definition at line 373 of file languages_plugin.hpp.

◆ id

id_type golos::languages::language_stats_object::id

Definition at line 366 of file languages_plugin.hpp.

◆ language

language_name_type golos::languages::language_stats_object::language

Definition at line 368 of file languages_plugin.hpp.

◆ net_votes

int32_t golos::languages::language_stats_object::net_votes = 0

Definition at line 371 of file languages_plugin.hpp.

◆ top_posts

uint32_t golos::languages::language_stats_object::top_posts = 0

Definition at line 372 of file languages_plugin.hpp.

◆ total_children_rshares2

fc::uint128_t golos::languages::language_stats_object::total_children_rshares2

Definition at line 369 of file languages_plugin.hpp.

◆ total_payout

asset<0, 17, 0> golos::languages::language_stats_object::total_payout = asset<0, 17, 0>(0, SBD_SYMBOL_NAME)

Definition at line 370 of file languages_plugin.hpp.


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