src/libtsduck/dtv/tables/tsSDT.cpp
uint8_t ts::SDT::Service::serviceType(DuckContext& duck) const
{
    ServiceDescriptor sd;
    return locateServiceDescriptor(duck, sd) ? sd.service_type : 0; // 0 is a "reserved" service_type value
}
//----------------------------------------------------------------------------
// Return the service type, service name and provider name (all found from
// the first DVB "service descriptor", if there is one in the list).
//----------------------------------------------------------------------------
Return the service type, service name and provider name (all found from
the first DVB "service descriptor", if there is one in the list).
Return the service type service name and provider name ( all found from the first DVB " service descriptor " if there is one in the list ) .
uint8_t ts::SDT::Service::serviceType(DuckContext& duck) const
{
    ServiceDescriptor sd;
    return locateServiceDescriptor(duck, sd) ? sd.service_type : 0; 
}
uint8_t ts :: SDT :: Service :: serviceType ( DuckContext & duck ) const { ServiceDescriptor sd ; return locateServiceDescriptor ( duck , sd ) ? sd . service_type : 0 ; }
Return the service type, service name and provider name (all found from
the first DVB "service descriptor", if there is one in the list).
Return the service type service name and provider name ( all found from the first DVB " service descriptor " if there is one in the list ) .
// 0 is a "reserved" service_type value