Quasar.hpp   Quasar.hpp 
skipping to change at line 45 skipping to change at line 45
//! @class Quasar //! @class Quasar
//! A Quasar object represents one Quasar on the sky. //! A Quasar object represents one Quasar on the sky.
//! Details about the Quasars are passed using a QVariant which contains //! Details about the Quasars are passed using a QVariant which contains
//! a map of data from the json file. //! a map of data from the json file.
//! @ingroup quasars //! @ingroup quasars
class Quasar : public StelObject class Quasar : public StelObject
{ {
friend class Quasars; friend class Quasars;
public: public:
static const QString QUASAR_TYPE;
//! @param id The official designation for a quasar, e.g. "RXS J0006 6+4342" //! @param id The official designation for a quasar, e.g. "RXS J0006 6+4342"
Quasar(const QVariantMap& map); Quasar(const QVariantMap& map);
~Quasar(); ~Quasar();
//! Get a QVariantMap which describes the Quasar. Could be used to create a duplicate. //! Get a QVariantMap which describes the Quasar. Could be used to create a duplicate.
//! - designation //! - designation
//! - Vmag //! - Vmag
//! - Amag //! - Amag
//! - bV //! - bV
//! - RA //! - RA
//! - DE //! - DE
//! - z //! - z
QVariantMap getMap(void) const; QVariantMap getMap(void) const;
virtual QString getType(void) const virtual QString getType(void) const
{ {
return "Quasar"; return QUASAR_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(). //! Return a map like StelObject::getInfoMap(), but with a few extra tags also available in getMap().
// TODO: Describe the fields. // TODO: Describe the fields.
 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/