Products.putFile

Data pushed from the generator to be written to files.

The put value is the code generation tree. It allows the caller of Generator to inject more data in the tree before writing. For example a custom header.

  1. void putFile(AbsolutePath fname, CppHModule hdr_data)
  2. void putFile(AbsolutePath fname, CppHModule impl_data, WriteStrategy strategy)
  3. void putFile(AbsolutePath fname, CppModule impl_data)

Parameters

fname AbsolutePath

file the content is intended to be written to.

Meta