OpenFlexTyper
Public Member Functions | List of all members
ft::FTSearch Class Reference

A class that handles the flow of a single search.

#include <ftSearch.h>

Public Member Functions

 FTSearch (bool verbose=false)
 Constructor.
 
virtual ~FTSearch ()
 Class Destructor.
 
init

Functions to set up the search

void init (const FTProp &ftProp)
 
void printToStdOut (const std::string outputString) const
 
void checkOutputFile (FTProp ftProps)
 
override functions
void overrideUtils (std::shared_ptr< IUtils > utils)
 
void overrideWriterBridge (std::shared_ptr< IWriterBridge > writerBridge)
 
void overrideFinder (std::shared_ptr< IFinder > finder)
 
void overrideQueryExtractor (std::shared_ptr< IQueryExtractor > queryExtractor)
 

Private Attributes

Properties
fs::path _readFile
 
std::map< std::string, uint > _counter
 
Utils _ownedUtils
 
IUtils * _utils
 
WriterBridge _ownedWriterBridge
 
IWriterBridge * _writerBridge
 
Finder _ownedFinder
 
IFinder * _finder
 
QueryExtractor _ownedQueryExtractor
 
IQueryExtractor * _queryExtractor
 
bool _verbose
 

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