SASC-NG
DVBSoftCAM

SI::PremiereCIT Class Reference

#include <section.h>

Inheritance diagram for SI::PremiereCIT:

List of all members.

Public Member Functions

 PremiereCIT (const unsigned char *data, bool doCopy=true)
 PremiereCIT ()
int getContentId () const
time_t getDuration () const

Public Attributes

PCIT_DescriptorLoop eventDescriptors

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 265 of file section.h.


Constructor & Destructor Documentation

SI::PremiereCIT::PremiereCIT ( const unsigned char *  data,
bool  doCopy = true 
) [inline]

Definition at line 267 of file section.h.

: NumberedSection(data, doCopy) {}
SI::PremiereCIT::PremiereCIT ( ) [inline]

Definition at line 268 of file section.h.

{}

Member Function Documentation

int SI::PremiereCIT::getContentId ( ) const

Definition at line 352 of file section.c.

References HILO.

                                    {
   return (HILO(s->contentId_hi) << 16) | HILO(s->contentId_lo);
}
time_t SI::PremiereCIT::getDuration ( ) const

Definition at line 356 of file section.c.

References SI::DVBTime::getDuration().

                                      {
   return DVBTime::getDuration(s->duration_h, s->duration_m, s->duration_s);
}
void SI::PremiereCIT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 346 of file section.c.

References SI::Object::data, HILO, and SI::CharArray::setPointerAndOffset().

                        {
   int offset=0;
   data.setPointerAndOffset<const pcit>(s, offset);
   eventDescriptors.setData(data+offset, HILO(s->descriptors_loop_length));
}

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines