SI::Object Class Reference

#include <si.h>

Inheritance diagram for SI::Object:

Inheritance graph
[legend]
Collaboration diagram for SI::Object:

Collaboration graph
[legend]

List of all members.

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

Protected Member Functions

void setData (CharArray &d)
bool checkSize (int offset)

Protected Attributes

CharArray data

Friends

class StructureLoop


Detailed Description

Definition at line 185 of file si.h.


Constructor & Destructor Documentation

SI::Object::Object (  ) 

Definition at line 19 of file si.c.

SI::Object::Object ( CharArray d  ) 

Definition at line 22 of file si.c.


Member Function Documentation

void SI::Object::setData ( const unsigned char *  data,
int  size,
bool  doCopy = true 
)

Definition at line 25 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().

Here is the call graph for this function:

CharArray SI::Object::getData (  )  [inline]

Definition at line 191 of file si.h.

bool SI::Object::isValid (  )  [inline]

Definition at line 193 of file si.h.

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< uint16_t >::hasNext().

virtual int SI::Object::getLength (  )  [pure virtual]

Implemented in SI::ExtendedEventDescriptor::Item, SI::ContentDescriptor::Nibble, SI::ParentalRatingDescriptor::Rating, SI::TeletextDescriptor::Teletext, SI::ServiceListDescriptor::Service, SI::NVODReferenceDescriptor::Service, SI::SubtitlingDescriptor::Subtitling, SI::MultilingualNameDescriptor::Name, SI::MultilingualServiceNameDescriptor::Name, SI::LocalTimeOffsetDescriptor::LocalTimeOffset, SI::ISO639LanguageDescriptor::Language, SI::PremiereContentTransmissionDescriptor::StartDayEntry::StartTimeEntry, SI::PremiereContentTransmissionDescriptor::StartDayEntry, SI::ApplicationSignallingDescriptor::ApplicationEntryDescriptor, SI::MHP_ApplicationDescriptor::Profile, SI::MHP_ApplicationNameDescriptor::NameEntry, SI::MHP_DVBJApplicationDescriptor::ApplicationEntry, SI::PAT::Association, SI::PMT::Stream, SI::NIT::TransportStream, SI::SDT::Service, SI::EIT::Event, SI::RST::RunningInfo, SI::AIT::Application, SI::Section, SI::VariableLengthPart, and SI::Descriptor.

void SI::Object::setData ( CharArray d  )  [protected]

Definition at line 29 of file si.c.

References data.

bool SI::Object::checkSize ( int  offset  )  [protected]

Definition at line 33 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::LinkageDescriptor::Parse(), SI::CaDescriptor::Parse(), SI::VariableLengthPart::setData(), and SI::VariableLengthPart::setDataAndOffset().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class StructureLoop [friend]

Definition at line 198 of file si.h.


Member Data Documentation

CharArray SI::Object::data [protected]

Definition at line 196 of file si.h.

Referenced by checkSize(), SI::DescriptorLoop::createDescriptor(), SI::String::decodeText(), SI::NumberedSection::getCurrentNextIndicator(), SI::Descriptor::getDescriptorTag(), SI::DescriptorLoop::getDescriptorTags(), SI::NumberedSection::getLastSectionNumber(), SI::Descriptor::getLength(), SI::Section::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< uint16_t >::operator[](), SI::PremiereCIT::Parse(), SI::AIT::Application::Parse(), SI::AIT::Parse(), SI::RST::RunningInfo::Parse(), SI::RST::Parse(), SI::TOT::Parse(), SI::TDT::Parse(), SI::EIT::Event::Parse(), SI::EIT::Parse(), SI::SDT::Service::Parse(), SI::SDT::Parse(), SI::NIT::TransportStream::Parse(), SI::NIT::Parse(), SI::TSDT::Parse(), SI::PMT::Stream::Parse(), SI::PMT::Parse(), SI::CAT::Parse(), SI::PAT::Association::Parse(), SI::PAT::Parse(), SI::MHP_ApplicationIconsDescriptor::Parse(), SI::MHP_DVBJApplicationLocationDescriptor::Parse(), SI::MHP_DVBJApplicationDescriptor::ApplicationEntry::Parse(), SI::MHP_DVBJApplicationDescriptor::Parse(), SI::MHP_TransportProtocolDescriptor::Parse(), SI::MHP_ApplicationNameDescriptor::NameEntry::Parse(), SI::MHP_ApplicationNameDescriptor::Parse(), SI::MHP_ApplicationDescriptor::Profile::Parse(), SI::MHP_ApplicationDescriptor::Parse(), SI::ApplicationSignallingDescriptor::ApplicationEntryDescriptor::Parse(), SI::ApplicationSignallingDescriptor::Parse(), SI::PremiereContentTransmissionDescriptor::StartDayEntry::StartTimeEntry::Parse(), SI::PremiereContentTransmissionDescriptor::StartDayEntry::Parse(), SI::PremiereContentTransmissionDescriptor::Parse(), SI::AncillaryDataDescriptor::Parse(), SI::PDCDescriptor::Parse(), SI::ISO639LanguageDescriptor::Language::Parse(), SI::ISO639LanguageDescriptor::Parse(), SI::LinkageDescriptor::Parse(), SI::LocalTimeOffsetDescriptor::LocalTimeOffset::Parse(), SI::LocalTimeOffsetDescriptor::Parse(), SI::MultilingualServiceNameDescriptor::Name::Parse(), SI::MultilingualServiceNameDescriptor::Parse(), SI::MultilingualComponentDescriptor::Parse(), SI::MultilingualNameDescriptor::Name::Parse(), SI::MultilingualNameDescriptor::Parse(), SI::ServiceIdentifierDescriptor::Parse(), SI::FrequencyListDescriptor::Parse(), SI::ServiceMoveDescriptor::Parse(), SI::SubtitlingDescriptor::Subtitling::Parse(), SI::SubtitlingDescriptor::Parse(), SI::PrivateDataSpecifierDescriptor::Parse(), SI::ComponentDescriptor::Parse(), SI::TimeShiftedServiceDescriptor::Parse(), SI::NVODReferenceDescriptor::Service::Parse(), SI::NVODReferenceDescriptor::Parse(), SI::ServiceDescriptor::Parse(), SI::TerrestrialDeliverySystemDescriptor::Parse(), SI::CableDeliverySystemDescriptor::Parse(), SI::SatelliteDeliverySystemDescriptor::Parse(), SI::ServiceListDescriptor::Service::Parse(), SI::ServiceListDescriptor::Parse(), SI::CarouselIdentifierDescriptor::Parse(), SI::CaIdentifierDescriptor::Parse(), SI::NetworkNameDescriptor::Parse(), SI::StreamIdentifierDescriptor::Parse(), SI::CaDescriptor::Parse(), SI::TeletextDescriptor::Teletext::Parse(), SI::TeletextDescriptor::Parse(), SI::ParentalRatingDescriptor::Rating::Parse(), SI::ParentalRatingDescriptor::Parse(), SI::ContentDescriptor::Nibble::Parse(), SI::ContentDescriptor::Parse(), SI::TimeShiftedEventDescriptor::Parse(), SI::ExtendedEventDescriptor::Item::Parse(), SI::ExtendedEventDescriptor::Parse(), SI::ShortEventDescriptor::Parse(), and setData().


The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:34:57 2007 for VDR by  doxygen 1.5.3-20071008