casa
$Rev:20696$
|
Interface needed to support molecular line searching and identification. More...
#include <Searcher.h>
Public Member Functions | |
Searcher () | |
virtual void | reset ()=0 |
Set all search parameters back to their defaults. | |
virtual bool | isConnected () const =0 |
Returns whether or not a connection has been established to the database provider. | |
virtual void | stopSearch ()=0 |
Provide a way to interrupt long searches. | |
virtual void | setChemicalNames (const vector< string > &chemNames)=0 |
Search Parameters. | |
virtual void | setSpeciesNames (const 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 vector< string > &qns)=0 |
virtual void | setFilterTop20 (bool filter=true)=0 |
Filters. | |
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. | |
virtual vector< SplatResult > | doSearch (string &errorMsg, int offset)=0 |
Doing the search. | |
virtual long | doSearchCount (string &errorMsg)=0 |
virtual string | getCreatedDate () const =0 |
Information about the database. | |
virtual string | tableInfo (const string &tableName, string &errorMessage) const =0 |
virtual | ~Searcher () |
Interface needed to support molecular line searching and identification.
Definition at line 35 of file Searcher.h.
virtual casa::Searcher::~Searcher | ( | ) | [virtual] |
virtual vector<SplatResult> casa::Searcher::doSearch | ( | string & | errorMsg, |
int | offset | ||
) | [pure virtual] |
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 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 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 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.