40 virtual void reset() = 0;
51 virtual void setSpeciesNames(
const std::vector<string>& speciesNames ) = 0;
54 virtual void setSmu2Range(
double minValue,
double maxValue ) = 0;
55 virtual void setLogaRange(
double minValue,
double maxValue ) = 0;
56 virtual void setElRange(
double minValue,
double maxValue ) = 0;
57 virtual void setEuRange(
double minValue,
double maxValue ) = 0;
58 virtual void setQNS(
const std::vector<string>& qns ) = 0;
75 virtual std::vector<SplatResult>
doSearch(
string& errorMsg,
int offset ) = 0;
80 virtual string tableInfo(
const string& tableName,
string& errorMessage )
const= 0;
virtual void reset()=0
Set all search parameters back to their defaults.
virtual void setSpeciesNames(const std::vector< string > &speciesNames)=0
virtual long doSearchCount(string &errorMsg)=0
virtual void stopSearch()=0
Provide a way to interrupt long searches.
virtual void setSearchResultLimit(int limit)=0
Support for scolling.
virtual bool isConnected() const =0
Returns whether or not a connection has been established to the database provider.
virtual void setQNS(const std::vector< string > &qns)=0
Interface needed to support molecular line searching and identification.
virtual void setSmu2Range(double minValue, double maxValue)=0
virtual void setEuRange(double minValue, double maxValue)=0
virtual std::vector< SplatResult > doSearch(string &errorMsg, int offset)=0
Doing the search.
virtual void setFrequencyRange(double minValue, double maxValue)=0
virtual void setFilterTop20(bool filter=true)=0
Filters.
virtual void setChemicalNames(const std::vector< string > &chemNames)=0
Search Parameters.
virtual void setFilterDiffuseClouds(bool filter=true)=0
virtual void setFilterAgbPpnPn(bool filter=true)=0
virtual void setFilterDarkClouds(bool filter=true)=0
virtual string getCreatedDate() const =0
Information about the database.
virtual void setFilterPlanetaryAtmosphere(bool filter=true)=0
virtual void setElRange(double minValue, double maxValue)=0
virtual void setLogaRange(double minValue, double maxValue)=0
virtual string tableInfo(const string &tableName, string &errorMessage) const =0
std::set< ScanKey > filter(const std::set< ScanKey > scans, const ArrayKey &arrayKey)
given a set of scan keys, return the subset that matches the given array key
virtual void setFilterComets(bool filter=true)=0
virtual void setFilterHotCores(bool filter=true)=0
virtual void setFilterExtragalactic(bool filter=true)=0
virtual void setIntensityRange(double minValue, double maxValue)=0