company logo

User interface functions

When an operation is critical concerning performance, it might be a good solution replacing expressions by C or C++ functions. ODABA provides a OSI function interface generator, which allows calling functions written in C or C++. When calling interface functions e.g. for Person, you must define the functions in the Person class as OSI interface functions and generating the class interface. Afterwards, one may call functions from the interface rather than calling expressions.

This usually does not affect the access path, since the function interface supports the same parameter types as an expression call.