cpptooling.generator.func

Members

Functions

generateFuncImpl
void generateFuncImpl(CFunction f, CppModule impl)

Generates a C implementation calling the test double via the matching interface.

makeFuncInterface
CppClass makeFuncInterface(Tr r, CppClassName main_if)

Create a C++ interface of funcs in range to allow the user to supply an implementation.

makeFuncInterface
CppClass makeFuncInterface(Tr r, CppClassName name, CppNsStack ns)

Create a C++ interface of funcs in range to allow the user to supply an implementation.

Meta

Date

Date: 2015-2017, Joakim Brännström

License

MPL-2, Mozilla Public License 2.0

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

Utilities for translation, making and generation of test doubles for functions.