sample/sample-extension/src/fooDescriptor.cpp
void foo::FooDescriptor::DisplayDescriptor(ts::TablesDisplay& display, ts::DID did, const uint8_t* payload, size_t size, int indent, ts::TID tid, ts::PDS pds)
{
    std::ostream& strm(display.duck().out());
    const std::string margin(indent, ' ');
    strm << margin << "Name: \"" << display.duck().fromDVB(payload, size) << "\"" << std::endl;
}
//----------------------------------------------------------------------------
// Static method to display a descriptor.
//----------------------------------------------------------------------------
Static method to display a descriptor.
Static method to display a descriptor .
void foo::FooDescriptor::DisplayDescriptor(ts::TablesDisplay& display, ts::DID did, const uint8_t* payload, size_t size, int indent, ts::TID tid, ts::PDS pds)
{
    std::ostream& strm(display.duck().out());
    const std::string margin(indent, ' ');
    strm << margin << "Name: \"" << display.duck().fromDVB(payload, size) << "\"" << std::endl;
}
void foo :: FooDescriptor :: DisplayDescriptor ( ts :: TablesDisplay & display , ts :: DID did , const uint8_t * payload , size_t size , int indent , ts :: TID tid , ts :: PDS pds ) { std :: ostream & strm ( display . duck ( ) . out ( ) ) ; const std :: string margin ( indent , ' ' ) ; strm << margin << " \" " << display . duck ( ) . fromDVB ( payload , size ) << " \" " << std :: endl ; }
Static method to display a descriptor.
Static method to display a descriptor .