#include <llfolderview.h>
Public Types | |
| typedef bool(*) | comparison_function_t (LLInventorySort *self, LLFolderViewItem *a, LLFolderViewItem *b) |
Public Member Functions | |
| LLInventorySort () | |
| bool | updateSort (U32 order) |
| U32 | getSort () |
| bool | isByDate () const |
| bool | isSystemToTop () const |
| bool | isFoldersByName () const |
| bool | operator() (LLFolderViewItem *a, LLFolderViewItem *b) |
| void | setComparisonFunction (comparison_function_t func) |
Static Public Member Functions | |
| static bool | compare (LLInventorySort *self, LLFolderViewItem *a, LLFolderViewItem *b) |
Private Attributes | |
| comparison_function_t | mComparisonFunction |
| U32 | mSortOrder |
| bool | mByDate |
| bool | mSystemToTop |
| bool | mFoldersByName |
Definition at line 285 of file llfolderview.h.
| typedef bool(*) LLInventorySort::comparison_function_t(LLInventorySort *self, LLFolderViewItem *a, LLFolderViewItem *b) |
Definition at line 288 of file llfolderview.h.
| LLInventorySort::LLInventorySort | ( | ) | [inline] |
| bool LLInventorySort::compare | ( | LLInventorySort * | self, | |
| LLFolderViewItem * | a, | |||
| LLFolderViewItem * | b | |||
| ) | [static] |
Definition at line 4383 of file llfolderview.cpp.
References a, b, LLStringBase< char >::compareDict(), isByDate(), isSystemToTop(), S32, SG_ITEM, and SG_TRASH_FOLDER.
Referenced by LLInventorySort().
| U32 LLInventorySort::getSort | ( | ) | [inline] |
| bool LLInventorySort::isByDate | ( | ) | const [inline] |
| bool LLInventorySort::isFoldersByName | ( | ) | const [inline] |
| bool LLInventorySort::isSystemToTop | ( | ) | const [inline] |
| bool LLInventorySort::operator() | ( | LLFolderViewItem * | a, | |
| LLFolderViewItem * | b | |||
| ) |
| void LLInventorySort::setComparisonFunction | ( | comparison_function_t | func | ) | [inline] |
Definition at line 304 of file llfolderview.h.
References mComparisonFunction.
Referenced by LLFloaterNetwork2080::addNode(), LLFloaterNetwork2080::LLFloaterNetwork2080(), and LLInventorySort().
| bool LLInventorySort::updateSort | ( | U32 | order | ) |
---------------------------------------------------------------------------- Local function definitions ----------------------------------------------------------------------------
Definition at line 4365 of file llfolderview.cpp.
References mByDate, mFoldersByName, mSortOrder, mSystemToTop, LLInventoryFilter::SO_DATE, LLInventoryFilter::SO_FOLDERS_BY_NAME, and LLInventoryFilter::SO_SYSTEM_FOLDERS_TO_TOP.
Referenced by LLFolderViewFolder::setItemSortOrder(), and LLFolderViewFolder::sortBy().
bool LLInventorySort::mByDate [private] |
Definition at line 307 of file llfolderview.h.
Referenced by operator()(), and setComparisonFunction().
bool LLInventorySort::mFoldersByName [private] |
U32 LLInventorySort::mSortOrder [private] |
bool LLInventorySort::mSystemToTop [private] |
1.4.7