vdr  1.7.27
Public Member Functions | Private Attributes
cNestedItem Class Reference

#include <config.h>

List of all members.

Public Member Functions

 cNestedItem (const char *Text, bool WithSubItems=false)
virtual ~cNestedItem ()
virtual int Compare (const cListObject &ListObject) const
const char * Text (void) const
cList< cNestedItem > * SubItems (void)
void AddSubItem (cNestedItem *Item)
void SetText (const char *Text)
void SetSubItems (bool On)
 cNestedItem (const char *Text, bool WithSubItems=false)
virtual ~cNestedItem ()
virtual int Compare (const cListObject &ListObject) const
const char * Text (void) const
cList< cNestedItem > * SubItems (void)
void AddSubItem (cNestedItem *Item)
void SetText (const char *Text)
void SetSubItems (bool On)

Private Attributes

char * text
cList< cNestedItem > * subItems

Detailed Description

Definition at line 178 of file config.h.


Constructor & Destructor Documentation

cNestedItem::cNestedItem ( const char *  Text,
bool  WithSubItems = false 
)

Definition at line 130 of file config.c.

References subItems, and text.

Definition at line 136 of file config.c.

References subItems, and text.

cNestedItem::cNestedItem ( const char *  Text,
bool  WithSubItems = false 
)
virtual cNestedItem::~cNestedItem ( ) [virtual]

Member Function Documentation

Definition at line 147 of file config.c.

References cListBase::Add(), and subItems.

int cNestedItem::Compare ( const cListObject ListObject) const [virtual]

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

Definition at line 142 of file config.c.

References text.

virtual int cNestedItem::Compare ( const cListObject ListObject) const [virtual]

Must return 0 if this object is equal to ListObject, a positive value if it is "greater", and a negative value if it is "smaller".

Reimplemented from cListObject.

void cNestedItem::SetSubItems ( bool  On)
void cNestedItem::SetSubItems ( bool  On)

Definition at line 161 of file config.c.

References subItems.

Referenced by cMenuEditFolder::Confirm().

void cNestedItem::SetText ( const char *  Text)
void cNestedItem::SetText ( const char *  Text)

Definition at line 155 of file config.c.

References text.

Referenced by cMenuEditFolder::Confirm().

cList<cNestedItem>* cNestedItem::SubItems ( void  ) [inline]

Definition at line 187 of file include/vdr/config.h.

References subItems.

cList<cNestedItem>* cNestedItem::SubItems ( void  ) [inline]
const char* cNestedItem::Text ( void  ) const [inline]

Definition at line 186 of file include/vdr/config.h.

References text.

const char* cNestedItem::Text ( void  ) const [inline]

Member Data Documentation

Definition at line 181 of file config.h.

Referenced by AddSubItem(), cNestedItem(), SetSubItems(), SubItems(), and ~cNestedItem().

char * cNestedItem::text [private]

Definition at line 180 of file config.h.

Referenced by cNestedItem(), Compare(), SetText(), Text(), and ~cNestedItem().


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