Stellarium 0.15.2
|
Provides lookup features into the online Simbad service from CDS. More...
#include <SimbadSearcher.hpp>
Public Member Functions | |
SimbadSearcher (QObject *parent=NULL) | |
SimbadLookupReply * | lookup (const QString &serverUrl, const QString &objectName, int maxNbResult=1, int delayMs=500) |
Lookup in Simbad for object which have a name starting with objectName. More... | |
Provides lookup features into the online Simbad service from CDS.
See http://simbad.u-strasbg.fr for more info.
Definition at line 97 of file SimbadSearcher.hpp.
SimbadLookupReply* SimbadSearcher::lookup | ( | const QString & | serverUrl, |
const QString & | objectName, | ||
int | maxNbResult = 1 , |
||
int | delayMs = 500 |
||
) |
Lookup in Simbad for object which have a name starting with objectName.
serverUrl | URL of the SIMBAD mirror server. |
objectName | the possibly truncated object name. |
maxNbResult | the maximum number of returned result. |
delayMs | a delay in ms to wait for before actually triggering the lookup. This used to group requests, e.g. send only one request when a used types a word insead of one per letter. |