Supernova.hpp   Supernova.hpp 
skipping to change at line 45 skipping to change at line 45
//! @class Supernova //! @class Supernova
//! A Supernova object represents one supernova on the sky. //! A Supernova object represents one supernova on the sky.
//! Details about the supernovas are passed using a QVariant which contains //! Details about the supernovas are passed using a QVariant which contains
//! a map of data from the json file. //! a map of data from the json file.
//! @ingroup historicalSupernovae //! @ingroup historicalSupernovae
class Supernova : public StelObject class Supernova : public StelObject
{ {
friend class Supernovae; friend class Supernovae;
public: public:
static const QString SUPERNOVA_TYPE;
//! @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 to create a duplicate. //! Get a QVariantMap which describes the supernova. Could be used to create a duplicate.
//! - designation //! - designation
//! - sntype //! - sntype
//! - maxMagnitude //! - maxMagnitude
//! - peakJD //! - peakJD
//! - snra //! - snra
//! - snde //! - snde
//! - note //! - note
//! - distance //! - distance
QVariantMap getMap(void) const; QVariantMap getMap(void) const;
virtual QString getType(void) const virtual QString getType(void) const
{ {
return "Supernova"; return SUPERNOVA_TYPE;
}
virtual QString getID(void) const
{
return designation;
} }
//! 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(). //! Return a map like StelObject::getInfoMap(), but with a few extra tags also available in getMap().
//! - sntype //! - sntype
//! - max-magnitude //! - max-magnitude
//! - peakJD //! - peakJD
 End of changes. 2 change blocks. 
1 lines changed or deleted 8 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/