Menu

class eosio::time_point

Class List > eosio :: time_point

Public Attributes

Type Name
microseconds elapsed

Public Functions

Type Name
time_point (microseconds e = microseconds())
const microseconds & time_since_epoch () const
uint32_t sec_since_epoch () const
time_point (microseconds e = microseconds())
const microseconds & time_since_epoch () const
uint32_t sec_since_epoch () const
bool operator > (const time_point & t) const
bool operator >= (const time_point & t) const
bool operator< (const time_point & t) const
bool operator<= (const time_point & t) const
bool operator== (const time_point & t) const
bool operator != (const time_point & t) const
time_point & operator+= (const microseconds & m)
time_point & operator -= (const microseconds & m)
time_point operator+ (const microseconds & m) const
time_point operator+ (const time_point & m) const
time_point operator - (const microseconds & m) const
microseconds operator - (const time_point & m) const

Friends

Type Name
friend DataStream & operator<<
friend DataStream & operator >>
friend DataStream & operator<<
friend DataStream & operator >>

Detailed Description

High resolution time point in microseconds

Public Attributes Documentation

variable elapsed

microseconds eosio::time_point::elapsed;

Public Functions Documentation

function time_point (2/2)

explicit eosio::time_point::time_point(
    microseconds e = microseconds()
)

function time_since_epoch (2/2)

const microseconds& eosio::time_point::time_since_epoch() const

function sec_since_epoch (2/2)

uint32_t eosio::time_point::sec_since_epoch() const

function time_point (2/2)

explicit eosio::time_point::time_point(
    microseconds e = microseconds()
)

function time_since_epoch (2/2)

const microseconds& eosio::time_point::time_since_epoch() const

function sec_since_epoch (2/2)

uint32_t eosio::time_point::sec_since_epoch() const

function operator >

bool eosio::time_point::operator >(
    const time_point & t
) const

function operator >=

bool eosio::time_point::operator >=(
    const time_point & t
) const

function operator<

bool eosio::time_point::operator<(
    const time_point & t
) const

function operator<=

bool eosio::time_point::operator<=(
    const time_point & t
) const

function operator==

bool eosio::time_point::operator==(
    const time_point & t
) const

function operator !=

bool eosio::time_point::operator !=(
    const time_point & t
) const

function operator+=

time_point& eosio::time_point::operator+=(
    const microseconds & m
)

function operator -=

time_point& eosio::time_point::operator -=(
    const microseconds & m
)

function operator+ (1/2)

time_point eosio::time_point::operator+(
    const microseconds & m
) const

function operator+ (2/2)

time_point eosio::time_point::operator+(
    const time_point & m
) const

function operator - (1/2)

time_point eosio::time_point::operator -(
    const microseconds & m
) const

function operator - (2/2)

microseconds eosio::time_point::operator -(
    const time_point & m
) const

Friends Documentation

friend operator<< (2/2)

template<typename DataStream>
DataStream& operator<<(
    DataStream & ds,
    const time_point & t
)

friend operator >> (2/2)

template<typename DataStream>
DataStream& operator >>(
    DataStream & ds,
    time_point & t
)

friend operator<< (2/2)

template<typename DataStream>
DataStream& operator<<(
    DataStream & ds,
    const time_point & t
)

friend operator >> (2/2)

template<typename DataStream>
DataStream& operator >>(
    DataStream & ds,
    time_point & t
)

The documentation for this class was generated from the following file: libraries/eosiolib/core/eosio/time.hpp