MythTV  0.28pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
AutoDeleteDeque< T > Class Template Reference

#include <autodeletedeque.h>

Public Types

typedef std::deque< T > List
 
typedef List::iterator iterator
 
typedef List::const_iterator const_iterator
 
typedef List::reverse_iterator reverse_iterator
 
typedef
List::const_reverse_iterator 
const_reverse_iterator
 

Public Member Functions

 AutoDeleteDeque (bool auto_delete=true)
 
 ~AutoDeleteDeque ()
 
operator[] (uint index)
 
const T operator[] (uint index) const
 
take (uint i)
 
iterator erase (iterator it)
 
void clear (void)
 
iterator begin (void)
 
iterator end (void)
 
const_iterator begin (void) const
 
const_iterator end (void) const
 
reverse_iterator rbegin (void)
 
reverse_iterator rend (void)
 
const_reverse_iterator rbegin (void) const
 
const_reverse_iterator rend (void) const
 
back (void)
 
const T back (void) const
 
bool empty (void) const
 
size_t size (void) const
 
void push_front (T info)
 
void push_back (T info)
 
void setAutoDelete (bool auto_delete)
 

Protected Attributes

List list
 
bool autodelete
 

Detailed Description

template<typename T>
class AutoDeleteDeque< T >

Definition at line 9 of file autodeletedeque.h.

Member Typedef Documentation

template<typename T>
typedef std::deque< T > AutoDeleteDeque< T >::List

Definition at line 15 of file autodeletedeque.h.

template<typename T>
typedef List::iterator AutoDeleteDeque< T >::iterator

Definition at line 16 of file autodeletedeque.h.

template<typename T>
typedef List::const_iterator AutoDeleteDeque< T >::const_iterator

Definition at line 17 of file autodeletedeque.h.

template<typename T>
typedef List::reverse_iterator AutoDeleteDeque< T >::reverse_iterator

Definition at line 18 of file autodeletedeque.h.

template<typename T>
typedef List::const_reverse_iterator AutoDeleteDeque< T >::const_reverse_iterator

Definition at line 19 of file autodeletedeque.h.

Constructor & Destructor Documentation

template<typename T>
AutoDeleteDeque< T >::AutoDeleteDeque ( bool  auto_delete = true)
inline

Definition at line 12 of file autodeletedeque.h.

template<typename T>
AutoDeleteDeque< T >::~AutoDeleteDeque ( )
inline

Definition at line 13 of file autodeletedeque.h.

Member Function Documentation

template<typename T>
T AutoDeleteDeque< T >::operator[] ( uint  index)
inline

Definition at line 21 of file autodeletedeque.h.

template<typename T>
const T AutoDeleteDeque< T >::operator[] ( uint  index) const
inline

Definition at line 27 of file autodeletedeque.h.

template<typename T >
T AutoDeleteDeque< T >::take ( uint  i)

Definition at line 77 of file autodeletedeque.h.

template<typename T>
iterator AutoDeleteDeque< T >::erase ( iterator  it)
inline
template<typename T>
void AutoDeleteDeque< T >::clear ( void  )
inline
template<typename T>
iterator AutoDeleteDeque< T >::begin ( void  )
inline
template<typename T>
iterator AutoDeleteDeque< T >::end ( void  )
inline
template<typename T>
const_iterator AutoDeleteDeque< T >::begin ( void  ) const
inline

Definition at line 53 of file autodeletedeque.h.

template<typename T>
const_iterator AutoDeleteDeque< T >::end ( void  ) const
inline

Definition at line 54 of file autodeletedeque.h.

template<typename T>
reverse_iterator AutoDeleteDeque< T >::rbegin ( void  )
inline

Definition at line 55 of file autodeletedeque.h.

Referenced by ProgLister::SortList().

template<typename T>
reverse_iterator AutoDeleteDeque< T >::rend ( void  )
inline

Definition at line 56 of file autodeletedeque.h.

Referenced by ProgLister::SortList().

template<typename T>
const_reverse_iterator AutoDeleteDeque< T >::rbegin ( void  ) const
inline

Definition at line 57 of file autodeletedeque.h.

template<typename T>
const_reverse_iterator AutoDeleteDeque< T >::rend ( void  ) const
inline

Definition at line 58 of file autodeletedeque.h.

template<typename T>
T AutoDeleteDeque< T >::back ( void  )
inline

Definition at line 60 of file autodeletedeque.h.

Referenced by LoadFromRecorded().

template<typename T>
const T AutoDeleteDeque< T >::back ( void  ) const
inline

Definition at line 61 of file autodeletedeque.h.

template<typename T>
bool AutoDeleteDeque< T >::empty ( void  ) const
inline
template<typename T>
size_t AutoDeleteDeque< T >::size ( void  ) const
inline
template<typename T>
void AutoDeleteDeque< T >::push_front ( info)
inline

Definition at line 65 of file autodeletedeque.h.

template<typename T>
void AutoDeleteDeque< T >::push_back ( info)
inline
template<typename T>
void AutoDeleteDeque< T >::setAutoDelete ( bool  auto_delete)
inline

Definition at line 69 of file autodeletedeque.h.

Referenced by ProgLister::FillItemList().

Member Data Documentation

template<typename T>
List AutoDeleteDeque< T >::list
protected
template<typename T>
bool AutoDeleteDeque< T >::autodelete
protected

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