vdr  2.0.6
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)
 
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 461 of file tools.h.

Constructor & Destructor Documentation

cListBase::cListBase ( void  )
protected

Definition at line 1934 of file tools.c.

References count, lastObject, and objects.

cListBase::~cListBase ( )
virtual

Definition at line 1940 of file tools.c.

References Clear().

Member Function Documentation

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

Definition at line 1945 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(), cMarks::Add(), cHashBase::Add(), cRecordings::AddByName(), cCaDescriptors::AddCaDescriptor(), cCaDescriptorHandler::AddCaDescriptors(), cChannelCamRelations::AddEntry(), cSchedule::AddEvent(), cCamSlot::AddPid(), cPluginManager::AddPlugin(), cSchedules::AddSchedule(), cNestedItem::AddSubItem(), cScanList::AddTransponder(), cTransponderList::AddTransponder(), cSectionHandler::Attach(), cAudio::cAudio(), cCamSlot::cCamSlot(), cDeviceHook::cDeviceHook(), cDvbDeviceProbe::cDvbDeviceProbe(), cDynamicDeviceProbe::cDynamicDeviceProbe(), cEIT::cEIT(), cEpgHandler::cEpgHandler(), cSVDRP::CmdNEWC(), cMenuEditFolder::Confirm(), cRemote::cRemote(), cSkin::cSkin(), cSourceParam::cSourceParam(), cStatus::cStatus(), cRecordings::DelByName(), cChannels::DeleteDuplicateChannels(), cDvbSubtitleConverter::ExtractSegment(), cDvbSubtitleConverter::FinishPage(), cDvbSubtitlePage::GetClutById(), cSubtitleRegion::GetObjectById(), cDvbSubtitlePage::GetRegionById(), cFreetypeFont::Glyph(), cPictureEntry::Load(), cConfig< cDiseqc >::Load(), cChannels::NewChannel(), cNestedItemList::Parse(), 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 2029 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 1989 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 465 of file tools.h.

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

cListObject * cListBase::lastObject
protected

Definition at line 463 of file tools.h.

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

cListObject* cListBase::objects
protected

Definition at line 463 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: