casa
5.7.0-16
|
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 std::vector< SplatResult > &results, int offset, int countTotal)=0 |
The parameters offset and count determine where the passed in results fit in the overall search. More... | |
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.
casa::SearchMoleculesResultDisplayer::SearchMoleculesResultDisplayer | ( | ) |
|
virtual |
|
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.