LLViewQuery Class Reference

#include <llviewquery.h>

Inheritance diagram for LLViewQuery:

Inheritance graph
[legend]
Collaboration diagram for LLViewQuery:

Collaboration graph
[legend]
List of all members.

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_tgetPreFilters () const
const filterList_tgetPostFilters () const
void setSorter (const LLQuerySorter *sorter)
const LLQuerySortergetSorter () 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 LLQuerySortermSorterp

Detailed Description

Definition at line 75 of file llviewquery.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

LLViewQuery::LLViewQuery (  ) 

Definition at line 61 of file llviewquery.cpp.

virtual LLViewQuery::~LLViewQuery (  )  [inline, virtual]

Definition at line 83 of file llviewquery.h.


Member Function Documentation

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

Definition at line 71 of file llviewquery.cpp.

References mPostFilters.

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

Definition at line 74 of file llviewquery.cpp.

References mSorterp.

viewList_t LLViewQuery::operator() ( LLView view  )  const [inline]

Definition at line 95 of file llviewquery.h.

References run().

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]

Definition at line 124 of file llviewquery.cpp.

References TRUE.

Referenced by run().

void LLViewQuery::setSorter ( const LLQuerySorter sorter  ) 

Definition at line 73 of file llviewquery.cpp.

References mSorterp.

Referenced by LLUICtrl::focusFirstItem(), and LLCtrlQuery::LLCtrlQuery().


Member Data Documentation

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]

Definition at line 103 of file llviewquery.h.

Referenced by getSorter(), and setSorter().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:59 2010 for Second Life Viewer by  doxygen 1.4.7