BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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

◆ microseconds()

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

Definition at line 14 of file time.hpp.

Member Function Documentation

◆ count()

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

Definition at line 28 of file time.hpp.

◆ maximum()

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

Definition at line 15 of file time.hpp.

◆ operator!=()

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

Definition at line 21 of file time.hpp.

◆ operator+=()

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

Definition at line 26 of file time.hpp.

◆ operator-=()

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

Definition at line 27 of file time.hpp.

◆ operator==()

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

Definition at line 20 of file time.hpp.

◆ to_seconds()

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

Definition at line 29 of file time.hpp.

Friends And Related Function Documentation

◆ operator+

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

Definition at line 16 of file time.hpp.

◆ operator-

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

Definition at line 17 of file time.hpp.

◆ operator<

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

Definition at line 24 of file time.hpp.

◆ operator<=

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

Definition at line 25 of file time.hpp.

◆ operator>

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

Definition at line 22 of file time.hpp.

◆ operator>=

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

Definition at line 23 of file time.hpp.

◆ time_point

friend class time_point
friend

Definition at line 31 of file time.hpp.


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