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

Definition at line 2003 of file tools.c.

cListBase::~cListBase ( )
virtual

Definition at line 2009 of file tools.c.

Member Function Documentation

void cListBase::Add ( cListObject *  Object,
cListObject *  After = NULL 
)
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().

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

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

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

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.

cListObject * cListBase::lastObject
protected

Definition at line 473 of file tools.h.

cListObject* cListBase::objects
protected

Definition at line 473 of file tools.h.


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