BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Static Public Member Functions | Friends | List of all members
fc::microseconds Class Reference

#include <time.hpp>

Public Member Functions

 microseconds (int64_t c=0)
 
bool operator== (const microseconds &c) const
 
bool operator!= (const microseconds &c) const
 
microsecondsoperator+= (const microseconds &c)
 
microsecondsoperator-= (const microseconds &c)
 
int64_t count () const
 
int64_t to_seconds () const
 

Static Public Member Functions

static microseconds maximum ()
 

Friends

class time_point
 
microseconds operator+ (const microseconds &l, const microseconds &r)
 
microseconds operator- (const microseconds &l, const microseconds &r)
 
bool operator> (const microseconds &a, const microseconds &b)
 
bool operator>= (const microseconds &a, const microseconds &b)
 
bool operator< (const microseconds &a, const microseconds &b)
 
bool operator<= (const microseconds &a, const microseconds &b)
 

Detailed Description

Definition at line 12 of file time.hpp.

Constructor & Destructor Documentation

fc::microseconds::microseconds ( int64_t  c = 0)
inlineexplicit

Definition at line 14 of file time.hpp.

Member Function Documentation

int64_t fc::microseconds::count ( ) const
inline

Definition at line 28 of file time.hpp.

static microseconds fc::microseconds::maximum ( )
inlinestatic

Definition at line 15 of file time.hpp.

bool fc::microseconds::operator!= ( const microseconds c) const
inline

Definition at line 21 of file time.hpp.

microseconds& fc::microseconds::operator+= ( const microseconds c)
inline

Definition at line 26 of file time.hpp.

microseconds& fc::microseconds::operator-= ( const microseconds c)
inline

Definition at line 27 of file time.hpp.

bool fc::microseconds::operator== ( const microseconds c) const
inline

Definition at line 20 of file time.hpp.

int64_t fc::microseconds::to_seconds ( ) const
inline

Definition at line 29 of file time.hpp.

Friends And Related Function Documentation

microseconds operator+ ( const microseconds l,
const microseconds r 
)
friend

Definition at line 16 of file time.hpp.

microseconds operator- ( const microseconds l,
const microseconds r 
)
friend

Definition at line 17 of file time.hpp.

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

Definition at line 24 of file time.hpp.

bool operator<= ( const microseconds a,
const microseconds b 
)
friend

Definition at line 25 of file time.hpp.

bool operator> ( const microseconds a,
const microseconds b 
)
friend

Definition at line 22 of file time.hpp.

bool operator>= ( const microseconds a,
const microseconds b 
)
friend

Definition at line 23 of file time.hpp.

friend class time_point
friend

Definition at line 31 of file time.hpp.


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