class eosio::microseconds

Class List > eosio :: microseconds

Public Attributes

Type Name
int64_t _count

Friends

Type Name
friend class time_point
friend microseconds operator+
friend microseconds operator-
friend bool operator>
friend bool operator>=
friend bool operator<
friend bool operator<=
friend DataStream & operator<<
friend DataStream & operator>>

Public Functions

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

Public Static Functions

Type Name
static microseconds maximum ()

Public Attributes Documentation

variable _count

int64_t eosio::microseconds::_count;

Friends Documentation

friend time_point

friend class time_point;

friend operator+

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

friend operator-

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

friend operator>

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

friend operator>=

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

friend operator<

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

friend operator<=

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

friend operator<<

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

friend operator>>

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

Public Functions Documentation

function microseconds

explicit eosio::microseconds::microseconds(
    int64_t c = 0
)

function operator==

bool eosio::microseconds::operator==(
    const microseconds & c
) const

function operator!=

bool eosio::microseconds::operator!=(
    const microseconds & c
) const

function operator+=

microseconds& eosio::microseconds::operator+=(
    const microseconds & c
)

function operator-=

microseconds& eosio::microseconds::operator-=(
    const microseconds & c
)

function count

int64_t eosio::microseconds::count() const

function to_seconds

int64_t eosio::microseconds::to_seconds() const

Public Static Functions Documentation

function maximum

static static microseconds eosio::microseconds::maximum()

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