C++ Classes

This description of classes addresses new users, who want to learn about functionality, as well as rather experienced users, who use it like a reference book.

But each class is not just described separately. An inheritance hierarchy displays related classes as well as sample applications and cross references/hyperlinks to other classes show applicability.

Unter einer Klasse versteht man eine software-technische Beschreibung von Objekten mit gleichen Eigenschaften. Im ClassiX® InstantView® Modell beginnen alle Klassennamen mit dem Kürzel "CX_".

Beispiel

Die Klasse "Datum" (CX_DATE) beschreibt den Aufbau eines Datums und die Operationen, die auf ein (beliebiges) Datum angewendet werden können. So besteht ein Datum aus einer Tages-, Monats- und Jahresangabe. Eine Operation, die für ein Datum ausführbar sein könnte, ist die Rückgabe seines Wochentages. Der "26. März 1996" stellt nun eine Ausprägung dieser Klasse dar, ist also ein Objekt. Wird für dieses Objekt die Methode "Rückgabe des Wochentages" aufgerufen, so erhält man als Ergebnis "Dienstag".

Basic class structure

All business objects inside the ClassiX® InstantView® architecture have been derived from the class CX_CLASS. This class is primarily basic class for the polymorphism of arithmetic and relational operators of all  ClassiX® InstantView® objects and it allows for the object type identification during runtime.

Two main segments have been derived from this class in ClassiX® InstantView®:

 

On the one hand, the basic classes in the ClassiX® InstantView® company model are derived from CX_CLASS. They are assigned to the elemental and special data types as well as tool classes.

On the other hand the actual model classes are derived from one another across many levels.

In each inheritance stage, the derived classes are upgraded in reference to their features. With this, objects of the type CX_SIMPLE provide information about the status, objects of the type  CX_TERMED can be restrained in their validity, objects of the type CX_EXPANDABLE can be upgraded at any time with any other attributes (Slots) and additionally have a clear identification, objects of the type CX_OBJECT allow for access restrictions and finally objects of the type CX_STRUCTURED can be structured in any possible way.

Since all these classes are part of one inheritance chain, all objects always inherit all features from the classes below.

The class reference finally addresses the versed user, who requires information about a particular class.

Objects Description
class reference class overview
fundamental data types Special classes with the main function being the most efficiently organized storage of integers and text in the database.
special data types Objects that actually belong to the fundamental data types, since they are daily used as such data types, but are nevertheless not available as a data type in IT by default.
arithmetics Objects that can be linked to other objects with arithmetic operators.
tools Tool classes that provide further services for the user.
information objects Have information ready for other objects.
controlling objects administer other objects
business objects are the main actors in a company
transactions describe all company activities