#ifndef PROGRAMASSOCIATION_H #define PROGRAMASSOCIATION_H #include "table.h" #include struct ProgramAssociationSection { SiTableHeader header; u_char data[]; } __attribute__((packed)); typedef std::map ProgramAssociationMap; typedef boost::shared_ptr ProgramAssociationMapPtr; class SiProgramAssociationParser : public SiTableParser { protected: bool CheckTableId(u_char tableId) const; void ParseSiTable(const struct ProgramAssociationSection * pas, ProgramAssociationMapPtr); }; #endif