SI::PAT pat; if (database->retrievePat(pat)) addNext(pat); }
if ( (originalNetworkId == -1 && transportStreamId == -1) || (originalNetworkId == database->getOriginalNetworkId() && ( transportStreamId == -1 || transportStreamId == database->getTransportStreamId()) ) ) { SI::PAT pat; if (database->retrievePat(pat)) addNext(pat); } else {
namespace DvbSi {/*** Filter Requests ***/PMTServicesRequest::PMTServicesRequest(Database::Ptr db, Listener *listener, IdTracker *tr, RetrieveMode mode, void *ad) : TableFilterRequest<PMT>(db, tr, listener, ad),   currentPid(0){   //mode is currently ignored   SI::PAT pat;   if (database->retrievePat(pat))      addNext(pat);}