TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::VBIDataDescriptor::Service Class Reference

A service entry. More...

#include <tsVBIDataDescriptor.h>

Collaboration diagram for ts::VBIDataDescriptor::Service:

Public Member Functions

 Service (uint8_t id=0)
 Default constructor.
 
bool hasReservedBytes () const
 Check if a service entry has reserved bytes.
 

Public Attributes

uint8_t data_service_id = 0
 VBI service type.
 
FieldList fields {}
 List of fields.
 
ByteBlock reserved {}
 Reserved bytes, when data_service_id is not any of 1, 2, 4, 5, 6, 7.
 

Detailed Description

A service entry.

Constructor & Destructor Documentation

◆ Service()

ts::VBIDataDescriptor::Service::Service ( uint8_t  id = 0)
inline

Default constructor.

Parameters
[in]idVBI service type.

Member Function Documentation

◆ hasReservedBytes()

bool ts::VBIDataDescriptor::Service::hasReservedBytes ( ) const
inline

Check if a service entry has reserved bytes.

Returns
True if reserved is used. Return false if the list of fields are used.

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