QtlMovie 1.12 (A specialized FFmpeg front-end)
QtlPointerList< T > Class Template Reference

Definition of a list of pointers which deletes the pointed items on destruction. More...

Inheritance diagram for QtlPointerList< T >:

Public Member Functions

 QtlPointerList ()
 Default constructor. More...
 
 QtlPointerList (const QList< T *> &other)
 Copy constructor. More...
 
virtual ~QtlPointerList ()
 Destructor. More...
 
void clear ()
 Remove all items from the list. More...
 

Private Types

typedef QList< T * > SuperClass
 A name for the superclass. More...
 

Detailed Description

template<typename T>
class QtlPointerList< T >

Definition of a list of pointers which deletes the pointed items on destruction.

Member Typedef Documentation

◆ SuperClass

template<typename T >
typedef QList<T*> QtlPointerList< T >::SuperClass
private

A name for the superclass.

Constructor & Destructor Documentation

◆ QtlPointerList() [1/2]

template<typename T >
QtlPointerList< T >::QtlPointerList ( )
inlineexplicit

Default constructor.

◆ QtlPointerList() [2/2]

template<typename T >
QtlPointerList< T >::QtlPointerList ( const QList< T *> &  other)
inline

Copy constructor.

Parameters
[in]otherOther instance to copy.

◆ ~QtlPointerList()

template<typename T >
virtual QtlPointerList< T >::~QtlPointerList ( )
inlinevirtual

Destructor.

All pointed items are deleted.

Member Function Documentation

◆ clear()

template<typename T >
void QtlPointerList< T >::clear ( )
inline

Remove all items from the list.

All pointed items are deleted.


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