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, const CppClassName main_if)

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

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

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

Meta

Authors

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

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

Date

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

License

MPL-2, Mozilla Public License 2.0