SASC
DVBSoftCAM

SI::LocalTimeOffsetDescriptor::LocalTimeOffset Class Reference

#include <descriptor.h>

Inheritance diagram for SI::LocalTimeOffsetDescriptor::LocalTimeOffset:

List of all members.

Public Member Functions

virtual int getLength ()
int getCountryId () const
int getLocalTimeOffsetPolarity () const
int getLocalTimeOffset () const
time_t getTimeOfChange () const
int getNextTimeOffset () const

Public Attributes

char countryCode [4]

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 411 of file descriptor.h.


Member Function Documentation

int SI::LocalTimeOffsetDescriptor::LocalTimeOffset::getCountryId ( ) const

Definition at line 673 of file descriptor.c.

                                                                 {
   return s->country_region_id;
}
virtual int SI::LocalTimeOffsetDescriptor::LocalTimeOffset::getLength ( ) [inline, virtual]

Implements SI::Object.

Definition at line 414 of file descriptor.h.

:
      virtual void Parse();
int SI::LocalTimeOffsetDescriptor::LocalTimeOffset::getLocalTimeOffset ( ) const

Definition at line 681 of file descriptor.c.

                                                                       {
   return (s->local_time_offset_h << 8) | s->local_time_offset_m;
}
int SI::LocalTimeOffsetDescriptor::LocalTimeOffset::getLocalTimeOffsetPolarity ( ) const

Definition at line 677 of file descriptor.c.

                                                                               {
   return s->local_time_offset_polarity;
}
int SI::LocalTimeOffsetDescriptor::LocalTimeOffset::getNextTimeOffset ( ) const

Definition at line 689 of file descriptor.c.

                                                                      {
   return (s->next_time_offset_h << 8) | s->next_time_offset_m;
}
time_t SI::LocalTimeOffsetDescriptor::LocalTimeOffset::getTimeOfChange ( ) const

Definition at line 685 of file descriptor.c.

References SI::DVBTime::getTime().

                                                                       {
   return DVBTime::getTime(s->time_of_change_mjd_hi, s->time_of_change_mjd_lo, s->time_of_change_time_h, s->time_of_change_time_m, s->time_of_change_time_s);
}
void SI::LocalTimeOffsetDescriptor::LocalTimeOffset::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 693 of file descriptor.c.

References SI::Object::data, and SI::CharArray::getData().

                                                     {
   s=data.getData<const local_time_offset_entry>();
   countryCode[0]=s->country_code1;
   countryCode[1]=s->country_code2;
   countryCode[2]=s->country_code3;
   countryCode[3]=0;
}

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