Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
absl::Duration Class Reference

#include <time.h>

Public Member Functions

constexpr Duration ()
 
constexpr Duration (const Duration &d)=default
 
Durationoperator%= (Duration rhs)
 
Durationoperator*= (int64_t r)
 
Durationoperator*= (double r)
 
template<typename T >
Durationoperator*= (T r)
 
Durationoperator*= (float r)
 
Durationoperator+= (Duration d)
 
Durationoperator-= (Duration d)
 
Durationoperator/= (int64_t r)
 
Durationoperator/= (double r)
 
template<typename T >
Durationoperator/= (T r)
 
Durationoperator/= (float r)
 
Durationoperator= (const Duration &d)=default
 

Private Member Functions

constexpr Duration (int64_t hi, uint32_t lo)
 

Private Attributes

int64_t rep_hi_
 
uint32_t rep_lo_
 

Friends

template<typename H >
AbslHashValue (H h, Duration d)
 
constexpr int64_t time_internal::GetRepHi (Duration d)
 
constexpr uint32_t time_internal::GetRepLo (Duration d)
 
constexpr Duration time_internal::MakeDuration (int64_t hi, uint32_t lo)
 

Detailed Description

Definition at line 150 of file time.h.

Constructor & Destructor Documentation

constexpr absl::Duration::Duration ( )
inline

Definition at line 153 of file time.h.

constexpr absl::Duration::Duration ( const Duration d)
default
constexpr absl::Duration::Duration ( int64_t  hi,
uint32_t  lo 
)
inlineprivate

Definition at line 198 of file time.h.

Member Function Documentation

Duration & absl::Duration::operator%= ( Duration  rhs)

Definition at line 471 of file duration.cc.

Duration & absl::Duration::operator*= ( int64_t  r)

Definition at line 439 of file duration.cc.

Duration & absl::Duration::operator*= ( double  r)

Definition at line 447 of file duration.cc.

template<typename T >
Duration& absl::Duration::operator*= ( r)
inline

Definition at line 176 of file time.h.

Duration& absl::Duration::operator*= ( float  r)
inline

Definition at line 185 of file time.h.

Duration & absl::Duration::operator+= ( Duration  d)

Definition at line 399 of file duration.cc.

Duration & absl::Duration::operator-= ( Duration  d)

Definition at line 416 of file duration.cc.

Duration & absl::Duration::operator/= ( int64_t  r)

Definition at line 455 of file duration.cc.

Duration & absl::Duration::operator/= ( double  r)

Definition at line 463 of file duration.cc.

template<typename T >
Duration& absl::Duration::operator/= ( r)
inline

Definition at line 181 of file time.h.

Duration& absl::Duration::operator/= ( float  r)
inline

Definition at line 186 of file time.h.

Duration& absl::Duration::operator= ( const Duration d)
default

Friends And Related Function Documentation

template<typename H >
H AbslHashValue ( h,
Duration  d 
)
friend

Definition at line 189 of file time.h.

constexpr int64_t time_internal::GetRepHi ( Duration  d)
friend
constexpr uint32_t time_internal::GetRepLo ( Duration  d)
friend
constexpr Duration time_internal::MakeDuration ( int64_t  hi,
uint32_t  lo 
)
friend

Member Data Documentation

int64_t absl::Duration::rep_hi_
private

Definition at line 199 of file time.h.

uint32_t absl::Duration::rep_lo_
private

Definition at line 200 of file time.h.


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


abseil_cpp
Author(s):
autogenerated on Tue Jun 18 2019 19:44:38