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::cListBase ( void  )
protected

Definition at line 2003 of file tools.c.

§ ~cListBase()

cListBase::~cListBase ( )
virtual

Definition at line 2009 of file tools.c.

Member Function Documentation

§ Add()

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

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

Referenced by cList< cSchedule >::Get().

§ Ins()

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

Definition at line 2030 of file tools.c.

References cListObject::Append(), cListObject::Insert(), and cListObject::Prev().

Referenced by cTimers::Ins(), and cOsdMenu::Ins().

§ Move() [1/2]

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

Reimplemented in cMenuChannels.

Definition at line 2058 of file tools.c.

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

§ 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.

§ lastObject

cListObject * cListBase::lastObject
protected

Definition at line 473 of file tools.h.

§ objects

cListObject* cListBase::objects
protected

Definition at line 473 of file tools.h.


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