ores.cpp.generator
Table of Contents
This page is the node for the ores.cpp.generator facet of the codegen
template library, part of the ores.cpp technical space. Each archetype
below is documented, and holds its mustache source, in its own
linked page — this page is the facet-level summary and the routing
table to them.
Summary
Two templates: the faker-based test-data generator for an entity's
value type — declaration and faker-cxx implementation — one synthetic
instance per call. generator profile.
The ores.cpp.generator facet
Sibling to ores.cpp.domain: produces synthetic instances of the domain class for tests. Column loops dispatch on per-field type flags to choose the matching faker-cxx call and any generation constraints.
Archetypes
| Archetype | Description |
|---|---|
| ores.cpp.generator.generator_header | Generator class declaration. generator profile. |
| ores.cpp.generator.generator_impl | faker-cxx generation per column type. generator profile. |
See also
- ores.cpp — the parent technical space's generated facet/archetype catalogue and shared Mustache conventions.
- C++ Technical Space — the domain-concept overview of this technical space.
- Codegen template library — the groups overview.