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

kalzium/libscience

Public Member Functions | Public Attributes | List of all members
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

Author
Inge Wallin

Definition at line 30 of file moleculeparser.h.

Constructor & Destructor Documentation

ElementCount::ElementCount ( Element *  _element,
int  _count 
)
inline

Constructor.

Definition at line 36 of file moleculeparser.h.

ElementCount::ElementCount ( Element *  _element)
inline

Constructor.

Definition at line 45 of file moleculeparser.h.

ElementCount::~ElementCount ( )

Destructor.

Member Function Documentation

void ElementCount::add ( int  _count)
inline

Add _count occurrences of the Element.

Parameters
_countThe number of times the Element occurs

Definition at line 69 of file moleculeparser.h.

int ElementCount::count ( ) const
inline
Returns
the number of occurrences of the Element

Definition at line 63 of file moleculeparser.h.

Element* ElementCount::element ( ) const
inline
Returns
the Element

Definition at line 58 of file moleculeparser.h.

void ElementCount::multiply ( int  _factor)
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:
  • moleculeparser.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:31 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kalzium/libscience

Skip menu "kalzium/libscience"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal