Wittyshare
0.2
|
Abstract class for search. More...
#include <WsAbstractSearch.h>
Public Member Functions | |
virtual | ~WsAbstractSearch () |
virtual destructor More... | |
virtual int | load (FileSystemTreePtr fs, std::string q)=0 |
load the results (execute the search query) More... | |
virtual int | getSize ()=0 |
return the number of results found More... | |
virtual vector< WsResultItem > | getResults (const std::set< std::string > &groups)=0 |
return the results found for the query filtered for the user More... | |
Abstract class for search.
Search module must inherit this class.
Definition at line 31 of file WsAbstractSearch.h.
|
virtual |
virtual destructor
Definition at line 15 of file WsAbstractSearch.cpp.
|
pure virtual |
return the results found for the query filtered for the user
groups | the groups which the user belongs to |
|
pure virtual |
return the number of results found
Implemented in WsMnoGoSearch.
|
pure virtual |
load the results (execute the search query)