kalzium/libscience
ElementCount Class Reference
#include <moleculeparser.h>
Public Member Functions | |
ElementCount (Element *_element, int _count) | |
ElementCount (Element *_element) | |
~ElementCount () | |
void | add (int _count) |
int | count () const |
Element * | element () const |
void | multiply (int _factor) |
Public Attributes | |
int | m_count |
Element * | m_element |
Detailed Description
Definition at line 30 of file moleculeparser.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
Definition at line 36 of file moleculeparser.h.
|
inline |
Constructor.
Definition at line 45 of file moleculeparser.h.
ElementCount::~ElementCount | ( | ) |
Destructor.
Member Function Documentation
|
inline |
Add _count
occurrences of the Element.
- Parameters
-
_count The number of times the Element occurs
Definition at line 69 of file moleculeparser.h.
|
inline |
- Returns
- the number of occurrences of the Element
Definition at line 63 of file moleculeparser.h.
|
inline |
- Returns
- the Element
Definition at line 58 of file moleculeparser.h.
|
inline |
Definition at line 70 of file moleculeparser.h.
Member Data Documentation
int ElementCount::m_count |
The number of occurrences.
Definition at line 79 of file moleculeparser.h.
Element* ElementCount::m_element |
The Element of the object.
Definition at line 75 of file moleculeparser.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.