Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

gcu Namespace Reference


Classes

class  gcu::Atom
class  gcu::Bond
class  gcu::CrystalAtom
class  gcu::CrystalCleavage
class  gcu::CrystalDoc
class  gcu::CrystalLine
class  gcu::CrystalView
class  gcu::Document
class  gcu::Element
class  gcu::Matrix
class  gcu::Matrix2D
class  gcu::Object
class  gcu::CrystalAtomList
class  gcu::CrystalClevageList
class  gcu::CrystalLineList

Typedefs

typedef unsigned TypeId

Enumerations

enum  gcLattices
enum  CrystalLineType
enum  MatrixType
enum  RuleId


Detailed Description

The namespace used for all C++ classes provided by the Gnome Chemistry Utils.


Typedef Documentation

typedef unsigned gcu::TypeId
 

This enumeration is used to determine the type of an Object instance. Possible values are:

  • NoType: invalid type
  • AtomType: an atom
  • FragmentType: several atoms linked and represented by a text such as COOH (only in GChemPaint).
  • BondType: a bond between two (or more) atoms.
  • MoleculeType: a molecule.
  • ChainType: a chain of atoms (only in GChemPaint)
  • CycleType: a cycle (only in GChemPaint)
  • ReactantType: a molecule involved in a reaction (only in GChemPaint).
  • ReactionArrowType: a reaction arrow (only in GChemPaint).
  • ReactionOperatorType: a + sign in a reaction (only in GChemPaint).
  • ReactionType: a reaction.
  • MesomeryType: a mesomery representation (only in GChemPaint).
  • MesomeryArrowType: a double headed arrow used to represent mesomery (only in GChemPaint).
  • DocumentType: a document, generally the top node in the objects tree.
  • TextType: some text (only in GChemPaint).
  • OtherType: if the type of an object is at least equal to OtherType, then it is a dynamically created type returned by the static Object::AddType method.
Some types are not used in the Gnome Chemistry Utils, but only in GChemPaint and might disappear from this list in future versions and replaced by dynamically created types.

Definition at line 92 of file object.h.

Referenced by gcu::Object::GetType().


Enumeration Type Documentation

enum CrystalLineType
 

crystalviewer/crystalline.h The type of a CrystalLine instance. Possible values are:

  • edges: all the cell edges.
  • diagonals: the lines joining opposite vertices of a cell.
  • medians: the lines joining the centers of opposite faces of a cell.
  • normal: a line with defined ends, repeated in each displayes cell.
  • unique: a line with defined ends, not repeated.

Definition at line 46 of file crystalline.h.

Referenced by gcu::CrystalLine::Type().

enum gcLattices
 

crystalviewer/crystaldoc.h This enumeration gives sympolic names to the fourteen Bravais lattices.

Possible values are:

  • cubic
  • body_centered_cubic
  • face_centered_cubic
  • hexagonal
  • tetragonal
  • body_centered_tetragonal
  • orthorhombic
  • base_centered_orthorhombic
  • body_centered_orthorhombic
  • face_centered_orthorhombic
  • rhombohedral
  • monoclinic
  • base_centered_monoclinic
  • triclinic

Definition at line 61 of file crystaldoc.h.

enum MatrixType
 

This enumeration is used to determine the type a Matrix. Possible values are:

  • euler: matrix used to find absolute positions from the position inside the solid using Euler's angles.
  • antieuler: the inverse of euler.
  • rotation: matrix representing the rotation to apply to the solid.
This enumeration is used in one of the constructors (Matrix(Psi, Theta, Phi, Type)) of class Matrix.

Definition at line 43 of file matrix.h.

enum RuleId
 

This enumeration is used to maintain a set of rules about the possible hierarchical of the document. They are used with two class names or ids. Possible values are:

  • RuleMayContain: an instance of the first class may contain an instance of the second. This implies that an instance of the second class may be in an instance of the first (see RuleMayBeIn);
  • RuleMustContain: an instance of the first class may contain an instance of the second class (implies RuleMayContain); if no instance of the first class is present, the object is not valid.
  • RuleMayBeIn: an instance of the first class may be the child of an instance of the second class (see also RuleMayContain);
  • RuleMustBeIn:an instance of the first class must be the child of an instance of the second class, otherwise it is not valid.

Definition at line 106 of file object.h.


Generated on Sat Aug 13 22:22:42 2005 for The Gnome Chemistry Utils by  doxygen 1.3.9.1