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);
94 for (
int i=0;i<length;i++) {
99 len = strlen(buffer+index);
104 int sepLen1 = strlen(separation1);
105 int sepLen2 = strlen(separation2);
106 bool separated =
false;
107 for (
int i=0;i<length;i++) {
114 if (!separated && size > sepLen2) {
115 strcpy(buffer+index, separation2);
122 len = strlen(buffer+index);
125 if (size > sepLen1) {
126 strcpy(buffer+index, separation1);
132 len = strlen(buffer+index);
135 if (size > sepLen2) {
136 strcpy(buffer+index, separation2);
149 for (
int i=0;i<length;i++) {
159 int size = getMaximumTextPlainLength();
160 char *
text=
new char[size];
161 return getTextPlain(
text, size);
166 for (
int i=0;i<length;i++) {
171 len = strlen(buffer+index);
181 int sepLength=strlen(separation1)+strlen(separation2);
182 for (
int i=0;i<length;i++) {
187 ret+=d->
itemLoop.getLength()+sepLength;
193 int size = getMaximumTextItemizedLength(separation1, separation2);
194 char *
text=
new char[size];
195 return getTextItemized(
text, size, separation1, separation2);
200 int sepLen1 = strlen(separation1);
201 int sepLen2 = strlen(separation2);
202 for (
int i=0;i<length;i++) {
210 len = strlen(buffer+index);
213 if (size > sepLen1) {
214 strcpy(buffer+index, separation1);
220 len = strlen(buffer+index);
223 if (size > sepLen2) {
224 strcpy(buffer+index, separation2);
241 int index=(it.
i & 0x780) >> 7;
244 for (;index<length;index++) {
250 if (d->
itemLoop.getNext(item, it)) {
251 item.
item.
getText(itemDescription, sizeItemDescription);
262 it.
i |= (index & 0xF) << 7;
268 return HILO(
s->reference_service_id);
272 return HILO(
s->reference_event_id);
285 return s->content_nibble_level_1;
289 return s->content_nibble_level_2;
293 return s->user_nibble_1;
297 return s->user_nibble_2;
339 return s->magazine_number;
343 return s->page_number;
347 return HILO(
s->CA_type);
351 return HILO(
s->CA_PID);
362 return s->component_tag;
378 return (
HILO(
s->carousel_id_hi) << 16) |
HILO(
s->carousel_id_lo);
394 return HILO(
s->service_id);
398 return s->service_type;
406 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
410 return HILO(
s->orbital_position);
414 return s->west_east_flag;
418 return s->polarization;
422 return s->modulation_system;
426 return s->modulation_type;
434 return (
HILO(
s->symbol_rate_hi) << 12) | (
s->symbol_rate_lo_1 << 4) |
s->symbol_rate_lo_2;
446 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
454 return s->modulation;
458 return (
HILO(
s->symbol_rate_hi) << 12) | (
s->symbol_rate_lo_1 << 4) |
s->symbol_rate_lo_2;
470 return (
HILO(
s->frequency_hi) << 16) |
HILO(
s->frequency_lo);
478 return s->time_slicing_indicator;
482 return s->mpe_fec_indicator;
490 return s->constellation;
498 return s->code_rate_HP;
502 return s->code_rate_LP;
506 return s->guard_interval;
510 return s->transmission_mode;
514 return s->other_frequency_flag;
522 return s->service_type;
528 providerName.setDataAndOffset(
data+offset,
s->provider_name_length, offset);
539 return HILO(
s->transport_stream_id);
543 return HILO(
s->original_network_id);
547 return HILO(
s->service_id);
555 return HILO(
s->reference_service_id);
563 return s->stream_content;
567 return s->component_type;
571 return s->component_tag;
589 return (
HILO(
s->private_data_specifier_hi) << 16) |
HILO(
s->private_data_specifier_lo);
597 return s->subtitling_type;
601 return HILO(
s->composition_page_id);
605 return HILO(
s->ancillary_page_id);
617 return HILO(
s->new_original_network_id);
621 return HILO(
s->new_transport_stream_id);
625 return HILO(
s->new_service_id);
633 return s->coding_type;
653 if (
s->crid_location == 0) {
654 identifier.setData(
data+(offset-1),
s->crid_length);
657 identifier.setData(
data+(offset-1), 2);
666 return s->crid_location;
685 name.setData(
data+offset,
s->text_length);
689 return s->component_tag;
710 providerName.setDataAndOffset(
data+offset,
s->text_length, offset);
721 return s->country_region_id;
725 return s->local_time_offset_polarity;
729 return (
s->local_time_offset_h << 8) |
s->local_time_offset_m;
733 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);
737 return (
s->next_time_offset_h << 8) |
s->next_time_offset_m;
742 countryCode[0]=
s->country_code1;
743 countryCode[1]=
s->country_code2;
744 countryCode[2]=
s->country_code3;
760 return HILO(
s->transport_stream_id);
764 return HILO(
s->original_network_id);
768 return HILO(
s->service_id);
776 return s1 == NULL ? 0 : s1->hand_over_type;
780 return s1 == NULL ? 0 : s1->origin_type;
784 return s1 == NULL ? 0 :
HILO(s1->id);
793 if (languageLoop.getNext(first, it)) {
820 return ((
s->pil0 & 0x0F) << 1) | ((
s->pil1 & 0x80) >> 7);
824 return (
s->pil1 >> 3) & 0x0F;
828 return ((
s->pil1 & 0x07) << 2) | ((
s->pil2 & 0xC0) >> 6);
832 return s->pil2 & 0x3F;
841 return s->ancillary_data_identifier;
846 input_stream_identifier=0;
848 if (
s->scrambling_sequence_selector)
850 if (
s->multiple_input_stream_flag)
855 return s->scrambling_sequence_selector;
859 return s->multiple_input_stream_flag;
863 return s->backwards_compatibility_indicator;
867 return sss == NULL ? 0 : (sss->scrambling_sequence_index_hi_lo << 16) |
HILO(sss->scrambling_sequence_index_lo);
877 return extended_data_flag;
881 return s->descriptor_tag_extension;
891 return extended_data_flag;
895 return s->descriptor_tag_extension;
903 return HILO(
s->t2_system_id);
907 return extended_data_flag ?
s->siso_miso : -1;
911 return extended_data_flag ?
s->bandwidth : -1;
915 return extended_data_flag ?
s->guard_interval : -1;
919 return extended_data_flag ?
s->transmission_mode : -1;
923 return extended_data_flag ?
s->other_frequency_flag : -1;
927 return extended_data_flag ?
s->tfs_flag : -1;
936 return HILO(
s->service_id);
940 return s->visible_service_flag;
944 return HILO(
s->logical_channel_number);
957 return HILO(
s->service_id);
961 return s->visible_service_flag;
965 return HILO(
s->logical_channel_number);
973 return HILO(
s->original_network_id);
977 return HILO(
s->transport_stream_id);
981 return HILO(
s->service_id);
994 return s->start_time_loop;
1007 return DVBTime::getTime(mjd >> 8, mjd & 0xff,
s->start_time_h,
s->start_time_m,
s->start_time_s);
1019 return HILO(
s->application_type);
1023 return s->AIT_version_number;
1031 return s->service_bound_flag;
1035 return s->visibility;
1039 return s->application_priority;
1048 transportProtocolLabels.setData(
data+offset,
getLength()-offset);
1052 return HILO(
s->application_profile);
1056 return s->version_major;
1060 return s->version_minor;
1064 return s->version_micro;
1086 return HILO(
s->protocol_id);
1090 return s->transport_protocol_label;
1098 return componentTag;
1102 return UrlBase.getText(buffer, size);
1110 if (getProtocolId() == ObjectCarousel) {
1123 }
else if (getProtocolId() == HTTPoverInteractionChannel) {
1138 UrlExtension.setData(
data,
s->url_extension_length);
1162 return HILO(
s->icon_flags);
1174 return location.getText(buffer, size);
1196 return s->profile_idc;
1200 return s->constraint_set0_flag;
1204 return s->constraint_set1_flag;
1208 return s->constraint_set2_flag;
1212 return s->constraint_set3_flag;
1216 return s->constraint_set4_flag;
1220 return s->constraint_set5_flag;
1224 return s->avc_compatible_flags;
1228 return s->level_idc;
1232 return s->avc_still_present;
1236 return s->avc_24_hour_picture_flag;
1240 return s->frame_packing_sei_not_present_flag;
int getAVC24HourPictureFlag() const
u_char icon_locator_length
int getCodeRateHP() const
int getScramblingSequenceSelector() const
int getNewOriginalNetworkId() const
int getVersionMajor() const
u_char service_name_length
void setDataAndOffset(CharArray d, int l, int &offset)
char * getLocation(char *buffer, int size)
int getVersionMicro() const
int getConstraintSet3Flag() const
int getAncillaryDataIdentifier() const
int getApplicationType() const
int getServiceType() const
u_char service_name_length
int getMaximumTextPlainLength()
int getOriginalNetworkId() const
int getConstraintSet1Flag() const
int getWestEastFlag() const
int getT2SystemId() const
time_t getTime(unsigned char date_hi, unsigned char date_lo, unsigned char timehr, unsigned char timemi, unsigned char timese)
int getLocalTimeOffsetPolarity() const
int getUserNibble2() const
int getGuardInterval() const
int getModulation() const
u_char last_descriptor_number
int getNewServiceId() const
int getComponentTag() const
const descr_extended_event * s
int getProtocolLabel() const
int getPrivateDataSpecifier() const
int getReferenceEventId() const
int getOriginalNetworkId() const
int getGuardInterval() const
int getContentNibbleLevel1() const
int getComponentTag() const
int getMultipleInputStreamFlag() const
int getConstraintSet2Flag() const
int getLoopLength() const
int getTimeSlicingIndicator() const
int getVisibleServiceFlag() const
int getConstraintSet4Flag() const
int getHandOverType() const
int getScramblingSequenceIndex() const
int getAncillaryPageId() const
int getSubtitlingType() const
int getTeletextMagazineNumber() const
int getExtensionDescriptorTag() const
int getExtensionDescriptorTag() const
int getOriginalNetworkId() const
int getTransportStreamId() const
int getNextTimeOffset() const
time_t getStartTime(int mjd) const
int getProtocolId() const
int getTeletextType() const
int getTeletextPageNumber() const
int getOriginType() const
int getCridLocation() const
bool checkSize(int offset)
int getLastDescriptorNumber()
int getContentNibbleLevel2() const
int getUserNibble1() const
int getOtherFrequencyFlag() const
int getApplicationProfile() const
int getTransmissionMode() const
int getBackwardsCompatibilityIndicator() const
u_char application_profiles_length
int getComponentTag() const
int getLocalTimeOffset() const
u_char classpath_extension_length
int getCarouselId() const
bool isServiceBound() const
int getReferenceServiceId() const
int getConstellation() const
int getVisibility() const
time_t getTimeOfChange() const
int getTransmissionMode() const
void setData(CharArray d, int l)
int getSymbolRate() const
int getOrbitalPosition() const
int getReferenceServiceId() const
int getApplicationPriority() const
int getConstraintSet5Flag() const
u_char item_description_length
int getMaximumTextItemizedLength(const char *separation1="\t", const char *separation2="\n")
u_char base_directory_length
int getConstraintSet0Flag() const
int getAVCCompatibleFlags() const
int getExtendedDataFlag() const
const unsigned char * getData() const
int getDescriptorNumber()
int getExtendedDataFlag() const
int getStreamContent() const
int getAITVersionNumber() const
bool getOtherFrequency() const
int getCodingType() const
int getModulationType() const
int getCodeRateLP() const
int getSymbolRate() const
int getTransportStream() const
int getLogicalChannelNumber() const
char * getText(const char *separation1="\t", const char *separation2="\n")
int getServiceType() const
LinkageType getLinkageType() const
int getTransportStreamId() const
int getFormatIdentifier() const
int getLogicalChannelNumber() const
int getPolarization() const
int getComponentType() const
StructureLoop< Item > itemLoop
int getComponentTag() const
int getFramePackingSEINotPresentFlag() const
char * getUrlBase(char *buffer, int size)
int getAVCStillPresent() const
char * getTextItemized(const char *separation1="\t", const char *separation2="\n")
void setPointerAndOffset(const T *&p, int &offset) const
int getVersionMinor() const
int getVisibleServiceFlag() const
int getModulationSystem() const
int getMpeFecIndicator() const
int getCompositionPageId() const
int getMaximumTextLength(const char *separation1="\t", const char *separation2="\n")
int getProfileIdc() const
int getNewTransportStreamId() const