BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | Friends | List of all members
graphene::market_history::bucket_key Struct Reference

#include <market_history_plugin.hpp>

Public Member Functions

 bucket_key (asset_id_type a, asset_id_type b, uint32_t s, fc::time_point_sec o)
 
 bucket_key ()
 

Public Attributes

asset_id_type base
 
asset_id_type quote
 
uint32_t seconds = 0
 
fc::time_point_sec open
 

Friends

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 59 of file market_history_plugin.hpp.

Constructor & Destructor Documentation

graphene::market_history::bucket_key::bucket_key ( asset_id_type  a,
asset_id_type  b,
uint32_t  s,
fc::time_point_sec  o 
)
inline

Definition at line 61 of file market_history_plugin.hpp.

graphene::market_history::bucket_key::bucket_key ( )
inline

Definition at line 63 of file market_history_plugin.hpp.

Friends And Related Function Documentation

bool operator< ( const bucket_key a,
const bucket_key b 
)
friend

Definition at line 70 of file market_history_plugin.hpp.

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

Definition at line 74 of file market_history_plugin.hpp.

Member Data Documentation

asset_id_type graphene::market_history::bucket_key::base

Definition at line 65 of file market_history_plugin.hpp.

fc::time_point_sec graphene::market_history::bucket_key::open

Definition at line 68 of file market_history_plugin.hpp.

asset_id_type graphene::market_history::bucket_key::quote

Definition at line 66 of file market_history_plugin.hpp.

uint32_t graphene::market_history::bucket_key::seconds = 0

Definition at line 67 of file market_history_plugin.hpp.


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