Stellarium 0.12.0
Home · All Namespaces · All Classes · Functions · Coding Style · Scripting · Plugins · Renderer · File Structure

SimbadLookupReply Class Reference

Contains all the information about a current simbad lookup query. More...

#include <SimbadSearcher.hpp>

List of all members.

Public Types

enum  SimbadLookupStatus { SimbadLookupQuerying, SimbadLookupErrorOccured, SimbadLookupFinished }
 

Possible status for a simbad query.

More...

Signals

void statusChanged ()
 Triggered when the lookup status change.

Public Member Functions

QMap< QString, Vec3dgetResults () const
 Get the result list of matching objectName/position.
SimbadLookupStatus getCurrentStatus () const
 Get the current status.
QString getCurrentStatusString () const
 Get a I18n string describing the current status. It can be used e.g for reporting in widgets.
QString getErrorString () const
 Get the error descrition string. Return empty string if no error occured.

Detailed Description

Contains all the information about a current simbad lookup query.

Instances of this class are generated by the SimbadSearcher class.

Definition at line 32 of file SimbadSearcher.hpp.


Member Enumeration Documentation

Possible status for a simbad query.

Enumerator:
SimbadLookupQuerying 

Simbad is still being queried.

SimbadLookupErrorOccured 

An error occured while looking up Simbad. Call getErrorString() for a description of the error.

SimbadLookupFinished 

The query is over. The reply can be deleted.

Definition at line 41 of file SimbadSearcher.hpp.


Member Function Documentation

SimbadLookupStatus SimbadLookupReply::getCurrentStatus (  )  const [inline]

Get the current status.

Definition at line 54 of file SimbadSearcher.hpp.

QString SimbadLookupReply::getCurrentStatusString (  )  const

Get a I18n string describing the current status. It can be used e.g for reporting in widgets.

QString SimbadLookupReply::getErrorString (  )  const [inline]

Get the error descrition string. Return empty string if no error occured.

Definition at line 60 of file SimbadSearcher.hpp.

QMap<QString, Vec3d> SimbadLookupReply::getResults (  )  const [inline]

Get the result list of matching objectName/position.

Definition at line 51 of file SimbadSearcher.hpp.

void SimbadLookupReply::statusChanged (  )  [signal]

Triggered when the lookup status change.


The documentation for this class was generated from the following file:
Generated on Thu Jan 31 14:05:44 2013 for Stellarium by  doxygen 1.6.3