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

Basic definition of an MPEG-2 transport packet. More...

Classes

class  ts::TSPacket::AdaptationFieldError
 Internal error: access a non-existent adaptation field. More...
 
struct  ts::TSPacket
 Basic definition of an MPEG-2 transport packet. More...
 

Namespaces

 ts
 TSDuck namespace, containing all TSDuck classes and functions.
 

Typedefs

typedef std::vector< TSPacket > ts::TSPacketVector
 Vector of packets.
 

Functions

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

Variables

const TSPacket ts::EmptyPacket
 This constant is an empty packet (no payload). More...
 
const TSPacket ts::NullPacket
 This constant is a null (or stuffing) packet.
 

Detailed Description

Basic definition of an MPEG-2 transport packet.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  strm,
const ts::TSPacket pkt 
)
inline

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

Parameters
[in,out]strmA standard stream in output mode.
[in]pktTS packet object.
Returns
A reference to the strm object.