|
MythTV master
|
Public Types | |
| enum | SortType : std::uint8_t { SORT_STRING =0 , SORT_SELECTABLE =1 } |
Public Member Functions | |
| SortableMythGenericTreeList ()=default | |
| void | SetSortType (SortType stype) |
| void | SetAttributeIndex (int index) |
| void | Sort (SortType stype, int attributeIndex=0) |
Static Public Member Functions | |
| static bool | sortByString (MythGenericTree *one, MythGenericTree *two) |
| static int | sortBySelectable (MythGenericTree *one, MythGenericTree *two) |
Private Attributes | |
| SortType | m_sortType {SORT_STRING} |
| int | m_attributeIndex {0} |
Definition at line 13 of file mythgenerictree.cpp.
| enum SortableMythGenericTreeList::SortType : std::uint8_t |
| Enumerator | |
|---|---|
| SORT_STRING | |
| SORT_SELECTABLE | |
Definition at line 17 of file mythgenerictree.cpp.
|
default |
|
inline |
Definition at line 20 of file mythgenerictree.cpp.
|
inline |
Definition at line 19 of file mythgenerictree.cpp.
|
inline |
Definition at line 40 of file mythgenerictree.cpp.
Referenced by MythGenericTree::sortBySelectable(), and MythGenericTree::sortByString().
|
inlinestatic |
Definition at line 28 of file mythgenerictree.cpp.
Referenced by Sort().
|
inlinestatic |
Definition at line 23 of file mythgenerictree.cpp.
Referenced by Sort().
|
private |
Definition at line 57 of file mythgenerictree.cpp.
Referenced by SetAttributeIndex(), and Sort().
|
private |
Definition at line 56 of file mythgenerictree.cpp.
Referenced by SetSortType(), and Sort().