casa
$Rev:20696$
|
Interface provides decoupling between classes that initialize a search such as SearchMoleculesWidget and classes that display the results of a search such as SearchMoleculesResultsWidget. More...
#include <SearchMoleculesResultDisplayer.h>
Public Member Functions | |
SearchMoleculesResultDisplayer () | |
virtual void | displaySearchResults (const vector< SplatResult > &results, int offset, int countTotal)=0 |
The parameters offset and count determine where the passed in results fit in the overall search. | |
virtual | ~SearchMoleculesResultDisplayer () |
Interface provides decoupling between classes that initialize a search such as SearchMoleculesWidget and classes that display the results of a search such as SearchMoleculesResultsWidget.
Definition at line 38 of file SearchMoleculesResultDisplayer.h.
virtual casa::SearchMoleculesResultDisplayer::~SearchMoleculesResultDisplayer | ( | ) | [virtual] |
virtual void casa::SearchMoleculesResultDisplayer::displaySearchResults | ( | const vector< SplatResult > & | results, |
int | offset, | ||
int | countTotal | ||
) | [pure virtual] |
The parameters offset and count determine where the passed in results fit in the overall search.
The 'offset' parameters in the starting index and countTotal is the total number of search results available. This may be smaller than the number of results returned if the countTotal exceeds the limit on the number of search results obtained at one time.
Implemented in casa::LineOverlaysSearchResultsDialog, and casa::SearchMoleculesResultsWidget.