TSDuck Version 3.15-955 (TSDuck - The MPEG Transport Stream Toolkit)
tsTime.h File Reference

Declare the ts::Time class. More...

Classes

struct  ts::Time::Fields
 Broken-down fields of a time value. More...
 
class  ts::Time
 The Time class implements a basic representation of time. More...
 
class  ts::Time::TimeError
 Fatal low-level time error. More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Functions

std::ostream & operator<< (std::ostream &strm, const ts::Time &time)
 Output operator for the class ts::Time on standard text streams. More...
 

Detailed Description

Declare the ts::Time class.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  strm,
const ts::Time time 
)
inline

Output operator for the class ts::Time on standard text streams.

Parameters
[in,out]strmAn standard stream in output mode.
[in]timeA ts::Time object.
Returns
A reference to the strm object.
Exceptions
ts::Time::TimeErrorIn case of operating system time error.