MythTV
master
|
#include <libmythbase/autodeletedeque.h>
Public Types | |
using | List = typename std::deque< T > |
using | iterator = typename List::iterator |
using | const_iterator = typename List::const_iterator |
using | reverse_iterator = typename List::reverse_iterator |
using | const_reverse_iterator = typename List::const_reverse_iterator |
Public Member Functions | |
AutoDeleteDeque (bool auto_delete=true) | |
~AutoDeleteDeque () | |
T | operator[] (uint index) |
T | operator[] (uint index) const |
T | 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 |
const_iterator | cbegin (void) const |
const_iterator | cend (void) const |
reverse_iterator | rbegin (void) |
reverse_iterator | rend (void) |
const_reverse_iterator | rbegin (void) const |
const_reverse_iterator | rend (void) const |
const_reverse_iterator | crbegin (void) const |
const_reverse_iterator | crend (void) const |
T | back (void) |
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 | m_list |
bool | m_autodelete |
Definition at line 8 of file autodeletedeque.h.
using AutoDeleteDeque< T >::List = typename std::deque< T > |
Definition at line 14 of file autodeletedeque.h.
using AutoDeleteDeque< T >::iterator = typename List::iterator |
Definition at line 15 of file autodeletedeque.h.
using AutoDeleteDeque< T >::const_iterator = typename List::const_iterator |
Definition at line 16 of file autodeletedeque.h.
using AutoDeleteDeque< T >::reverse_iterator = typename List::reverse_iterator |
Definition at line 17 of file autodeletedeque.h.
using AutoDeleteDeque< T >::const_reverse_iterator = typename List::const_reverse_iterator |
Definition at line 18 of file autodeletedeque.h.
|
inlineexplicit |
Definition at line 11 of file autodeletedeque.h.
|
inline |
Definition at line 12 of file autodeletedeque.h.
|
inline |
Definition at line 20 of file autodeletedeque.h.
|
inline |
Definition at line 26 of file autodeletedeque.h.
T AutoDeleteDeque< T >::take | ( | uint | i | ) |
Definition at line 80 of file autodeletedeque.h.
|
inline |
Definition at line 34 of file autodeletedeque.h.
Referenced by PrevRecordedList::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), ProgLister::FillItemList(), ViewScheduleDiff::fillList(), and ViewScheduled::LoadList().
|
inline |
Definition at line 40 of file autodeletedeque.h.
Referenced by PrevRecordedList::customEvent(), ProgLister::FillItemList(), PrevRecordedList::LoadDates(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), LoadFromScheduler(), PrevRecordedList::LoadShowsByDate(), PrevRecordedList::LoadShowsByTitle(), PrevRecordedList::LoadTitles(), PrevRecordedList::showListLoseFocus(), IdleScreen::UpdateScheduledList(), AutoDeleteDeque< ProgramInfo * >::~AutoDeleteDeque(), PrevRecordedList::~PrevRecordedList(), and ProgLister::~ProgLister().
|
inline |
Definition at line 50 of file autodeletedeque.h.
Referenced by ViewScheduled::customEvent(), PrevRecordedList::DeleteOldEpisode(), PrevRecordedList::DeleteOldSeries(), ProgLister::FillItemList(), ViewScheduleDiff::fillList(), ViewScheduled::FillList(), TV::FillOSDMenuJumpRec(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FillUpcomingList(), Guide::GetProgramGuide(), V2Guide::GetProgramGuide(), PrevRecordedList::LoadDates(), ViewScheduled::LoadList(), PrevRecordedList::LoadTitles(), RecordingInfo::RecordingInfo(), ProgLister::SortList(), and IdleScreen::UpdateScreen().
|
inline |
Definition at line 51 of file autodeletedeque.h.
Referenced by ViewScheduled::customEvent(), ProgLister::FillItemList(), ViewScheduleDiff::fillList(), ViewScheduled::FillList(), TV::FillOSDMenuJumpRec(), GuideUpdateProgramRow::fillProgramRowInfosWith(), FillUpcomingList(), Guide::GetProgramGuide(), V2Guide::GetProgramGuide(), PrevRecordedList::LoadDates(), ViewScheduled::LoadList(), PrevRecordedList::LoadTitles(), ProgLister::SortList(), and IdleScreen::UpdateScreen().
|
inline |
Definition at line 52 of file autodeletedeque.h.
|
inline |
Definition at line 53 of file autodeletedeque.h.
|
inline |
Definition at line 54 of file autodeletedeque.h.
Referenced by MainServer::HandleAnnounce().
|
inline |
Definition at line 55 of file autodeletedeque.h.
|
inline |
Definition at line 56 of file autodeletedeque.h.
Referenced by ProgLister::SortList().
|
inline |
Definition at line 57 of file autodeletedeque.h.
Referenced by ProgLister::SortList().
|
inline |
Definition at line 58 of file autodeletedeque.h.
|
inline |
Definition at line 59 of file autodeletedeque.h.
|
inline |
Definition at line 60 of file autodeletedeque.h.
|
inline |
Definition at line 61 of file autodeletedeque.h.
|
inline |
Definition at line 63 of file autodeletedeque.h.
Referenced by LoadFromRecorded().
|
inline |
Definition at line 64 of file autodeletedeque.h.
|
inline |
Definition at line 66 of file autodeletedeque.h.
Referenced by ViewScheduled::ChangeGroup(), ViewScheduled::FillList(), GuideGrid::GetAlternateChannelIndex(), TVBrowseHelper::GetNextProgramDB(), GuideGrid::GetSelection(), LoadProgramFromProgram(), RecordingInfo::RecordingInfo(), GuideGrid::updateChannelsNonUI(), ProgLister::UpdateDisplay(), ProgFinder::updateInfo(), PrevRecordedList::updateInfo(), IdleScreen::UpdateScreen(), and ProgFinder::updateTimesList().
|
inline |
Definition at line 67 of file autodeletedeque.h.
Referenced by PrevRecordedList::DeleteOldSeries(), StatusBox::doScheduleStatus(), TV::FillOSDMenuJumpRec(), FillUpcomingList(), GuideGrid::GetAlternateChannelIndex(), Dvr::GetConflictList(), PrevRecordedList::GetCurrentProgram(), ProgLister::GetCurrentProgram(), TVBrowseHelper::GetNextProgramDB(), Dvr::GetOldRecordedList(), V2Dvr::GetOldRecordedList(), Guide::GetProgramList(), V2Guide::GetProgramList(), Dvr::GetRecordedList(), V2Dvr::GetRecordedList(), GuideGrid::GetSelection(), Dvr::GetUpcomingList(), MainServer::HandleQueryRecordings(), LoadFromScheduler(), ViewScheduled::LoadList(), PrevRecordedList::LoadShowsByTitle(), ProgLister::RestoreSelection(), and ProgLister::UpdateDisplay().
|
inline |
Definition at line 68 of file autodeletedeque.h.
|
inline |
Definition at line 69 of file autodeletedeque.h.
Referenced by GuideUpdateProgramRow::fillProgramRowInfosWith(), FillUpcomingList(), Scheduler::GetAllPending(), Dvr::GetConflictList(), GuideGrid::GetSelection(), Dvr::GetUpcomingList(), MainServer::HandleAnnounce(), PrevRecordedList::LoadDates(), LoadFromOldRecorded(), LoadFromProgram(), LoadFromRecorded(), LoadFromScheduler(), and PrevRecordedList::LoadTitles().
|
inline |
Definition at line 72 of file autodeletedeque.h.
Referenced by ProgLister::FillItemList().
|
protected |
Definition at line 75 of file autodeletedeque.h.
Referenced by AutoDeleteDeque< ProgramInfo * >::back(), AutoDeleteDeque< ProgramInfo * >::begin(), AutoDeleteDeque< ProgramInfo * >::cbegin(), AutoDeleteDeque< ProgramInfo * >::cend(), AutoDeleteDeque< ProgramInfo * >::clear(), AutoDeleteDeque< ProgramInfo * >::crbegin(), AutoDeleteDeque< ProgramInfo * >::crend(), AutoDeleteDeque< ProgramInfo * >::empty(), AutoDeleteDeque< ProgramInfo * >::end(), AutoDeleteDeque< ProgramInfo * >::erase(), AutoDeleteDeque< ProgramInfo * >::operator[](), AutoDeleteDeque< ProgramInfo * >::push_back(), AutoDeleteDeque< ProgramInfo * >::push_front(), AutoDeleteDeque< ProgramInfo * >::rbegin(), AutoDeleteDeque< ProgramInfo * >::rend(), and AutoDeleteDeque< ProgramInfo * >::size().
|
protected |
Definition at line 76 of file autodeletedeque.h.
Referenced by AutoDeleteDeque< ProgramInfo * >::clear(), AutoDeleteDeque< ProgramInfo * >::erase(), and AutoDeleteDeque< ProgramInfo * >::setAutoDelete().