Pulsar.hpp   Pulsar.hpp 
skipping to change at line 45 skipping to change at line 45
//! @class Pulsar //! @class Pulsar
//! A Pulsar object represents one pulsar on the sky. //! A Pulsar object represents one pulsar on the sky.
//! Details about the Pulsars are passed using a QVariant which contains //! Details about the Pulsars are passed using a QVariant which contains
//! a map of data from the json file. //! a map of data from the json file.
//! @ingroup pulsars //! @ingroup pulsars
class Pulsar : public StelObject class Pulsar : public StelObject
{ {
friend class Pulsars; friend class Pulsars;
public: public:
static const QString PULSAR_TYPE;
//! @param id The official designation for a pulsar, e.g. "PSR J1919 +21" //! @param id The official designation for a pulsar, e.g. "PSR J1919 +21"
Pulsar(const QVariantMap& map); Pulsar(const QVariantMap& map);
~Pulsar(); ~Pulsar();
//! Get a QVariantMap which describes the pulsar. Could be used to c reate a duplicate. //! Get a QVariantMap which describes the pulsar. Could be used to c reate a duplicate.
// TODO: Add proper documentation of these fields! // TODO: Add proper documentation of these fields!
//! - designation //! - designation
//! - parallax //! - parallax
//! - bperiod //! - bperiod
//! - frequency //! - frequency
skipping to change at line 74 skipping to change at line 76
//! - s600 //! - s600
//! - s1400 //! - s1400
//! - distance //! - distance
//! - glitch //! - glitch
//! - notes //! - notes
QVariantMap getMap(void) const; 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 "Pulsar"; return PULSAR_TYPE;
}
virtual QString getID(void) const
{
return designation;
} }
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::getInfoMap(), but with a few extra tags also available in getMap(), except for designation, RA and DE fields. //! Return a map like StelObject::getInfoMap(), but with a few extra tags also available in getMap(), except for designation, RA and DE fields.
virtual QVariantMap getInfoMap(const StelCore *core) const; virtual QVariantMap getInfoMap(const StelCore *core) const;
 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/