casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
casa::SearchMoleculesResultDisplayer Class Referenceabstract

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>

Inheritance diagram for casa::SearchMoleculesResultDisplayer:
casa::LineOverlaysSearchResultsDialog casa::SearchMoleculesResultsWidget

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 ()
 

Detailed Description

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.

Constructor & Destructor Documentation

casa::SearchMoleculesResultDisplayer::SearchMoleculesResultDisplayer ( )
virtual casa::SearchMoleculesResultDisplayer::~SearchMoleculesResultDisplayer ( )
virtual

Member Function Documentation

virtual void casa::SearchMoleculesResultDisplayer::displaySearchResults ( const std::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.


The documentation for this class was generated from the following file: