QtlMovie 1.12 (A specialized FFmpeg front-end)
QtsTeletextDescriptor Class Reference

The DVD-defined teletext_descriptor. More...

Inheritance diagram for QtsTeletextDescriptor:
QtsAbstractDescriptor

Classes

struct  Entry
 Describe a teletext entry in the descriptor. More...
 

Public Types

typedef QList< EntryEntryList
 Describe a list of teletext entries in the descriptor. More...
 

Public Member Functions

 QtsTeletextDescriptor ()
 Default constructor. More...
 
 QtsTeletextDescriptor (const QtsDescriptor &desc)
 Constructor from a binary descriptor. More...
 
virtual bool deserialize (const QtsDescriptor &descriptor) Q_DECL_OVERRIDE
 This abstract method deserializes a binary descriptor. More...
 
virtual bool serialize (QtsDescriptor &descriptor) const Q_DECL_OVERRIDE
 This abstract method serializes a descriptor. More...
 
- Public Member Functions inherited from QtsAbstractDescriptor
virtual ~QtsAbstractDescriptor ()
 Virtual destructor. More...
 
void invalidate ()
 Invalidate the descriptor. More...
 
bool isValid () const
 Check if the descriptor is valid. More...
 
QtsDescTag tag () const
 Get the descriptor tag. More...
 

Public Attributes

EntryList entries
 Teletext entries in the descriptor (public field). More...
 

Additional Inherited Members

- Protected Member Functions inherited from QtsAbstractDescriptor
 QtsAbstractDescriptor (QtsDescTag tag)
 Protected constructor for subclasses. More...
 
bool deserializeInit (const QtsDescriptor &descriptor, const quint8 *&payload, int &payloadSize)
 Deserialization helper: Start the deserialization. More...
 
bool serializeEnd (QtsDescriptor &descriptor, QtlByteBlock &data) const
 Serialization helper: Terminate a binary descriptor. More...
 
bool serializeInit (QtsDescriptor &descriptor, QtlByteBlock &data) const
 Serialization helper: Start a new binary descriptor. More...
 
- Protected Attributes inherited from QtsAbstractDescriptor
QtsDescTag _descTag
 Descriptor tag, can be modified by subclasses. More...
 
bool _isValid
 Validity flag. More...
 

Detailed Description

The DVD-defined teletext_descriptor.

Member Typedef Documentation

◆ EntryList

Describe a list of teletext entries in the descriptor.

Constructor & Destructor Documentation

◆ QtsTeletextDescriptor() [1/2]

QtsTeletextDescriptor::QtsTeletextDescriptor ( )

Default constructor.

◆ QtsTeletextDescriptor() [2/2]

QtsTeletextDescriptor::QtsTeletextDescriptor ( const QtsDescriptor desc)

Constructor from a binary descriptor.

Member Function Documentation

◆ serialize()

bool QtsTeletextDescriptor::serialize ( QtsDescriptor descriptor) const
virtual

This abstract method serializes a descriptor.

Implementation required by QtsAbstractDescriptor.

Parameters
[out]descriptorReplaced with a binary representation of this object.
Returns
True on success, false on error (invalid descriptor, data too large, etc.)

Implements QtsAbstractDescriptor.

◆ deserialize()

bool QtsTeletextDescriptor::deserialize ( const QtsDescriptor descriptor)
virtual

This abstract method deserializes a binary descriptor.

Implementation required by QtsAbstractDescriptor.

Parameters
[in]descriptorBinary descriptor to deserialize.
Returns
True on success, false on error (invalid data, etc.)

Implements QtsAbstractDescriptor.

Member Data Documentation

◆ entries

EntryList QtsTeletextDescriptor::entries

Teletext entries in the descriptor (public field).


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