Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::Time::Relative Struct Reference

Interval of time represented with 64 bit double precision float. More...

#include <Time.h>

Public Member Functions

 Relative ()
 how many seconds have elapsed in More...
 
 Relative (Milliseconds time)
 Construct a Relative from milliseconds. More...
 
 Relative (Nanoseconds time)
 Construct a Relative from nanoseconds. More...
 
 Relative (Seconds time)
 Construct a Relative from seconds. More...
 
bool operator> (const Relative other) const
 
bool operator< (const Relative other) const
 
bool operator== (const Relative other) const
 
Seconds toSeconds () const
 
Nanoseconds toNanoseconds () const
 
Milliseconds toMilliseconds () const
 

Static Public Member Functions

static Relative fromSeconds (double seconds)
 

Detailed Description

Interval of time represented with 64 bit double precision float.

Constructor & Destructor Documentation

◆ Relative() [1/4]

SC::Time::Relative::Relative ( )
inline

how many seconds have elapsed in

◆ Relative() [2/4]

SC::Time::Relative::Relative ( Milliseconds  time)
inline

Construct a Relative from milliseconds.

◆ Relative() [3/4]

SC::Time::Relative::Relative ( Nanoseconds  time)
inline

Construct a Relative from nanoseconds.

◆ Relative() [4/4]

SC::Time::Relative::Relative ( Seconds  time)
inline

Construct a Relative from seconds.


The documentation for this struct was generated from the following file: