Using Simkin with your C++ application
Simkin for C++ is distributed in source code format. It has been written in C++
using templates.
Typically you build Simkin into a library to link with your application.
We supply some example project files which build a static library or dynamic library (Windows only).
-
Makefile - for use with Linux and gcc
-
Simkin.dsw - workspace for use with Visual C++ on Windows
in all cases, you will have to add the correct include and libraries for your Xerces-C or Expat distribution.
Simkin source files and classes are all prefixed with "sk" to prevent name
clashes with classes in your own application.
Simkin is composed of a core interpreter, plus support for XML and our own "TreeNode" files.
Simkin supports two XML libraries:
- Expat - this is used in conjunction with Simkin's own XML Document Object Model classes. You need to obtain Expat separately from http://expat.sourceforge.net
- Xerces-C from the Apache Foundation. This library is also *not* included in the Simkin distribution, it can be obtained from http://xml.apache.org/xerces-c
Note for Visual C++ for Windows: you need to build your applications with Code Generation set to "Multithreaded DLL" when using the Xerces-c library
Each file format has its own associated classes: