Lumiera  0.pre.03
»edityourfreedom«
lib/time/diagnostics.hpp File Reference

Go to the source code of this file.

Description

Extension to the lib::time::Time wrapper, adding output and further diagnostic aids.

This shouldn't be confused with formatting into distinctive Timecode formats. There is an elaborate framework for the latter: basically you'd need first to create a frame quantised time value (QuTime) – from there you can build various timecode representations.

To the contrary, the purpose of this header is to help with debugging, writing unit tests and similar diagnostic activities.

See also
timevalue.hpp
lumitime-test.cpp

Definition in file lib/time/diagnostics.hpp.

#include "lib/time/timevalue.hpp"
#include "lib/time.h"
#include <string>

Functions

int getHours (TimeValue const &t)
 
int getMillis (TimeValue t)
 
int getMins (TimeValue const &t)
 
int getSecs (TimeValue const &t)
 

Namespaces

 lib
 Implementation namespace for support and library code.
 
 lib::time