Go to the documentation of this file.
83 return getMaximumTextPlainLength()+getMaximumTextItemizedLength(separation1, separation2)+strlen(separation2);
87 int size = getMaximumTextLength(separation1, separation2);
88 char *
text=
new char[size];
89 return getText(
text, size, separation1, separation2);
95 const char *fromCode = NULL;
98 for (
int i=0;i<length;i++) {
103 len = strlen(tmpbuf+index);
109 int sepLen1 = strlen(separation1);
110 int sepLen2 = strlen(separation2);
111 bool separated =
false;
112 for (
int i=0;i<length;i++) {
119 if (!separated && size > sepLen2) {
120 strcpy(buffer+index, separation2);
127 len = strlen(buffer+index);
130 if (size > sepLen1) {
131 strcpy(buffer+index, separation1);
137 len = strlen(buffer+index);
140 if (size > sepLen2) {
141 strcpy(buffer+index, separation2);
154 for (
int i=0;i<length;i++) {
164 int size = getMaximumTextPlainLength();
165 char *
text=
new char[size];
166 return getTextPlain(
text, size);
171 for (
int i=0;i<length;i++) {
176 len = strlen(buffer+index);
186 int sepLength=strlen(separation1)+strlen(separation2);
187 for (
int i=0;i<length;i++) {
192 ret+=d->
itemLoop.getLength()+sepLength;
198 int size = getMaximumTextItemizedLength(separation1, separation2);
199 char *
text=
new char[size];
200 return getTextItemized(
text, size, separation1, separation2);
205 int sepLen1 = strlen(separation1);
206 int sepLen2 = strlen(separation2);
207 for (
int i=0;i<length;i++) {
215 len = strlen(buffer+index);
218 if (size > sepLen1) {
219 strcpy(buffer+index, separation1);
225 len = strlen(buffer+index);
228 if (size > sepLen2) {
229 strcpy(buffer+index, separation2);
246 int index=(it.
i & 0x780) >> 7;
249 for (;index<length;index++) {
255 if (d->
itemLoop.getNext(item, it)) {
256 item.
item.
getText(itemDescription, sizeItemDescription);
267 it.
i |= (index & 0xF) << 7;
273 return HILO(
s->reference_service_id);
277 return HILO(
s->reference_event_id);
290 return s->content_nibble_level_1;
294 return s->content_nibble_level_2;
298 return s->user_nibble_1;
302 return s->user_nibble_2;
344 return s->magazine_number;
348 return s->page_number;
352 return HILO(
s->CA_type);
356 return HILO(
s->CA_PID);
367 return s->component_tag;
383 return (
HILO(
s->carousel_id_hi) << 16) |
HILO(
s->carousel_id_lo);
399 return HILO(
s->service_id);
403 return s->service_type;
411 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
415 return HILO(
s->orbital_position);
419 return s->west_east_flag;
423 return s->polarization;
427 return s->modulation_system;
431 return s->modulation_type;
439 return (
HILO(
s->symbol_rate_hi) << 12) | (
s->symbol_rate_lo_1 << 4) |
s->symbol_rate_lo_2;
451 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
459 return s->modulation;
463 return (
HILO(
s->symbol_rate_hi) << 12) | (
s->symbol_rate_lo_1 << 4) |
s->symbol_rate_lo_2;
475 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
483 return s->time_slicing_indicator;
487 return s->mpe_fec_indicator;
495 return s->constellation;
503 return s->code_rate_HP;
507 return s->code_rate_LP;
511 return s->guard_interval;
515 return s->transmission_mode;
519 return s->other_frequency_flag;
527 return s->service_type;
533 providerName.setDataAndOffset(
data+offset,
s->provider_name_length, offset);
544 return HILO(
s->transport_stream_id);
548 return HILO(
s->original_network_id);
552 return HILO(
s->service_id);
560 return HILO(
s->reference_service_id);
568 return s->stream_content;
572 return s->stream_content_ext;
576 return s->component_type;
580 return s->component_tag;
598 return (
HILO(
s->private_data_specifier_hi) << 16) |
HILO(
s->private_data_specifier_lo);
606 return s->subtitling_type;
610 return HILO(
s->composition_page_id);
614 return HILO(
s->ancillary_page_id);
626 return HILO(
s->new_original_network_id);
630 return HILO(
s->new_transport_stream_id);
634 return HILO(
s->new_service_id);
642 return s->coding_type;
662 if (
s->crid_location == 0) {
663 identifier.setData(
data+(offset-1),
s->crid_length);
666 identifier.setData(
data+(offset-1), 2);
675 return s->crid_location;
694 name.setData(
data+offset,
s->text_length);
698 return s->component_tag;
719 providerName.setDataAndOffset(
data+offset,
s->text_length, offset);
730 return s->country_region_id;
734 return s->local_time_offset_polarity;
738 return (
s->local_time_offset_h << 8) |
s->local_time_offset_m;
742 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);
746 return (
s->next_time_offset_h << 8) |
s->next_time_offset_m;
751 countryCode[0]=
s->country_code1;
752 countryCode[1]=
s->country_code2;
753 countryCode[2]=
s->country_code3;
769 return HILO(
s->transport_stream_id);
773 return HILO(
s->original_network_id);
777 return HILO(
s->service_id);
785 return s1 == NULL ? 0 : s1->hand_over_type;
789 return s1 == NULL ? 0 : s1->origin_type;
793 return s1 == NULL ? 0 :
HILO(s1->id);
802 if (languageLoop.getNext(first, it)) {
829 return ((
s->pil0 & 0x0F) << 1) | ((
s->pil1 & 0x80) >> 7);
833 return (
s->pil1 >> 3) & 0x0F;
837 return ((
s->pil1 & 0x07) << 2) | ((
s->pil2 & 0xC0) >> 6);
841 return s->pil2 & 0x3F;
850 return s->ancillary_data_identifier;
855 input_stream_identifier=0;
857 if (
s->scrambling_sequence_selector)
859 if (
s->multiple_input_stream_flag)
864 return s->scrambling_sequence_selector;
868 return s->multiple_input_stream_flag;
872 return s->backwards_compatibility_indicator;
876 return sss == NULL ? 0 : (sss->scrambling_sequence_index_hi_lo << 16) |
HILO(sss->scrambling_sequence_index_lo);
886 return extended_data_flag;
890 return s->descriptor_tag_extension;
900 return extended_data_flag;
904 return s->descriptor_tag_extension;
912 return HILO(
s->t2_system_id);
916 return extended_data_flag ?
s->siso_miso : -1;
920 return extended_data_flag ?
s->bandwidth : -1;
924 return extended_data_flag ?
s->guard_interval : -1;
928 return extended_data_flag ?
s->transmission_mode : -1;
932 return extended_data_flag ?
s->other_frequency_flag : -1;
936 return extended_data_flag ?
s->tfs_flag : -1;
945 return HILO(
s->service_id);
949 return s->visible_service_flag;
953 return HILO(
s->logical_channel_number);
966 return HILO(
s->service_id);
970 return s->visible_service_flag;
974 return HILO(
s->logical_channel_number);
982 return HILO(
s->original_network_id);
986 return HILO(
s->transport_stream_id);
990 return HILO(
s->service_id);
1003 return s->start_time_loop;
1016 return DVBTime::getTime(mjd >> 8, mjd & 0xff,
s->start_time_h,
s->start_time_m,
s->start_time_s);
1028 return HILO(
s->application_type);
1032 return s->AIT_version_number;
1040 return s->service_bound_flag;
1044 return s->visibility;
1048 return s->application_priority;
1057 transportProtocolLabels.setData(
data+offset,
getLength()-offset);
1061 return HILO(
s->application_profile);
1065 return s->version_major;
1069 return s->version_minor;
1073 return s->version_micro;
1095 return HILO(
s->protocol_id);
1099 return s->transport_protocol_label;
1107 return componentTag;
1111 return UrlBase.getText(buffer, size);
1119 if (getProtocolId() == ObjectCarousel) {
1132 }
else if (getProtocolId() == HTTPoverInteractionChannel) {
1147 UrlExtension.setData(
data,
s->url_extension_length);
1171 return HILO(
s->icon_flags);
1183 return location.getText(buffer, size);
1205 return s->profile_idc;
1209 return s->constraint_set0_flag;
1213 return s->constraint_set1_flag;
1217 return s->constraint_set2_flag;
1221 return s->constraint_set3_flag;
1225 return s->constraint_set4_flag;
1229 return s->constraint_set5_flag;
1233 return s->avc_compatible_flags;
1237 return s->level_idc;
1241 return s->avc_still_present;
1245 return s->avc_24_hour_picture_flag;
1249 return s->frame_packing_sei_not_present_flag;
int getOtherFrequencyFlag() const
const descr_extended_event * s
int getTransportStreamId() const
int getComponentTag() const
int getT2SystemId() const
int getReferenceServiceId() const
void setPointerAndOffset(const T *&p, int &offset) const
int getModulationType() const
int getTransmissionMode() const
time_t getTime(unsigned char date_hi, unsigned char date_lo, unsigned char timehr, unsigned char timemi, unsigned char timese)
int getAncillaryDataIdentifier() const
int getCompositionPageId() const
char * getTextItemized(const char *separation1="\t", const char *separation2="\n")
int getLocalTimeOffsetPolarity() const
int getConstraintSet1Flag() const
size_t convertCharacterTable(const char *from, size_t fromLength, char *to, size_t toLength, const char *fromCode)
int getGuardInterval() const
int getAncillaryPageId() const
int getModulation() const
int getNewTransportStreamId() const
int getPolarization() const
u_char classpath_extension_length
int getExtendedDataFlag() const
int getExtensionDescriptorTag() const
int getFormatIdentifier() const
int getConstraintSet4Flag() const
u_char application_profiles_length
int getReferenceServiceId() const
@ LinkageTypeMobileHandover
u_char base_directory_length
int getApplicationType() const
int getExtensionDescriptorTag() const
int getModulationSystem() const
int getMaximumTextPlainLength()
int getTimeSlicingIndicator() const
int getServiceType() const
int getAVC24HourPictureFlag() const
bool checkSize(int offset)
int getVersionMinor() const
int getHandOverType() const
int getOriginalNetworkId() const
int getOrbitalPosition() const
int getScramblingSequenceIndex() const
char * getUrlBase(char *buffer, int size)
int getReferenceEventId() const
int getProtocolId() const
int getConstraintSet3Flag() const
int getOriginType() const
int getUserNibble1() const
int getConstraintSet0Flag() const
int getPrivateDataSpecifier() const
int getLastDescriptorNumber()
int getVisibility() const
u_char service_name_length
int getSubtitlingType() const
int getTeletextType() const
const unsigned char * getData() const
int getTransmissionMode() const
int getConstraintSet2Flag() const
int getMaximumTextItemizedLength(const char *separation1="\t", const char *separation2="\n")
int getBackwardsCompatibilityIndicator() const
int getVersionMicro() const
time_t getTimeOfChange() const
int getTeletextMagazineNumber() const
time_t getStartTime(int mjd) const
int getCridLocation() const
int getLoopLength() const
int getComponentTag() const
int getOriginalNetworkId() const
int getStreamContentExt() const
int getVersionMajor() const
int getGuardInterval() const
int getComponentTag() const
int getLogicalChannelNumber() const
int getLocalTimeOffset() const
int getNewOriginalNetworkId() const
int getAITVersionNumber() const
int getProtocolLabel() const
char * getText(const char *separation1="\t", const char *separation2="\n")
int getNextTimeOffset() const
u_char item_description_length
int getExtendedDataFlag() const
int getConstellation() const
int getStreamContent() const
int getSymbolRate() const
int getServiceType() const
int getApplicationPriority() const
bool getOtherFrequency() const
int getCodeRateLP() const
int getTransportStreamId() const
int getWestEastFlag() const
int getAVCCompatibleFlags() const
StructureLoop< Item > itemLoop
u_char last_descriptor_number
char * getLocation(char *buffer, int size)
int getScramblingSequenceSelector() const
int getDescriptorNumber()
int getContentNibbleLevel1() const
int getUserNibble2() const
int getComponentTag() const
int getCodingType() const
int getSymbolRate() const
u_char service_name_length
void setData(CharArray d, int l)
int getComponentType() const
int getCarouselId() const
void setDataAndOffset(CharArray d, int l, int &offset)
int getMaximumTextLength(const char *separation1="\t", const char *separation2="\n")
bool isServiceBound() const
int getTransportStream() const
int getProfileIdc() const
int getTeletextPageNumber() const
int getAVCStillPresent() const
u_char icon_locator_length
int getContentNibbleLevel2() const
int getConstraintSet5Flag() const
int getMpeFecIndicator() const
int getNewServiceId() const
int getApplicationProfile() const
int getOriginalNetworkId() const
int getFramePackingSEINotPresentFlag() const
int getLogicalChannelNumber() const
int getMultipleInputStreamFlag() const
int getCodeRateHP() const
int getVisibleServiceFlag() const
int getVisibleServiceFlag() const
LinkageType getLinkageType() const