#include <llviewquery.h>
Inheritance diagram for LLViewQuery:
Public Types | |
typedef std::list< const LLQueryFilter * > | filterList_t |
typedef filterList_t::iterator | filterList_iter_t |
typedef filterList_t::const_iterator | filterList_const_iter_t |
Public Member Functions | |
LLViewQuery () | |
virtual | ~LLViewQuery () |
void | addPreFilter (const LLQueryFilter *prefilter) |
void | addPostFilter (const LLQueryFilter *postfilter) |
const filterList_t & | getPreFilters () const |
const filterList_t & | getPostFilters () const |
void | setSorter (const LLQuerySorter *sorter) |
const LLQuerySorter * | getSorter () const |
viewList_t | run (LLView *view) const |
viewList_t | operator() (LLView *view) const |
Protected Member Functions | |
virtual void | filterChildren (LLView *view, viewList_t &filtered_children) const |
filterResult_t | runFilters (LLView *view, const viewList_t children, const filterList_t filters) const |
Protected Attributes | |
filterList_t | mPreFilters |
filterList_t | mPostFilters |
const LLQuerySorter * | mSorterp |
Definition at line 75 of file llviewquery.h.
typedef filterList_t::const_iterator LLViewQuery::filterList_const_iter_t |
Definition at line 80 of file llviewquery.h.
typedef filterList_t::iterator LLViewQuery::filterList_iter_t |
Definition at line 79 of file llviewquery.h.
typedef std::list<const LLQueryFilter*> LLViewQuery::filterList_t |
Definition at line 78 of file llviewquery.h.
LLViewQuery::LLViewQuery | ( | ) |
Definition at line 61 of file llviewquery.cpp.
virtual LLViewQuery::~LLViewQuery | ( | ) | [inline, virtual] |
Definition at line 83 of file llviewquery.h.
void LLViewQuery::addPostFilter | ( | const LLQueryFilter * | postfilter | ) |
Definition at line 67 of file llviewquery.cpp.
References mPostFilters.
Referenced by LLView::getTabOrderQuery().
void LLViewQuery::addPreFilter | ( | const LLQueryFilter * | prefilter | ) |
Definition at line 65 of file llviewquery.cpp.
References mPreFilters.
Referenced by LLView::focusFirstItem(), LLView::focusLastItem(), LLView::focusNextItem(), LLView::focusPrevItem(), LLView::getFocusRootsQuery(), and LLView::getTabOrderQuery().
void LLViewQuery::filterChildren | ( | LLView * | view, | |
viewList_t & | filtered_children | |||
) | const [protected, virtual] |
Definition at line 111 of file llviewquery.cpp.
References LLView::getChildList().
Referenced by run().
const LLViewQuery::filterList_t & LLViewQuery::getPostFilters | ( | ) | const |
const LLViewQuery::filterList_t & LLViewQuery::getPreFilters | ( | ) | const |
Definition at line 69 of file llviewquery.cpp.
References mPreFilters.
Referenced by LLView::getFocusRootsQuery(), and LLView::getTabOrderQuery().
const LLQuerySorter * LLViewQuery::getSorter | ( | ) | const |
viewList_t LLViewQuery::operator() | ( | LLView * | view | ) | const [inline] |
viewList_t LLViewQuery::run | ( | LLView * | view | ) | const |
Definition at line 76 of file llviewquery.cpp.
References filterChildren(), mPostFilters, mPreFilters, and runFilters().
Referenced by LLView::focusFirstItem(), LLView::focusLastItem(), LLView::focusNextRoot(), LLView::focusPrevRoot(), and operator()().
filterResult_t LLViewQuery::runFilters | ( | LLView * | view, | |
const viewList_t | children, | |||
const filterList_t | filters | |||
) | const [protected] |
void LLViewQuery::setSorter | ( | const LLQuerySorter * | sorter | ) |
Definition at line 73 of file llviewquery.cpp.
References mSorterp.
Referenced by LLUICtrl::focusFirstItem(), and LLCtrlQuery::LLCtrlQuery().
filterList_t LLViewQuery::mPostFilters [protected] |
Definition at line 102 of file llviewquery.h.
Referenced by addPostFilter(), getPostFilters(), and run().
filterList_t LLViewQuery::mPreFilters [protected] |
Definition at line 101 of file llviewquery.h.
Referenced by addPreFilter(), getPreFilters(), and run().
const LLQuerySorter* LLViewQuery::mSorterp [protected] |