next up previous contents
Next: The Main Program Up: Getting Started with Shore Previous: Defining Data Types

 

Implementing the Operations

The second step in building an application is to write the code that implements the operations of its interfaces. Currently, this code must be written in C++. The Shore project intends to support other implementation languages in future releases. The implementation code for the search tree example is contained in four files, one for each interface: tree.C, word.C, cite.C, and document.C.

On the whole, this code is similar to the code one would write to implement the C++ classes generated from the interface definitions. However, there are several points to note:



next up previous contents
Next: The Main Program Up: Getting Started with Shore Previous: Defining Data Types



Marvin Solomon
Fri Aug 2 13:40:31 CDT 1996