Go to the first, previous, next, last section, table of contents.


CNgenclass Script

To generate new classes for the CNCL hierarchy in a convenient way, the utility CNgenclass is provided. It generates a class framework with all the functions required by CNCL.

Usage:

CNgenclass name base

The required parameters are the name of the class to be created and the name of the base class. The result are two files in the current directory: name.h (class header file) and name.c (class implementation file).

Example:

CNgenclass MyClass CNObject

creates the files MyClass.h and MyClass.c. Please note that a leading "CN" is removed from the file names.


Go to the first, previous, next, last section, table of contents.