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

#include <bucket_object.hpp>

Inheritance diagram for golos::market_history::bucket_key:

Public Member Functions

 bucket_key (protocol::asset_name_type a, protocol::asset_name_type b, uint32_t s, fc::time_point_sec o)
 bucket_key ()
- Public Member Functions inherited from golos::market_history::key_interface
 key_interface ()
 key_interface (protocol::asset_name_type base, protocol::asset_name_type quote)

Public Attributes

uint32_t seconds = 0
fc::time_point_sec open
- Public Attributes inherited from golos::market_history::key_interface
protocol::asset_name_type base
protocol::asset_name_type quote


bool operator< (const bucket_key &a, const bucket_key &b)
bool operator== (const bucket_key &a, const bucket_key &b)

Detailed Description

Definition at line 15 of file bucket_object.hpp.

Constructor & Destructor Documentation

◆ bucket_key() [1/2]

golos::market_history::bucket_key::bucket_key ( protocol::asset_name_type  a,
protocol::asset_name_type  b,
uint32_t  s,
fc::time_point_sec  o 

Definition at line 17 of file bucket_object.hpp.

◆ bucket_key() [2/2]

golos::market_history::bucket_key::bucket_key ( )

Definition at line 5 of file bucket_object.cpp.

Friends And Related Function Documentation

◆ operator<

bool operator< ( const bucket_key a,
const bucket_key b 

Definition at line 26 of file bucket_object.hpp.

◆ operator==

bool operator== ( const bucket_key a,
const bucket_key b 

Definition at line 30 of file bucket_object.hpp.

Member Data Documentation

◆ open

fc::time_point_sec golos::market_history::bucket_key::open

Definition at line 24 of file bucket_object.hpp.

◆ seconds

uint32_t golos::market_history::bucket_key::seconds = 0

Definition at line 23 of file bucket_object.hpp.

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