• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kalzium

KalziumMassGradientType Class Reference

#include <kalziumgradienttype.h>

Inheritance diagram for KalziumMassGradientType:

Inheritance graph
[legend]

List of all members.


Detailed Description

The gradient by atomic mass.

Author:
Pino Toscano

Definition at line 197 of file kalziumgradienttype.h.


Public Member Functions

QByteArray name () const
QString description () const
double value (int el) const
double minValue () const
double maxValue () const
bool logarithmicGradient () const

Static Public Member Functions

static KalziumMassGradientType * instance ()

Member Function Documentation

KalziumMassGradientType * KalziumMassGradientType::instance (  )  [static]

Get its instance.

Reimplemented from KalziumGradientType.

Definition at line 234 of file kalziumgradienttype.cpp.

QByteArray KalziumMassGradientType::name (  )  const [virtual]

Returns the ID of this gradient.

Mainly used when saving/loading.

Implements KalziumGradientType.

Definition at line 245 of file kalziumgradienttype.cpp.

QString KalziumMassGradientType::description (  )  const [virtual]

Returns the description of this gradient.

Used in all the visible places.

Implements KalziumGradientType.

Definition at line 250 of file kalziumgradienttype.cpp.

double KalziumMassGradientType::value ( int  el  )  const [virtual]

Return the value, related to the current gradient, of the element with atomic number el.

It will return -1 if the data is not available.

Implements KalziumGradientType.

Definition at line 255 of file kalziumgradienttype.cpp.

double KalziumMassGradientType::minValue (  )  const [virtual]

Returns the minimum value of the data this gradient represents.

Implements KalziumGradientType.

Definition at line 262 of file kalziumgradienttype.cpp.

double KalziumMassGradientType::maxValue (  )  const [virtual]

Returns the maximum value of the data this gradient represents.

Implements KalziumGradientType.

Definition at line 267 of file kalziumgradienttype.cpp.

bool KalziumMassGradientType::logarithmicGradient (  )  const [virtual]

Returns whether to use a logarithmic gradient instead of a linear one.

Implements KalziumGradientType.

Definition at line 272 of file kalziumgradienttype.cpp.


The documentation for this class was generated from the following files:
  • kalziumgradienttype.h
  • kalziumgradienttype.cpp

kalzium

Skip menu "kalzium"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal