Therefore, after reading the XML file, only the first model is specified completely. Any additional models need to be filled in completely before that can be evaluated.
This file will copy the base model the correct number of times, and then apply modifications specified in the XML representation.
Definition in file yanera_model_build.h.
|void||yanera_complete_models (yanera_container *yanera)|
|Fills in all models with the base model. |
|void||copyModel (yanera_model *destination, yanera_model *source)|
|Makes a copy of a |
|void||modifyModel (yanera_model *destination, yanera_model *source)|
|Alters models to reflect differences from first, base model. |
|void||modifyComponents (yanera_model *destination, yanera_layer *component)|
|Connects common components with their layers. |
|void yanera_complete_models||(||yanera_container *||yanera||)|
First step is to modify the base model by the extra models. Second step is to connect the extra model to the common components, if any. The last step is to convert any function expressions form infix to postfix.