diff options
Diffstat (limited to 'libsi/section.h')
-rw-r--r-- | libsi/section.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/libsi/section.h b/libsi/section.h index 55fc1bab..efca9bb6 100644 --- a/libsi/section.h +++ b/libsi/section.h @@ -6,6 +6,8 @@ * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * + * $Id: section.h 1.2 2003/12/13 10:42:15 kls Exp $ + * * ***************************************************************************/ #ifndef LIBSI_SECTION_H @@ -50,7 +52,6 @@ protected: virtual void Parse(); }; - class PMT : public NumberedSection { public: PMT(const unsigned char *data, bool doCopy=true) : NumberedSection(data, doCopy) {} @@ -108,7 +109,6 @@ public: int getBouquetId() const { return getNetworkId(); } }; - class SDT : public NumberedSection { public: SDT(const unsigned char *data, bool doCopy=true) : NumberedSection(data, doCopy) {} @@ -134,8 +134,7 @@ protected: virtual void Parse(); private: const sdt *s; -}; - +}; class EIT : public NumberedSection { public: @@ -146,7 +145,7 @@ public: int getEventId() const; time_t getStartTime() const; //UTC time_t getDuration() const; - + int getMJD() const; int getStartTimeHour() const; //UTC int getStartTimeMinute() const; //UTC @@ -156,7 +155,7 @@ public: int getDurationSecond() const; RunningStatus getRunningStatus() const; int getFreeCaMode() const; - + DescriptorLoop eventDescriptors; virtual int getLength() { return sizeof(eit_event)+eventDescriptors.getLength(); } protected: @@ -168,7 +167,7 @@ public: int getTransportStreamId() const; int getOriginalNetworkId() const; StructureLoop<Event> eventLoop; - + //true if table conveys present/following information, false if it conveys schedule information bool isPresentFollowing() const; //true if table describes TS on which it is broadcast, false if it describes other TS @@ -179,7 +178,6 @@ private: const eit *s; }; - class TDT : public Section { public: TDT(const unsigned char *data, bool doCopy=true) : Section(data, doCopy) {} @@ -191,7 +189,6 @@ private: const tdt *s; }; - class TOT : public CRCSection { public: TOT(const unsigned char *data, bool doCopy=true) : CRCSection(data, doCopy) {} @@ -204,7 +201,6 @@ private: const tot *s; }; - class RST : public Section { public: RST(const unsigned char *data, bool doCopy=true) : Section(data, doCopy) {} @@ -227,7 +223,6 @@ protected: virtual void Parse(); }; - class AIT : public NumberedSection { public: AIT(const unsigned char *data, bool doCopy=true) : NumberedSection(data, doCopy) {} @@ -252,8 +247,6 @@ protected: virtual void Parse(); }; - - } //end of namespace #endif //LIBSI_TABLE_H |