Exoplanet.hpp   Exoplanet.hpp 
skipping to change at line 69 skipping to change at line 69
class Exoplanet : public StelObject class Exoplanet : public StelObject
{ {
friend class Exoplanets; friend class Exoplanets;
public: public:
//! @param id The official designation for a exoplanet, e.g. "Kepler -10 b" //! @param id The official designation for a exoplanet, e.g. "Kepler -10 b"
Exoplanet(const QVariantMap& map); Exoplanet(const QVariantMap& map);
~Exoplanet(); ~Exoplanet();
//! Get a QVariantMap which describes the exoplanet. Could be used t o //! Get a QVariantMap which describes the exoplanet. Could be used t o
//! create a duplicate. //! create a duplicate.
QVariantMap getMap(void); QVariantMap getMap(void) const;
//! Get the type of object //! Get the type of object
virtual QString getType(void) const virtual QString getType(void) const
{ {
return "Exoplanet"; return "Exoplanet";
} }
virtual float getSelectPriority(const StelCore* core) const; virtual float getSelectPriority(const StelCore* core) const;
//! Get an HTML string to describe the object //! Get an HTML string to describe the object
//! @param core A pointer to the core //! @param core A pointer to the core
//! @flags a set of flags with information types to include. //! @flags a set of flags with information types to include.
virtual QString getInfoString(const StelCore* core, const InfoString Group& flags) const; virtual QString getInfoString(const StelCore* core, const InfoString Group& flags) const;
//! Return a map like StelObject, but with a few extra tags also ava
ilable in getMap().
//! - distance = distance in pc
//! - stype = Spectral type of star
//! - smass = Mass of star in Msun
//! - smetal = [Fe/H] of star
//! - sradius = Radius of star in Rsun
//! - effectiveTemp = Effective temperature of star in K
//! - hasHabitablePlanets (true/false)
virtual QVariantMap getInfoMap(const StelCore *core) const;
virtual Vec3f getInfoColor(void) const; virtual Vec3f getInfoColor(void) const;
virtual Vec3d getJ2000EquatorialPos(const StelCore*) const virtual Vec3d getJ2000EquatorialPos(const StelCore*) const
{ {
return XYZ; return XYZ;
} }
//! Get the visual magnitude //! Get the visual magnitude
virtual float getVMagnitude(const StelCore* core) const; virtual float getVMagnitude(const StelCore* core) const;
//! Get the angular size of pulsar //! Get the angular size of pulsar
virtual double getAngularSize(const StelCore* core) const; virtual double getAngularSize(const StelCore* core) const;
//! Get the localized name of pulsar //! Get the localized name of pulsar
 End of changes. 2 change blocks. 
1 lines changed or deleted 11 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/