Supernova.hpp   Supernova.hpp 
skipping to change at line 49 skipping to change at line 49
//! @ingroup historicalSupernovae //! @ingroup historicalSupernovae
class Supernova : public StelObject class Supernova : public StelObject
{ {
friend class Supernovae; friend class Supernovae;
public: public:
//! @param id The official designation for a supernova, e.g. "SN 105 4A" //! @param id The official designation for a supernova, e.g. "SN 105 4A"
Supernova(const QVariantMap& map); Supernova(const QVariantMap& map);
~Supernova(); ~Supernova();
//! Get a QVariantMap which describes the supernova. Could be used //! Get a QVariantMap which describes the supernova. Could be used
to to create a duplicate.
//! create a duplicate. //! - designation
QVariantMap getMap(void); //! - sntype
//! - maxMagnitude
//! - peakJD
//! - snra
//! - snde
//! - note
//! - distance
QVariantMap getMap(void) const;
virtual QString getType(void) const virtual QString getType(void) const
{ {
return "Supernova"; return "Supernova";
} }
//! 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::getInfoMap(), but with a few extra
tags also available in getMap().
//! - sntype
//! - max-magnitude
//! - peakJD
//! - note
//! - distance
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;
} }
virtual float getVMagnitude(const StelCore* core) const; virtual float getVMagnitude(const StelCore* core) const;
virtual double getAngularSize(const StelCore* core) const; virtual double getAngularSize(const StelCore* core) const;
virtual QString getNameI18n(void) const; virtual QString getNameI18n(void) const;
virtual QString getEnglishName(void) const; virtual QString getEnglishName(void) const;
 End of changes. 2 change blocks. 
4 lines changed or deleted 19 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/