Documentation of GeneralQuantities - The Collection of C++ Classes to Handle General Quantities in C++ (preliminary)

Author:
Bernd Speiser Institut für Organische Chemie, Universität Tübingen, Auf der Morgenstelle 18, D-72076 Tübingen, Germany; e-mail: bernd.speiser@uni-tuebingen.de

Contents

  1. Introduction
  2. squantitiesGgeneralQuantitiesQuantities
  3. contact

Introduction

GeneralQuantities is part of Quantities. It defines classes to handle specific quantities of general interest. All GeneralQuantities are based on the C++ classes defined in the Quantity base collection.

Here is a list of the general quantities available in the present version:

General Quantities

... move to file digital.txt ...

This is a list of the general quantities currently available.

Digital Quantity and Units

The Digital quantity is a quantity with storage type bool. Thus, its value can only be true or false. All classes related to Digital are defined in namespace digital. Numerical operations on Digital objects are only allowed as far as they are defined for type bool. Its dimension is (0, 0, 0, 0, 0, 0, 0), i.e. it is dimensionless. Its only unit Unity is a NonPrefixable and is only present for dummy reasons. It is used as the standard and the default unit.

Both variable (Digital) and constant (DigitalConstant) types are defined. Namespace quantity::digital defines two namespace level DigitalConstants On and Off with values true and false, respectively.

Empty Quantity and Units

The Empty Quantity is a quantity which has no usable contents. The derived quantities Empty, EmptyConstant and Empty Vector are a Variable, a Constant, and a VariableVector, respectively. These classes can be used to signify that there is `no' Variable, Constant, or VariableVector.

Contact

Please contact the author of the program at bernd.speiser@uni-tuebingen.de if you have specific questions about the software.

return to Quantities main page


Generated on Mon Jul 27 15:55:46 2009 for Quantities by  doxygen 1.5.3