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

#include <tools.h>

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)
 
cListObjectGet (int Index) const
 
int Count (void) const
 
void Sort (void)
 

Protected Member Functions

 cListBase (void)
 

Protected Attributes

cListObjectobjects
 
cListObjectlastObject
 
int count
 

Detailed Description

Definition at line 471 of file tools.h.

Constructor & Destructor Documentation

cListBase::cListBase ( void  )
protected

Definition at line 2003 of file tools.c.

References count, lastObject, and objects.

cListBase::~cListBase ( )
virtual

Definition at line 2009 of file tools.c.

References Clear().

Member Function Documentation

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 cMenuTimers::ActualiseDiskStatus(), 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(), cDvbDeviceProbe::cDvbDeviceProbe(), 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(), cSkins::QueueMessage(), cRecordings::ScanVideoDir(), Sort(), and cSetup::Store().

void cListBase::Clear ( void  )
virtual
int cListBase::Count ( void  ) const
inline
void cListBase::Del ( cListObject Object,
bool  DeleteObject = true 
)
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().

void cListBase::Ins ( cListObject Object,
cListObject Before = NULL 
)
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().

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

Member Data Documentation

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().

cListObject * cListBase::lastObject
protected

Definition at line 473 of file tools.h.

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

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: