MythTV  0.26-pre
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
SortableMythGenericTreeList Class Reference

List of all members.

Public Types

enum  SortType { SORT_ATTRIBUTE = 0, SORT_STRING = 1, SORT_SELECTABLE = 3, SORT_ATT_THEN_STRING }

Public Member Functions

 SortableMythGenericTreeList ()
void SetSortType (SortType stype)
void SetAttributeIndex (int index)
void Sort (SortType stype, int attributeIndex=0)

Static Public Member Functions

static int sortByString (MythGenericTree *one, MythGenericTree *two)
static int sortBySelectable (MythGenericTree *one, MythGenericTree *two)

Private Attributes

SortType m_sortType
int m_attributeIndex

Detailed Description

Definition at line 9 of file mythgenerictree.cpp.


Member Enumeration Documentation

Enumerator:
SORT_ATTRIBUTE 
SORT_STRING 
SORT_SELECTABLE 
SORT_ATT_THEN_STRING 

Definition at line 14 of file mythgenerictree.cpp.


Constructor & Destructor Documentation

Definition at line 12 of file mythgenerictree.cpp.


Member Function Documentation

Definition at line 17 of file mythgenerictree.cpp.

Definition at line 18 of file mythgenerictree.cpp.

Referenced by MythGenericTree::buildFlatListOfSubnodes().

static int SortableMythGenericTreeList::sortByString ( MythGenericTree one,
MythGenericTree two 
) [inline, static]

Definition at line 34 of file mythgenerictree.cpp.

Referenced by Sort().

static int SortableMythGenericTreeList::sortBySelectable ( MythGenericTree one,
MythGenericTree two 
) [inline, static]

Definition at line 41 of file mythgenerictree.cpp.

Referenced by Sort().

void SortableMythGenericTreeList::Sort ( SortType  stype,
int  attributeIndex = 0 
) [inline]

Member Data Documentation

Definition at line 98 of file mythgenerictree.cpp.

Referenced by SetSortType(), and Sort().

Definition at line 99 of file mythgenerictree.cpp.

Referenced by SetAttributeIndex(), and Sort().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends