#include <llfolderview.h>
Definition at line 167 of file llfolderview.h.
Definition at line 170 of file llfolderview.h.
Definition at line 177 of file llfolderview.h.
LLInventoryFilter::LLInventoryFilter | ( | const LLString & | name | ) |
---------------------------------------------------------------------------- Class LLInventoryFilter ----------------------------------------------------------------------------
Definition at line 4492 of file llfolderview.cpp.
References FILTER_NONE, LLControlGroup::getU32(), gSavedPerAccountSettings, markDefault(), mFilterBehavior, mFilterCount, mFilterGeneration, mFilterOps, mFilterSubString, LLInventoryFilter::filter_ops::mFilterTypes, LLInventoryFilter::filter_ops::mHoursAgo, mLastLogoff, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, mMinRequiredGeneration, mMustPassGeneration, mNextFilterGeneration, mOrder, LLInventoryFilter::filter_ops::mPermissions, LLInventoryFilter::filter_ops::mShowFolderState, mSubStringMatchOffset, PERM_NONE, S32_MAX, SHOW_NON_EMPTY_FOLDERS, SO_FOLDERS_BY_NAME, and U32_MAX.
LLInventoryFilter::~LLInventoryFilter | ( | ) | [virtual] |
Definition at line 4521 of file llfolderview.cpp.
void LLInventoryFilter::setFilterTypes | ( | U32 | types | ) |
Definition at line 4590 of file llfolderview.cpp.
References FILTER_LESS_RESTRICTIVE, FILTER_MORE_RESTRICTIVE, FILTER_RESTART, mFilterOps, LLInventoryFilter::filter_ops::mFilterTypes, and setModified().
Referenced by fromLLSD(), and LLInventoryPanel::setFilterTypes().
U32 LLInventoryFilter::getFilterTypes | ( | ) | const [inline] |
Definition at line 193 of file llfolderview.h.
References mFilterOps, and LLInventoryFilter::filter_ops::mFilterTypes.
Referenced by LLFolderView::getFilterTypes(), toLLSD(), and LLInventoryViewFinder::updateElementsFromFilter().
void LLInventoryFilter::setFilterSubString | ( | const LLString & | string | ) |
Definition at line 4618 of file llfolderview.cpp.
References FILTER_LESS_RESTRICTIVE, FILTER_MORE_RESTRICTIVE, FILTER_RESTART, mFilterSubString, setModified(), LLStringBase< char >::toUpper(), and LLStringBase< char >::trimHead().
Referenced by fromLLSD(), and LLInventoryPanel::setFilterSubString().
Definition at line 4547 of file llfolderview.cpp.
References mFilterSubString.
Referenced by LLFolderView::getFilterSubString(), toLLSD(), and LLInventoryViewFinder::updateElementsFromFilter().
void LLInventoryFilter::setFilterPermissions | ( | PermissionMask | perms | ) |
Definition at line 4645 of file llfolderview.cpp.
References FILTER_LESS_RESTRICTIVE, FILTER_MORE_RESTRICTIVE, FILTER_RESTART, mFilterOps, LLInventoryFilter::filter_ops::mPermissions, and setModified().
Referenced by fromLLSD(), LLInventoryPanel::setFilterPermMask(), and LLFolderView::setFilterPermMask().
PermissionMask LLInventoryFilter::getFilterPermissions | ( | ) | const [inline] |
Definition at line 199 of file llfolderview.h.
References mFilterOps, and LLInventoryFilter::filter_ops::mPermissions.
Referenced by LLFolderView::getFilterPermissions(), and toLLSD().
Definition at line 4670 of file llfolderview.cpp.
References llmax(), mFilterOps, LLInventoryFilter::filter_ops::mHoursAgo, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, and setModified().
Referenced by fromLLSD(), and setDateRangeLastLogoff().
void LLInventoryFilter::setDateRangeLastLogoff | ( | BOOL | sl | ) |
Definition at line 4685 of file llfolderview.cpp.
References isSinceLogoff(), mLastLogoff, setDateRange(), setModified(), and U32_MAX.
Referenced by fromLLSD(), and LLInventoryPanel::setSinceLogoff().
U32 LLInventoryFilter::getMinDate | ( | ) | const [inline] |
Definition at line 203 of file llfolderview.h.
References mFilterOps, and LLInventoryFilter::filter_ops::mMinDate.
Referenced by toLLSD().
U32 LLInventoryFilter::getMaxDate | ( | ) | const [inline] |
Definition at line 204 of file llfolderview.h.
References mFilterOps, and LLInventoryFilter::filter_ops::mMaxDate.
Referenced by toLLSD().
void LLInventoryFilter::setHoursAgo | ( | U32 | hours | ) |
Definition at line 4704 of file llfolderview.cpp.
References FILTER_LESS_RESTRICTIVE, FILTER_MORE_RESTRICTIVE, FILTER_RESTART, mFilterOps, LLInventoryFilter::filter_ops::mHoursAgo, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, setModified(), and U32_MAX.
Referenced by fromLLSD(), and LLInventoryPanel::setHoursAgo().
U32 LLInventoryFilter::getHoursAgo | ( | ) | const [inline] |
Definition at line 207 of file llfolderview.h.
References mFilterOps, and LLInventoryFilter::filter_ops::mHoursAgo.
Referenced by toLLSD(), and LLInventoryViewFinder::updateElementsFromFilter().
void LLInventoryFilter::setShowFolderState | ( | EFolderShow | state | ) |
Definition at line 4728 of file llfolderview.cpp.
References FILTER_LESS_RESTRICTIVE, FILTER_MORE_RESTRICTIVE, mFilterOps, LLInventoryFilter::filter_ops::mShowFolderState, setModified(), SHOW_ALL_FOLDERS, and SHOW_NON_EMPTY_FOLDERS.
Referenced by fromLLSD(), LLPanelInventory::reset(), and LLInventoryPanel::setShowFolderState().
EFolderShow LLInventoryFilter::getShowFolderState | ( | ) | [inline] |
Definition at line 210 of file llfolderview.h.
References mFilterOps, and LLInventoryFilter::filter_ops::mShowFolderState.
Referenced by LLInventoryPanel::getShowFolderState(), LLFolderView::getShowFolderState(), toLLSD(), and LLInventoryViewFinder::updateElementsFromFilter().
void LLInventoryFilter::setSortOrder | ( | U32 | order | ) |
Definition at line 4750 of file llfolderview.cpp.
References mOrder, and setModified().
Referenced by fromLLSD(), and LLInventoryPanel::setSortOrder().
U32 LLInventoryFilter::getSortOrder | ( | ) | [inline] |
Definition at line 213 of file llfolderview.h.
References mOrder.
Referenced by LLInventoryPanel::postBuild(), and toLLSD().
BOOL LLInventoryFilter::check | ( | LLFolderViewItem * | item | ) |
Definition at line 4525 of file llfolderview.cpp.
References LLFolderViewEventListener::getCreationDate(), LLFolderViewEventListener::getInventoryType(), LLFolderViewItem::getListener(), LLFolderViewEventListener::getPermissionMask(), LLFolderViewItem::getSearchableLabel(), LLInventoryType::IT_NONE, mFilterOps, mFilterSubString, LLInventoryFilter::filter_ops::mFilterTypes, LLInventoryFilter::filter_ops::mHoursAgo, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, LLInventoryFilter::filter_ops::mPermissions, mSubStringMatchOffset, and time_corrected().
Referenced by LLFolderViewItem::filter().
std::string::size_type LLInventoryFilter::getStringMatchOffset | ( | ) | const |
Definition at line 4552 of file llfolderview.cpp.
References mSubStringMatchOffset.
Referenced by LLFolderViewItem::filter().
BOOL LLInventoryFilter::isActive | ( | void | ) |
Definition at line 4568 of file llfolderview.cpp.
References mFilterOps, mFilterSubString, LLInventoryFilter::filter_ops::mFilterTypes, LLInventoryFilter::filter_ops::mHoursAgo, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, LLInventoryFilter::filter_ops::mPermissions, PERM_NONE, and U32_MAX.
Referenced by LLInventoryView::onFilterSelected().
BOOL LLInventoryFilter::isNotDefault | ( | ) |
Definition at line 4558 of file llfolderview.cpp.
References mDefaultFilterOps, mFilterOps, mFilterSubString, LLInventoryFilter::filter_ops::mFilterTypes, LLInventoryFilter::filter_ops::mHoursAgo, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, and LLInventoryFilter::filter_ops::mPermissions.
Referenced by LLFolderView::doIdle(), LLFolderViewFolder::filter(), LLFolderView::isFilterModified(), and setModified().
BOOL LLInventoryFilter::isModified | ( | ) |
Definition at line 4578 of file llfolderview.cpp.
References mModified.
Referenced by LLInventoryPanel::setSortOrder().
BOOL LLInventoryFilter::isModifiedAndClear | ( | ) |
BOOL LLInventoryFilter::isSinceLogoff | ( | ) |
Definition at line 4699 of file llfolderview.cpp.
References mFilterOps, mLastLogoff, LLInventoryFilter::filter_ops::mMaxDate, LLInventoryFilter::filter_ops::mMinDate, and U32_MAX.
Referenced by getFilterText(), LLInventoryPanel::getSinceLogoff(), setDateRangeLastLogoff(), toLLSD(), and LLInventoryViewFinder::updateElementsFromFilter().
void LLInventoryFilter::clearModified | ( | ) | [inline] |
Definition at line 222 of file llfolderview.h.
References FALSE, FILTER_NONE, mFilterBehavior, and mModified.
Referenced by LLFolderView::doIdle().
const LLString LLInventoryFilter::getName | ( | void | ) | const [inline] |
Definition at line 223 of file llfolderview.h.
References mName.
Referenced by LLInventoryView::init(), LLInventoryViewFinder::updateElementsFromFilter(), and LLInventoryView::~LLInventoryView().
LLString LLInventoryFilter::getFilterText | ( | ) |
Definition at line 4822 of file llfolderview.cpp.
References LLInventoryModel::backgroundFetchActive(), FALSE, gInventory, isFilterWith(), isSinceLogoff(), LLInventoryType::IT_ANIMATION, LLInventoryType::IT_ATTACHMENT, LLInventoryType::IT_CALLINGCARD, LLInventoryType::IT_GESTURE, LLInventoryType::IT_LANDMARK, LLInventoryType::IT_LSL, LLInventoryType::IT_NOTECARD, LLInventoryType::IT_OBJECT, LLInventoryType::IT_SNAPSHOT, LLInventoryType::IT_SOUND, LLInventoryType::IT_TEXTURE, LLInventoryType::IT_WEARABLE, mFilterText, mNeedTextRebuild, S32, and TRUE.
Referenced by LLInventoryView::setFilterTextFromFilter().
void LLInventoryFilter::setFilterCount | ( | S32 | count | ) | [inline] |
Definition at line 226 of file llfolderview.h.
References mFilterCount.
Referenced by LLFolderView::filter().
S32 LLInventoryFilter::getFilterCount | ( | ) | [inline] |
Definition at line 227 of file llfolderview.h.
References mFilterCount.
Referenced by LLFolderViewFolder::filter().
void LLInventoryFilter::decrementFilterCount | ( | ) | [inline] |
Definition at line 228 of file llfolderview.h.
References mFilterCount.
Referenced by LLFolderViewItem::filter().
void LLInventoryFilter::markDefault | ( | ) |
Definition at line 4759 of file llfolderview.cpp.
References mDefaultFilterOps, and mFilterOps.
Referenced by LLInventoryView::init(), LLFloaterLandmark::LLFloaterLandmark(), LLFloaterTexturePicker::LLFloaterTexturePicker(), and LLInventoryFilter().
void LLInventoryFilter::resetDefault | ( | ) |
Definition at line 4764 of file llfolderview.cpp.
References mDefaultFilterOps, mFilterOps, and setModified().
Referenced by LLResetFilter::handleEvent().
BOOL LLInventoryFilter::isFilterWith | ( | LLInventoryType::EType | t | ) |
Definition at line 4817 of file llfolderview.cpp.
References mFilterOps, and LLInventoryFilter::filter_ops::mFilterTypes.
Referenced by getFilterText().
S32 LLInventoryFilter::getCurrentGeneration | ( | ) | const [inline] |
Definition at line 235 of file llfolderview.h.
References mFilterGeneration.
Referenced by LLFolderView::doIdle(), LLFolderView::draw(), LLFolderViewItem::draw(), LLFolderView::filter(), LLFolderViewFolder::filter(), LLFolderViewItem::filter(), and LLFolderViewFolder::hasFilteredDescendants().
S32 LLInventoryFilter::getMinRequiredGeneration | ( | ) | const [inline] |
Definition at line 236 of file llfolderview.h.
References mMinRequiredGeneration.
Referenced by LLFolderView::arrange(), LLFolderView::doIdle(), LLFolderView::draw(), LLFolderViewFolder::filter(), LLFolderViewItem::getFiltered(), LLFolderViewFolder::potentiallyVisible(), and LLFolderViewItem::potentiallyVisible().
S32 LLInventoryFilter::getMustPassGeneration | ( | ) | const [inline] |
Definition at line 237 of file llfolderview.h.
References mMustPassGeneration.
Referenced by LLFolderView::draw(), and LLFolderViewFolder::filter().
void LLInventoryFilter::setModified | ( | EFilterBehavior | behavior = FILTER_RESTART |
) |
Definition at line 4770 of file llfolderview.cpp.
References FILTER_LESS_RESTRICTIVE, FILTER_MORE_RESTRICTIVE, FILTER_NONE, FILTER_RESTART, isNotDefault(), llendl, llerrs, llmin(), mFilterBehavior, mFilterGeneration, mMinRequiredGeneration, mModified, mMustPassGeneration, mNeedTextRebuild, mNextFilterGeneration, S32_MAX, and TRUE.
Referenced by resetDefault(), setDateRange(), setDateRangeLastLogoff(), setFilterPermissions(), setFilterSubString(), setFilterTypes(), setHoursAgo(), setShowFolderState(), and setSortOrder().
void LLInventoryFilter::toLLSD | ( | LLSD & | data | ) |
Definition at line 4992 of file llfolderview.cpp.
References getFilterPermissions(), getFilterSubString(), getFilterTypes(), getHoursAgo(), getMaxDate(), getMinDate(), getShowFolderState(), getSortOrder(), and isSinceLogoff().
Referenced by LLInventoryView::~LLInventoryView().
void LLInventoryFilter::fromLLSD | ( | LLSD & | data | ) |
Definition at line 5005 of file llfolderview.cpp.
References LLSD::has(), setDateRange(), setDateRangeLastLogoff(), setFilterPermissions(), setFilterSubString(), setFilterTypes(), setHoursAgo(), setShowFolderState(), and setSortOrder().
Referenced by LLInventoryView::init().
const U32 LLInventoryFilter::SO_DATE = 1 [static] |
Definition at line 185 of file llfolderview.h.
Referenced by LLFolderView::checkTreeResortForModelChanged(), LLSetSortBy::handleEvent(), LLInventoryView::init(), LLFolderViewFolder::sortBy(), and LLInventorySort::updateSort().
const U32 LLInventoryFilter::SO_FOLDERS_BY_NAME = 2 [static] |
Definition at line 186 of file llfolderview.h.
Referenced by LLFolderView::checkTreeResortForModelChanged(), LLSetSortBy::handleEvent(), LLInventoryView::init(), LLInventoryFilter(), and LLInventorySort::updateSort().
const U32 LLInventoryFilter::SO_SYSTEM_FOLDERS_TO_TOP = 4 [static] |
Definition at line 187 of file llfolderview.h.
Referenced by LLSetSortBy::handleEvent(), LLInventoryView::init(), and LLInventorySort::updateSort().
filter_ops LLInventoryFilter::mFilterOps [protected] |
Definition at line 255 of file llfolderview.h.
Referenced by check(), getFilterPermissions(), getFilterTypes(), getHoursAgo(), getMaxDate(), getMinDate(), getShowFolderState(), isActive(), isFilterWith(), isNotDefault(), isSinceLogoff(), LLInventoryFilter(), markDefault(), resetDefault(), setDateRange(), setFilterPermissions(), setFilterTypes(), setHoursAgo(), and setShowFolderState().
filter_ops LLInventoryFilter::mDefaultFilterOps [protected] |
Definition at line 256 of file llfolderview.h.
Referenced by isNotDefault(), markDefault(), and resetDefault().
std::string::size_type LLInventoryFilter::mSubStringMatchOffset [protected] |
Definition at line 257 of file llfolderview.h.
Referenced by check(), getStringMatchOffset(), and LLInventoryFilter().
LLString LLInventoryFilter::mFilterSubString [protected] |
Definition at line 258 of file llfolderview.h.
Referenced by check(), getFilterSubString(), isActive(), isNotDefault(), LLInventoryFilter(), and setFilterSubString().
U32 LLInventoryFilter::mOrder [protected] |
Definition at line 259 of file llfolderview.h.
Referenced by getSortOrder(), LLInventoryFilter(), and setSortOrder().
const LLString LLInventoryFilter::mName [protected] |
S32 LLInventoryFilter::mFilterGeneration [protected] |
Definition at line 261 of file llfolderview.h.
Referenced by getCurrentGeneration(), LLInventoryFilter(), and setModified().
S32 LLInventoryFilter::mMustPassGeneration [protected] |
Definition at line 262 of file llfolderview.h.
Referenced by getMustPassGeneration(), LLInventoryFilter(), and setModified().
S32 LLInventoryFilter::mMinRequiredGeneration [protected] |
Definition at line 263 of file llfolderview.h.
Referenced by getMinRequiredGeneration(), LLInventoryFilter(), and setModified().
S32 LLInventoryFilter::mFilterCount [protected] |
Definition at line 264 of file llfolderview.h.
Referenced by decrementFilterCount(), getFilterCount(), LLInventoryFilter(), and setFilterCount().
S32 LLInventoryFilter::mNextFilterGeneration [protected] |
Definition at line 265 of file llfolderview.h.
Referenced by LLInventoryFilter(), and setModified().
EFilterBehavior LLInventoryFilter::mFilterBehavior [protected] |
Definition at line 266 of file llfolderview.h.
Referenced by clearModified(), LLInventoryFilter(), and setModified().
U32 LLInventoryFilter::mLastLogoff [private] |
Definition at line 269 of file llfolderview.h.
Referenced by isSinceLogoff(), LLInventoryFilter(), and setDateRangeLastLogoff().
BOOL LLInventoryFilter::mModified [private] |
Definition at line 270 of file llfolderview.h.
Referenced by clearModified(), isModified(), isModifiedAndClear(), and setModified().
BOOL LLInventoryFilter::mNeedTextRebuild [private] |
LLString LLInventoryFilter::mFilterText [private] |