next up previous contents
Next: 2.8 The CASE Tool Interface Up: 2. The Algorithm Library Previous: 2.6 Program Flow


2.7 The C++ Programmer Interface

To access class and function definitions provided by the Algorithm Library for the development of new MDL Model classes, Parameter types, or program code utilizing the Algorithm Library in general, it is sufficient to include the C++ header file vmodel.hh and to link the resulting executable or library with the Algorithm Library.

#include "vmodel.hh"

The detailed interface to the central Algorithm Library data structures Parameter, Interface, and Model are declared in the corresponding header files param.hh,
[4]interface.hh, and model.hh.

References to Model instances are accessed by using the C++ type ModelPtr.

A number of functions which provide the Algorithm Library functionality like initialization, shutdown, or Model instance requests are prefixed with the characters mdl and listed within the header file server.hh.



Robert Mlekus
1999-11-14