vdr  2.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
SI::Object Class Referenceabstract

#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
 
- Public Member Functions inherited from SI::Parsable
void CheckParse ()
 

Protected Member Functions

void setData (CharArray &d)
 
bool checkSize (int offset)
 
- Protected Member Functions inherited from SI::Parsable
 Parsable ()
 
virtual ~Parsable ()
 
virtual void Parse ()=0
 

Protected Attributes

CharArray data
 

Friends

template<class T >
class StructureLoop
 

Detailed Description

Definition at line 230 of file si.h.

Constructor & Destructor Documentation

SI::Object::Object ( )

Definition at line 23 of file si.c.

SI::Object::Object ( CharArray d)

Definition at line 26 of file si.c.

Member Function Documentation

bool SI::Object::checkSize ( int  offset)
protected
CharArray SI::Object::getData ( )
inline

Definition at line 236 of file si.h.

References data.

virtual int SI::Object::getLength ( )
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().

bool SI::Object::isValid ( )
inline
void SI::Object::setData ( const unsigned char *  data,
int  size,
bool  doCopy = true 
)
void SI::Object::setData ( CharArray d)
protected

Definition at line 33 of file si.c.

References data.

Friends And Related Function Documentation

template<class T >
friend class StructureLoop
friend

Definition at line 243 of file si.h.

Member Data Documentation

CharArray SI::Object::data
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().


The documentation for this class was generated from the following files: