vdr
2.2.0
|
#include <si.h>
Public Member Functions | |
Object () | |
Object (CharArray &d) | |
void | setData (const unsigned char *data, int size, bool doCopy=true) |
CharArray | getData () |
bool | isValid () |
virtual int | getLength ()=0 |
![]() | |
void | CheckParse () |
Protected Member Functions | |
void | setData (CharArray &d) |
bool | checkSize (int offset) |
![]() | |
Parsable () | |
virtual | ~Parsable () |
virtual void | Parse ()=0 |
Protected Attributes | |
CharArray | data |
Friends | |
template<class T > | |
class | StructureLoop |
|
protected |
Definition at line 37 of file si.c.
References SI::CharArray::checkSize(), and data.
Referenced by SI::DescriptorLoop::createDescriptor(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNext(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNextAsPointer(), SI::CaDescriptor::Parse(), SI::LinkageDescriptor::Parse(), SI::RegistrationDescriptor::Parse(), SI::AVCDescriptor::Parse(), SI::VariableLengthPart::setData(), and SI::VariableLengthPart::setDataAndOffset().
|
pure virtual |
Implemented in SI::MHP_DVBJApplicationDescriptor::ApplicationEntry, SI::MHP_TransportProtocolDescriptor::UrlExtensionEntry, SI::MHP_ApplicationNameDescriptor::NameEntry, SI::MHP_ApplicationDescriptor::Profile, SI::ApplicationSignallingDescriptor::ApplicationEntryDescriptor, SI::PremiereContentTransmissionDescriptor::StartDayEntry, SI::PremiereContentTransmissionDescriptor::StartDayEntry::StartTimeEntry, SI::HdSimulcastLogicalChannelDescriptor::HdSimulcastLogicalChannel, SI::LogicalChannelDescriptor::LogicalChannel, SI::ISO639LanguageDescriptor::Language, SI::LocalTimeOffsetDescriptor::LocalTimeOffset, SI::MultilingualServiceNameDescriptor::Name, SI::MultilingualNameDescriptor::Name, SI::ContentIdentifierDescriptor::Identifier, SI::SubtitlingDescriptor::Subtitling, SI::Descriptor, SI::VariableLengthPart, SI::NVODReferenceDescriptor::Service, SI::Section, SI::AIT::Application, SI::RST::RunningInfo, SI::ServiceListDescriptor::Service, SI::EIT::Event, SI::SDT::Service, SI::TeletextDescriptor::Teletext, SI::ParentalRatingDescriptor::Rating, SI::NIT::TransportStream, SI::ContentDescriptor::Nibble, SI::PMT::Stream, SI::ExtendedEventDescriptor::Item, and SI::PAT::Association.
Referenced by SI::String::decodeText(), SI::TypeLoop< SixteenBit >::getCount(), SI::DescriptorLoop::getDescriptorTags(), SI::Section::getLength(), SI::Descriptor::getLength(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNext(), SI::DescriptorLoop::getNext(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNextAsPointer(), SI::DescriptorLoop::getNumberOfDescriptors(), SI::String::getText(), SI::TypeLoop< SixteenBit >::hasNext(), SI::CRCSection::isCRCValid(), isValid(), and SI::Section::Section().
|
inline |
Definition at line 238 of file si.h.
References getLength().
Referenced by SI::CRCSection::CheckCRCAndParse(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNext(), SI::DescriptorLoop::getNext(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNextAsPointer(), and SI::TypeLoop< SixteenBit >::hasNext().
void SI::Object::setData | ( | const unsigned char * | data, |
int | size, | ||
bool | doCopy = true |
||
) |
Definition at line 29 of file si.c.
References SI::CharArray::assign(), and data.
Referenced by SI::Descriptor::getDescriptor(), SI::Section::Section(), SI::VariableLengthPart::setData(), and SI::VariableLengthPart::setDataAndOffset().
|
protected |
|
friend |
|
protected |
Definition at line 241 of file si.h.
Referenced by checkSize(), SI::DescriptorLoop::createDescriptor(), SI::String::decodeText(), SI::NumberedSection::getCurrentNextIndicator(), getData(), SI::Descriptor::getDescriptorTag(), SI::DescriptorLoop::getDescriptorTags(), SI::NumberedSection::getLastSectionNumber(), SI::Section::getLength(), SI::Descriptor::getLength(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNext(), SI::DescriptorLoop::getNext(), SI::StructureLoop< SI::MHP_ApplicationDescriptor::Profile >::getNextAsPointer(), SI::DescriptorLoop::getNumberOfDescriptors(), SI::AIT::Application::getOrganisationId(), SI::NumberedSection::getSectionNumber(), SI::Section::getTableId(), SI::NumberedSection::getTableIdExtension(), SI::String::getText(), SI::NumberedSection::getVersionNumber(), SI::CRCSection::isCRCValid(), SI::TypeLoop< SixteenBit >::operator[](), SI::ShortEventDescriptor::Parse(), SI::PAT::Association::Parse(), SI::ExtendedEventDescriptor::Item::Parse(), SI::PAT::Parse(), SI::ExtendedEventDescriptor::Parse(), SI::CAT::Parse(), SI::PMT::Stream::Parse(), SI::PMT::Parse(), SI::TimeShiftedEventDescriptor::Parse(), SI::TSDT::Parse(), SI::ContentDescriptor::Nibble::Parse(), SI::NIT::TransportStream::Parse(), SI::ContentDescriptor::Parse(), SI::NIT::Parse(), SI::ParentalRatingDescriptor::Rating::Parse(), SI::ParentalRatingDescriptor::Parse(), SI::TeletextDescriptor::Teletext::Parse(), SI::SDT::Service::Parse(), SI::TeletextDescriptor::Parse(), SI::SDT::Parse(), SI::CaDescriptor::Parse(), SI::StreamIdentifierDescriptor::Parse(), SI::NetworkNameDescriptor::Parse(), SI::EIT::Event::Parse(), SI::CaIdentifierDescriptor::Parse(), SI::CarouselIdentifierDescriptor::Parse(), SI::EIT::Parse(), SI::ServiceListDescriptor::Service::Parse(), SI::TDT::Parse(), SI::ServiceListDescriptor::Parse(), SI::TOT::Parse(), SI::SatelliteDeliverySystemDescriptor::Parse(), SI::RST::RunningInfo::Parse(), SI::CableDeliverySystemDescriptor::Parse(), SI::RST::Parse(), SI::AIT::Application::Parse(), SI::TerrestrialDeliverySystemDescriptor::Parse(), SI::AIT::Parse(), SI::ServiceDescriptor::Parse(), SI::PremiereCIT::Parse(), SI::NVODReferenceDescriptor::Service::Parse(), SI::NVODReferenceDescriptor::Parse(), SI::TimeShiftedServiceDescriptor::Parse(), SI::ComponentDescriptor::Parse(), SI::PrivateDataSpecifierDescriptor::Parse(), SI::SubtitlingDescriptor::Subtitling::Parse(), SI::SubtitlingDescriptor::Parse(), SI::ServiceMoveDescriptor::Parse(), SI::FrequencyListDescriptor::Parse(), SI::ServiceIdentifierDescriptor::Parse(), SI::ContentIdentifierDescriptor::Identifier::Parse(), SI::ContentIdentifierDescriptor::Parse(), SI::DefaultAuthorityDescriptor::Parse(), SI::MultilingualNameDescriptor::Name::Parse(), SI::MultilingualNameDescriptor::Parse(), SI::MultilingualComponentDescriptor::Parse(), SI::MultilingualServiceNameDescriptor::Name::Parse(), SI::MultilingualServiceNameDescriptor::Parse(), SI::LocalTimeOffsetDescriptor::LocalTimeOffset::Parse(), SI::LocalTimeOffsetDescriptor::Parse(), SI::LinkageDescriptor::Parse(), SI::ISO639LanguageDescriptor::Language::Parse(), SI::ISO639LanguageDescriptor::Parse(), SI::PDCDescriptor::Parse(), SI::AncillaryDataDescriptor::Parse(), SI::S2SatelliteDeliverySystemDescriptor::Parse(), SI::ExtensionDescriptor::Parse(), SI::T2DeliverySystemDescriptor::Parse(), SI::LogicalChannelDescriptor::LogicalChannel::Parse(), SI::LogicalChannelDescriptor::Parse(), SI::HdSimulcastLogicalChannelDescriptor::HdSimulcastLogicalChannel::Parse(), SI::HdSimulcastLogicalChannelDescriptor::Parse(), SI::PremiereContentTransmissionDescriptor::StartDayEntry::StartTimeEntry::Parse(), SI::PremiereContentTransmissionDescriptor::StartDayEntry::Parse(), SI::PremiereContentTransmissionDescriptor::Parse(), SI::ApplicationSignallingDescriptor::ApplicationEntryDescriptor::Parse(), SI::ApplicationSignallingDescriptor::Parse(), SI::MHP_ApplicationDescriptor::Profile::Parse(), SI::MHP_ApplicationDescriptor::Parse(), SI::MHP_ApplicationNameDescriptor::NameEntry::Parse(), SI::MHP_ApplicationNameDescriptor::Parse(), SI::MHP_TransportProtocolDescriptor::UrlExtensionEntry::Parse(), SI::MHP_TransportProtocolDescriptor::Parse(), SI::MHP_DVBJApplicationDescriptor::ApplicationEntry::Parse(), SI::MHP_DVBJApplicationDescriptor::Parse(), SI::MHP_DVBJApplicationLocationDescriptor::Parse(), SI::MHP_ApplicationIconsDescriptor::Parse(), SI::MHP_SimpleApplicationLocationDescriptor::Parse(), SI::RegistrationDescriptor::Parse(), SI::AVCDescriptor::Parse(), and setData().