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
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>>

Public Attributes Documentation

variable elapsed

microseconds eosio::time_point::elapsed;

Public Functions Documentation

function time_point

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

function time_since_epoch

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

function sec_since_epoch

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<<

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

friend operator>>

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

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