Schemas and Gencpp
Gencpp is a replacement for chgen that generates C++ code skeletons, taking data member definitions from DSD models, and (TBD) method definitions from state models.
Each table definition in the schema will be converted by gencpp into a declaration of three or more classes:
- a corresponding C++ class whose data members are the table’s attributes and whose instances are the table rows;
- an instantiation of a generic container class for the table itself;
- a linked list class for each parent-child relationship that appears in the schema.
- TBD: Add action (method) names and signatures as attributes in schema diagrams.