Nova.hpp   Nova.hpp 
skipping to change at line 45 skipping to change at line 45
//! @class Nova //! @class Nova
//! A Nova object represents one nova on the sky. //! A Nova object represents one nova on the sky.
//! Details about the novae are passed using a QVariant which contains //! Details about the novae are passed using a QVariant which contains
//! a map of data from the json file. //! a map of data from the json file.
//! @ingroup brightNovae //! @ingroup brightNovae
class Nova : public StelObject class Nova : public StelObject
{ {
friend class Novae; friend class Novae;
public: public:
static const QString NOVA_TYPE;
//! @param id The official designation for a nova, e.g. "........" //! @param id The official designation for a nova, e.g. "........"
Nova(const QVariantMap& map); Nova(const QVariantMap& map);
~Nova(); ~Nova();
//! Get a QVariantMap which describes the nova. Could be used to cr eate a duplicate. //! Get a QVariantMap which describes the nova. Could be used to cr eate a duplicate.
QVariantMap getMap(void) const; QVariantMap getMap(void) const;
virtual QString getType(void) const {return "Nova";} virtual QString getType(void) const
{
return NOVA_TYPE;
}
virtual QString getID(void) const
{
return getDesignation();
}
//! 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().
// TODO: Describe the entries! // TODO: Describe the entries!
//! - designation //! - designation
//! - name //! - name
//! - nova-type //! - nova-type
 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/