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);
542 const char *
getCharacterTable(
const unsigned char *&buffer,
int &length,
bool *isSingleByte = NULL);
545 size_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
void addOffset(int offset)
u_int16_t TwoBytes(const int index) const
const unsigned char * getData() const
bool Add(GroupDescriptor *d)
bool deleteOnDesctruction
GroupDescriptor ** getDescriptors()
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)
T * getNextAsPointer(Iterator &it)
bool getNext(T &obj, 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)
const char * getCharacterTable(const unsigned char *&buffer, int &length, bool *isSingleByte)
bool SetSystemCharacterTable(const char *CharacterTable)
@ RunningStatusNotRunning
@ RunningStatusStartsInAFewSeconds
@ AudioTypeVisualImpairedCommentary
@ AudioTypeHearingImpaired
size_t convertCharacterTable(const char *from, size_t fromLength, char *to, size_t toLength, const char *fromCode)
@ TableIdEIT_schedule_Other_last
@ TableIdEIT_schedule_last
@ TableIdEIT_schedule_first
@ TableIdEIT_presentFollowing
@ TableIdEIT_presentFollowing_other
@ TableIdEIT_schedule_Other_first
bool systemCharacterTableIsSingleByte(void)
@ AudioStreamDescriptorTag
@ PreferredNameListDescriptorTag
@ ECMRepetitionRateDescriptorTag
@ MHP_PrefetchDescriptorTag
@ MHP_SimpleApplicationLocationDescriptorTag
@ StreamIdentifierDescriptorTag
@ VideoWindowDescriptorTag
@ MultiplexBufferUtilizationDescriptorTag
@ RelatedContentDescriptorTag
@ MultilingualComponentDescriptorTag
@ NVODReferenceDescriptorTag
@ EnhancedAC3DescriptorTag
@ ServiceMoveDescriptorTag
@ SupplementaryAudioDescriptorTag
@ PrivateDataSpecifierDescriptorTag
@ ScramblingDescriptorTag
@ NetworkChangeNotifyDescriptorTag
@ SVCExtensionDescriptorTag
@ ServiceRelocatedDescriptorTag
@ PartialTransportStreamDescriptorTag
@ CountryAvailabilityDescriptorTag
@ TargetRegionDescriptorTag
@ PreferredNameIdentifierDescriptorTag
@ CarouselIdentifierDescriptorTag
@ DataBroadcastDescriptorTag
@ ExtendedEventDescriptorTag
@ VBITeletextDescriptorTag
@ S2SatelliteDeliverySystemDescriptorTag
@ MHP_DVBHTMLApplicationDescriptorTag
@ CableDeliverySystemDescriptorTag
@ ShortEventDescriptorTag
@ PrivateDataIndicatorDescriptorTag
@ UnimplementedDescriptorTag
@ ServiceAvailabilityDescriptorTag
@ MaximumBitrateDescriptorTag
@ C2DeliverySystemDescriptorTag
@ CaIdentifierDescriptorTag
@ TransportStreamDescriptorTag
@ HdSimulcastLogicalChannelDescriptorTag
@ VideoDepthRangeDescriptorTag
@ MHP_DelegatedApplicationDescriptorTag
@ TimeShiftedServiceDescriptorTag
@ ServiceIdentifierDescriptorTag
@ MultilingualNetworkNameDescriptorTag
@ MHP_ApplicationIconsDescriptorTag
@ CPIdentifierDescriptorTag
@ ShortSmoothingBufferDescriptorTag
@ PremiereContentTransmissionDescriptorTag
@ DataStreamAlignmentDescriptorTag
@ LocalTimeOffsetDescriptorTag
@ TargetBackgroundGridDescriptorTag
@ EacemStreamIdentifierDescriptorTag
@ MultilingualServiceNameDescriptorTag
@ MHP_ExternalApplicationAuthorisationDescriptorTag
@ MHP_TransportProtocolDescriptorTag
@ MHP_DVBHTMLApplicationBoundaryDescriptorTag
@ VideoStreamDescriptorTag
@ MVCExtensionDescriptorTag
@ MHP_SimpleApplicationBoundaryDescriptorTag
@ TargetRegionNameDescriptorTag
@ SubtitlingDescriptorTag
@ ISO639LanguageDescriptorTag
@ T2DeliverySystemDescriptorTag
@ DefaultAuthorityDescriptorTag
@ CpcmDeliverySignallingDescriptor
@ MHP_ApplicationStorageDescriptorTag
@ AncillaryDataDescriptorTag
@ MHP_DVBJApplicationLocationDescriptorTag
@ TimeSliceFecIdentifierDescriptorTag
@ MultilingualBouquetNameDescriptorTag
@ SystemClockDescriptorTag
@ ServiceListDescriptorTag
@ MHP_IPv4RoutingDescriptorTag
@ MHP_IPv6RoutingDescriptorTag
@ ParentalRatingDescriptorTag
@ DataBroadcastIdDescriptorTag
@ SHDeliverySystemDescriptorTag
@ NetworkNameDescriptorTag
@ RegistrationDescriptorTag
@ SatelliteDeliverySystemDescriptorTag
@ CellFrequencyLinkDescriptorTag
@ SmoothingBufferDescriptorTag
@ MHP_DVBJApplicationDescriptorTag
@ AdaptationFieldDataDescriptorTag
@ MHP_DVBHTMLApplicationLocationDescriptorTag
@ MHP_ApplicationDescriptorTag
@ BouquetNameDescriptorTag
@ FrequencyListDescriptorTag
@ ApplicationSignallingDescriptorTag
@ TerrestrialDeliverySystemDescriptorTag
@ TimeShiftedEventDescriptorTag
@ LogicalChannelDescriptorTag
@ AnnouncementSupportDescriptorTag
@ MHP_ApplicationNameDescriptorTag
@ ContentIdentifierDescriptorTag
@ LinkageTypeTSContainingCompleteNetworkBouquetSi
@ LinkageTypeServiceReplacementService
@ LinkageTypeCaReplacementService
@ LinkageTypeMobileHandover
@ LinkageTypeDataBroadcastService
@ LinkageTypeTSContainingSsuBatOrNit
@ LinkageTypeInformationService
@ LinkageTypeSystemSoftwareUpdateService
bool SetOverrideCharacterTable(const char *CharacterTable)