235 void setData(
const unsigned char*
data,
int size,
bool doCopy=
true);
253 Section(
const unsigned char *
data,
bool doCopy=
true);
258 static int getLength(
const unsigned char *d);
307 static int getLength(
const unsigned char *d);
354 it.
i+=ret.getLength();
371 it.
i+=ret->getLength();
514 char *
getText(
char *buffer,
int size,
const char **fromCode = NULL);
521 char *
getText(
char *buffer,
char *shortVersion,
int sizeBuffer,
int sizeShortVersion);
524 void decodeText(
char *buffer,
int size,
const char **fromCode = NULL);
525 void decodeText(
char *buffer,
char *shortVersion,
int sizeBuffer,
int sizeShortVersion);
542const char *
getCharacterTable(
const unsigned char *&buffer,
int &length,
bool *isSingleByte = NULL);
545size_t convertCharacterTable(
const char *from,
size_t fromLength,
char *to,
size_t toLength,
const char *fromCode);
CRCSection(const unsigned char *data, bool doCopy=true)
u_int32_t FourBytes(const int index) const
const unsigned char * getData() const
void addOffset(int offset)
u_int16_t TwoBytes(const int index) const
GroupDescriptor ** getDescriptors()
bool Add(GroupDescriptor *d)
bool deleteOnDesctruction
DescriptorGroup(bool deleteOnDesctruction=true)
int getNumberOfDescriptors()
int getDescriptorTags(T *tags)
DescriptorTagDomain domain
Descriptor * getNext(Iterator &it)
Descriptor * createDescriptor(int &i, bool returnUnimplemetedDescriptor)
DescriptorTag getDescriptorTag() const
static Descriptor * getDescriptor(CharArray d, DescriptorTagDomain domain, bool returnUnimplemetedDescriptor)
virtual int getLastDescriptorNumber()=0
virtual int getDescriptorNumber()=0
NumberedSection(const unsigned char *data, bool doCopy=true)
int getTableIdExtension() const
bool getCurrentNextIndicator() const
int getSectionNumber() const
int getLastSectionNumber() const
bool moreThanOneSection() const
int getVersionNumber() const
void setData(const unsigned char *data, int size, bool doCopy=true)
virtual int getLength()=0
bool checkSize(int offset)
TableId getTableId() const
void decodeText(char *buffer, int size, const char **fromCode=NULL)
bool getNext(T &obj, Iterator &it)
T * getNextAsPointer(Iterator &it)
T getNext(Iterator &it) const
bool hasNext(Iterator &it)
T operator[](const int index) const
void setDataAndOffset(CharArray d, int l, int &offset)
void setData(CharArray d, int l)
bool SetSystemCharacterTable(const char *CharacterTable)
@ RunningStatusStartsInAFewSeconds
@ RunningStatusNotRunning
@ AudioTypeHearingImpaired
@ AudioTypeVisualImpairedCommentary
size_t convertCharacterTable(const char *from, size_t fromLength, char *to, size_t toLength, const char *fromCode)
@ TableIdEIT_schedule_Other_last
@ TableIdEIT_schedule_Other_first
@ TableIdEIT_schedule_first
@ TableIdEIT_presentFollowing
@ TableIdEIT_schedule_last
@ TableIdEIT_presentFollowing_other
const char * getCharacterTable(const unsigned char *&buffer, int &length, bool *isSingleByte=NULL)
bool systemCharacterTableIsSingleByte(void)
@ MHP_DVBJApplicationDescriptorTag
@ MHP_ApplicationStorageDescriptorTag
@ MultiplexBufferUtilizationDescriptorTag
@ PreferredNameIdentifierDescriptorTag
@ TargetBackgroundGridDescriptorTag
@ PreferredNameListDescriptorTag
@ CountryAvailabilityDescriptorTag
@ SupplementaryAudioDescriptorTag
@ MaximumBitrateDescriptorTag
@ NetworkNameDescriptorTag
@ NVODReferenceDescriptorTag
@ MHP_SimpleApplicationBoundaryDescriptorTag
@ ShortEventDescriptorTag
@ MultilingualComponentDescriptorTag
@ MHP_DVBHTMLApplicationLocationDescriptorTag
@ MHP_IPv4RoutingDescriptorTag
@ DataStreamAlignmentDescriptorTag
@ TimeShiftedEventDescriptorTag
@ AdaptationFieldDataDescriptorTag
@ ServiceListDescriptorTag
@ DataBroadcastIdDescriptorTag
@ TransportStreamDescriptorTag
@ CableDeliverySystemDescriptorTag
@ ServiceIdentifierDescriptorTag
@ PremiereContentTransmissionDescriptorTag
@ CPIdentifierDescriptorTag
@ ServiceAvailabilityDescriptorTag
@ DataBroadcastDescriptorTag
@ MVCExtensionDescriptorTag
@ EacemStreamIdentifierDescriptorTag
@ VideoStreamDescriptorTag
@ MultilingualNetworkNameDescriptorTag
@ TimeSliceFecIdentifierDescriptorTag
@ MHP_DVBHTMLApplicationDescriptorTag
@ SubtitlingDescriptorTag
@ VBITeletextDescriptorTag
@ SVCExtensionDescriptorTag
@ ApplicationSignallingDescriptorTag
@ RegistrationDescriptorTag
@ LocalTimeOffsetDescriptorTag
@ MHP_ApplicationIconsDescriptorTag
@ MHP_ApplicationDescriptorTag
@ UnimplementedDescriptorTag
@ TerrestrialDeliverySystemDescriptorTag
@ ServiceMoveDescriptorTag
@ MHP_PrefetchDescriptorTag
@ MultilingualServiceNameDescriptorTag
@ BouquetNameDescriptorTag
@ HdSimulcastLogicalChannelDescriptorTag
@ S2SatelliteDeliverySystemDescriptorTag
@ MHP_DVBHTMLApplicationBoundaryDescriptorTag
@ C2DeliverySystemDescriptorTag
@ PartialTransportStreamDescriptorTag
@ CarouselIdentifierDescriptorTag
@ ExtendedEventDescriptorTag
@ CpcmDeliverySignallingDescriptor
@ ContentIdentifierDescriptorTag
@ MHP_DelegatedApplicationDescriptorTag
@ ScramblingDescriptorTag
@ AnnouncementSupportDescriptorTag
@ MHP_ApplicationNameDescriptorTag
@ MHP_SimpleApplicationLocationDescriptorTag
@ ISO639LanguageDescriptorTag
@ SystemClockDescriptorTag
@ FrequencyListDescriptorTag
@ VideoWindowDescriptorTag
@ CaIdentifierDescriptorTag
@ MHP_TransportProtocolDescriptorTag
@ SHDeliverySystemDescriptorTag
@ ECMRepetitionRateDescriptorTag
@ TimeShiftedServiceDescriptorTag
@ ShortSmoothingBufferDescriptorTag
@ PrivateDataIndicatorDescriptorTag
@ AncillaryDataDescriptorTag
@ ParentalRatingDescriptorTag
@ DefaultAuthorityDescriptorTag
@ MHP_ExternalApplicationAuthorisationDescriptorTag
@ CellFrequencyLinkDescriptorTag
@ TargetRegionDescriptorTag
@ LogicalChannelDescriptorTag
@ SmoothingBufferDescriptorTag
@ RelatedContentDescriptorTag
@ ServiceRelocatedDescriptorTag
@ VideoDepthRangeDescriptorTag
@ T2DeliverySystemDescriptorTag
@ PrivateDataSpecifierDescriptorTag
@ AudioStreamDescriptorTag
@ TargetRegionNameDescriptorTag
@ NetworkChangeNotifyDescriptorTag
@ StreamIdentifierDescriptorTag
@ MHP_DVBJApplicationLocationDescriptorTag
@ MHP_IPv6RoutingDescriptorTag
@ MultilingualBouquetNameDescriptorTag
@ EnhancedAC3DescriptorTag
@ SatelliteDeliverySystemDescriptorTag
@ LinkageTypeCaReplacementService
@ LinkageTypeInformationService
@ LinkageTypeTSContainingSsuBatOrNit
@ LinkageTypeSystemSoftwareUpdateService
@ LinkageTypeMobileHandover
@ LinkageTypeTSContainingCompleteNetworkBouquetSi
@ LinkageTypeDataBroadcastService
@ LinkageTypeServiceReplacementService
bool SetOverrideCharacterTable(const char *CharacterTable)