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::Searcher Class Referenceabstract

Interface needed to support molecular line searching and identification. More...

#include <Searcher.h>

Inheritance diagram for casa::Searcher:
casa::SearcherSQLite

Public Member Functions

 Searcher ()
 
virtual void reset ()=0
 Set all search parameters back to their defaults. More...
 
virtual bool isConnected () const =0
 Returns whether or not a connection has been established to the database provider. More...
 
virtual void stopSearch ()=0
 Provide a way to interrupt long searches. More...
 
virtual void setChemicalNames (const std::vector< string > &chemNames)=0
 Search Parameters. More...
 
virtual void setSpeciesNames (const std::vector< string > &speciesNames)=0
 
virtual void setFrequencyRange (double minValue, double maxValue)=0
 
virtual void setIntensityRange (double minValue, double maxValue)=0
 
virtual void setSmu2Range (double minValue, double maxValue)=0
 
virtual void setLogaRange (double minValue, double maxValue)=0
 
virtual void setElRange (double minValue, double maxValue)=0
 
virtual void setEuRange (double minValue, double maxValue)=0
 
virtual void setQNS (const std::vector< string > &qns)=0
 
virtual void setFilterTop20 (bool filter=true)=0
 Filters. More...
 
virtual void setFilterPlanetaryAtmosphere (bool filter=true)=0
 
virtual void setFilterHotCores (bool filter=true)=0
 
virtual void setFilterDarkClouds (bool filter=true)=0
 
virtual void setFilterDiffuseClouds (bool filter=true)=0
 
virtual void setFilterComets (bool filter=true)=0
 
virtual void setFilterAgbPpnPn (bool filter=true)=0
 
virtual void setFilterExtragalactic (bool filter=true)=0
 
virtual void setSearchResultLimit (int limit)=0
 Support for scolling. More...
 
virtual std::vector< SplatResultdoSearch (string &errorMsg, int offset)=0
 Doing the search. More...
 
virtual long doSearchCount (string &errorMsg)=0
 
virtual string getCreatedDate () const =0
 Information about the database. More...
 
virtual string tableInfo (const string &tableName, string &errorMessage) const =0
 
virtual ~Searcher ()
 

Detailed Description

Interface needed to support molecular line searching and identification.

Definition at line 35 of file Searcher.h.

Constructor & Destructor Documentation

casa::Searcher::Searcher ( )
virtual casa::Searcher::~Searcher ( )
virtual

Member Function Documentation

virtual std::vector<SplatResult> casa::Searcher::doSearch ( string &  errorMsg,
int  offset 
)
pure virtual

Doing the search.

Implemented in casa::SearcherSQLite.

Referenced by casa::SearchThread::run().

virtual long casa::Searcher::doSearchCount ( string &  errorMsg)
pure virtual

Implemented in casa::SearcherSQLite.

Referenced by casa::SearchThread::run().

virtual string casa::Searcher::getCreatedDate ( ) const
pure virtual

Information about the database.

Implemented in casa::SearcherSQLite.

virtual bool casa::Searcher::isConnected ( ) const
pure virtual

Returns whether or not a connection has been established to the database provider.

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::reset ( )
pure virtual

Set all search parameters back to their defaults.

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setChemicalNames ( const std::vector< string > &  chemNames)
pure virtual

Search Parameters.

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setElRange ( double  minValue,
double  maxValue 
)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setEuRange ( double  minValue,
double  maxValue 
)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterAgbPpnPn ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterComets ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterDarkClouds ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterDiffuseClouds ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterExtragalactic ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterHotCores ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterPlanetaryAtmosphere ( bool  filter = true)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFilterTop20 ( bool  filter = true)
pure virtual

Filters.

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setFrequencyRange ( double  minValue,
double  maxValue 
)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setIntensityRange ( double  minValue,
double  maxValue 
)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setLogaRange ( double  minValue,
double  maxValue 
)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setQNS ( const std::vector< string > &  qns)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setSearchResultLimit ( int  limit)
pure virtual

Support for scolling.

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setSmu2Range ( double  minValue,
double  maxValue 
)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::setSpeciesNames ( const std::vector< string > &  speciesNames)
pure virtual

Implemented in casa::SearcherSQLite.

virtual void casa::Searcher::stopSearch ( )
pure virtual

Provide a way to interrupt long searches.

Implemented in casa::SearcherSQLite.

Referenced by casa::SearchThread::stopSearch().

virtual string casa::Searcher::tableInfo ( const string &  tableName,
string &  errorMessage 
) const
pure virtual

Implemented in casa::SearcherSQLite.


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