Menu

class eosio::microseconds

Class List > eosio :: microseconds

Friends

Type Name
friend class time_point
friend DataStream & operator<<
friend DataStream & operator >>
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 Attributes

Type Name
int64_t _count

Public Functions

Type Name
microseconds (int64_t c = 0)
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 ()

Friends Documentation

friend time_point

time_point;

friend operator<< (2/2)

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

friend operator >> (2/2)

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

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<< (2/2)

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

friend operator >> (2/2)

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

Public Attributes Documentation

variable _count

int64_t eosio::microseconds::_count;

Public Functions Documentation

function microseconds (2/2)

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

function microseconds (2/2)

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/core/eosio/time.hpp