vdr  2.2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
cListBase Class Reference

#include <tools.h>

Collaboration diagram for cListBase:
[legend]

Public Member Functions

virtual ~cListBase ()
 
void Add (cListObject *Object, cListObject *After=NULL)
 
void Ins (cListObject *Object, cListObject *Before=NULL)
 
void Del (cListObject *Object, bool DeleteObject=true)
 
virtual void Move (int From, int To)
 
void Move (cListObject *From, cListObject *To)
 
virtual void Clear (void)
 
cListObject * Get (int Index) const
 
int Count (void) const
 
void Sort (void)
 

Protected Member Functions

 cListBase (void)
 

Protected Attributes

cListObject * objects
 
cListObject * lastObject
 
int count
 

Detailed Description

Definition at line 471 of file tools.h.

Constructor & Destructor Documentation

◆ cListBase()

cListBase::cListBase ( void  )
protected

Definition at line 2003 of file tools.c.

References count, lastObject, and objects.

◆ ~cListBase()

cListBase::~cListBase ( )
virtual

Definition at line 2009 of file tools.c.

References Clear().

Member Function Documentation

◆ Add()

void cListBase::Add ( cListObject *  Object,
cListObject *  After = NULL 
)

Definition at line 2014 of file tools.c.

References cListObject::Append(), count, cListObject::Insert(), lastObject, cListObject::Next(), and objects.

Referenced by cSectionHandler::Add(), cFilter::Add(), cTimers::Add(), cOsdMenu::Add(), cRecordingsHandler::Add(), cMarks::Add(), cHashBase::Add(), cRecordings::AddByName(), cCaDescriptors::AddCaDescriptor(), cCaDescriptorHandler::AddCaDescriptors(), cChannelCamRelations::AddEntry(), cSchedule::AddEvent(), cCamSlot::AddPid(), cPluginManager::AddPlugin(), AddRecordingFolders(), cDvbSubtitlePage::AddRegionRef(), cSchedules::AddSchedule(), cNestedItem::AddSubItem(), cScanList::AddTransponder(), cTransponderList::AddTransponder(), cSectionHandler::Attach(), cAudio::cAudio(), cCamSlot::cCamSlot(), cDeviceHook::cDeviceHook(), cEIT::cEIT(), cEpgHandler::cEpgHandler(), cSVDRP::CmdNEWC(), cMenuEditFolder::Confirm(), cRemote::cRemote(), cSkin::cSkin(), cSourceParam::cSourceParam(), cStatus::cStatus(), cRecordings::DelByName(), cChannels::DeleteDuplicateChannels(), cDvbSubtitleConverter::FinishPage(), cDvbSubtitlePage::GetClutById(), cSubtitleObjects::GetObjectById(), cDvbSubtitleConverter::GetPageById(), cDvbSubtitlePage::GetRegionById(), cFreetypeFont::Glyph(), cPictureEntry::Load(), cConfig< cDiseqc >::Load(), cChannels::NewChannel(), cNestedItemList::Parse(), cSubtitleRegion::Parse(), cDvbSubtitlePage::Parse(), cSubtitleRegion::ParsePgs(), cSdtFilter::Process(), cMenuEditChannel::ProcessKey(), cKeys::PutSetup(), cInterface::QueryKeys(), cRecordings::ScanVideoDir(), Sort(), and cSetup::Store().

◆ Clear()

void cListBase::Clear ( void  )
virtual

◆ Count()

int cListBase::Count ( void  ) const
inline

◆ Del()

void cListBase::Del ( cListObject *  Object,
bool  DeleteObject = true 
)

◆ Get()

cListObject * cListBase::Get ( int  Index) const

Definition at line 2098 of file tools.c.

References cListObject::Next(), and objects.

Referenced by cList< cSchedule >::Get(), and Move().

◆ Ins()

void cListBase::Ins ( cListObject *  Object,
cListObject *  Before = NULL 
)

◆ Move() [1/2]

void cListBase::Move ( int  From,
int  To 
)
virtual

Reimplemented in cMenuChannels.

Definition at line 2058 of file tools.c.

References Get().

Referenced by cSVDRP::CmdMOVC(), cMenuChannels::Move(), and cOsdMenu::ProcessKey().

◆ Move() [2/2]

void cListBase::Move ( cListObject *  From,
cListObject *  To 
)

◆ Sort()

void cListBase::Sort ( void  )

Member Data Documentation

◆ count

int cListBase::count
protected

Definition at line 475 of file tools.h.

Referenced by Add(), Clear(), cListBase(), cOsdMenu::Del(), Del(), cOsdMenu::Display(), Ins(), and Sort().

◆ lastObject

cListObject * cListBase::lastObject
protected

Definition at line 473 of file tools.h.

Referenced by Add(), Clear(), cListBase(), Del(), Ins(), Move(), and Sort().

◆ objects

cListObject* cListBase::objects
protected

Definition at line 473 of file tools.h.

Referenced by Add(), Clear(), cListBase(), Del(), Get(), Ins(), Move(), and Sort().


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