SDL Utility
Time.cpp File Reference
#include "structures/Time.hpp"
#include "..\..\include\structures\Time.hpp"

Functions

Time Seconds (float seconds)
 
Time Milliseconds (Int32 milliseconds)
 
Time Microseconds (Int64 microseconds)
 
bool operator== (const Time &left, const Time &right)
 
bool operator!= (const Time &left, const Time &right)
 
bool operator< (const Time &left, const Time &right)
 
bool operator> (const Time &left, const Time &right)
 
bool operator<= (const Time &left, const Time &right)
 
bool operator>= (const Time &left, const Time &right)
 
Time operator- (const Time &right)
 
Time operator+ (const Time &left, const Time &right)
 
Time & operator+= (Time &left, const Time &right)
 
Time operator- (const Time &left, const Time &right)
 
Time & operator-= (Time &left, const Time &right)
 
Time operator* (const Time &left, float right)
 
Time operator* (const Time &left, Int64 right)
 
Time operator* (float left, const Time &right)
 
Time operator* (Int64 left, const Time &right)
 
Time & operator*= (Time &left, float right)
 
Time & operator*= (Time &left, Int64 right)
 
Time operator/ (const Time &left, float right)
 
Time operator/ (const Time &left, Int64 right)
 
Time & operator/= (Time &left, float right)
 
Time & operator/= (Time &left, Int64 right)
 
float operator/ (const Time &left, const Time &right)
 
Time operator% (const Time &left, const Time &right)
 
Time & operator%= (Time &left, const Time &right)
 

Function Documentation

◆ Microseconds()

Time Microseconds ( Int64  microseconds)

◆ Milliseconds()

Time Milliseconds ( Int32  milliseconds)

◆ operator!=()

bool operator!= ( const Time &  left,
const Time &  right 
)

◆ operator%()

Time operator% ( const Time &  left,
const Time &  right 
)

◆ operator%=()

Time& operator%= ( Time &  left,
const Time &  right 
)

◆ operator*() [1/4]

Time operator* ( const Time &  left,
float  right 
)

◆ operator*() [2/4]

Time operator* ( const Time &  left,
Int64  right 
)

◆ operator*() [3/4]

Time operator* ( float  left,
const Time &  right 
)

◆ operator*() [4/4]

Time operator* ( Int64  left,
const Time &  right 
)

◆ operator*=() [1/2]

Time& operator*= ( Time &  left,
float  right 
)

◆ operator*=() [2/2]

Time& operator*= ( Time &  left,
Int64  right 
)

◆ operator+()

Time operator+ ( const Time &  left,
const Time &  right 
)

◆ operator+=()

Time& operator+= ( Time &  left,
const Time &  right 
)

◆ operator-() [1/2]

Time operator- ( const Time &  left,
const Time &  right 
)

◆ operator-() [2/2]

Time operator- ( const Time &  right)

◆ operator-=()

Time& operator-= ( Time &  left,
const Time &  right 
)

◆ operator/() [1/3]

float operator/ ( const Time &  left,
const Time &  right 
)

◆ operator/() [2/3]

Time operator/ ( const Time &  left,
float  right 
)

◆ operator/() [3/3]

Time operator/ ( const Time &  left,
Int64  right 
)

◆ operator/=() [1/2]

Time& operator/= ( Time &  left,
float  right 
)

◆ operator/=() [2/2]

Time& operator/= ( Time &  left,
Int64  right 
)

◆ operator<()

bool operator< ( const Time &  left,
const Time &  right 
)

◆ operator<=()

bool operator<= ( const Time &  left,
const Time &  right 
)

◆ operator==()

bool operator== ( const Time &  left,
const Time &  right 
)

◆ operator>()

bool operator> ( const Time &  left,
const Time &  right 
)

◆ operator>=()

bool operator>= ( const Time &  left,
const Time &  right 
)

◆ Seconds()

Time Seconds ( float  seconds)