Skip to content
Discussion options

You must be logged in to vote

Ah I had a closer look and of course my code example is too simple, because of the following issues in the TiGL source code:

  1. IMHO, there is a dependency issue in the generated code, where a class associated with an xml node gets a constructor for every possible parent node. As a consequence, CPACSTransformation explicitly depends on all classes that use it. We can't construct a base class instance CPACSTransformation of CCPACSTransformation if the parent uses the other transformation type CCPACSTransformationSE3. The dependency should be inversed. Maybe something to fix at a later point 😁
  2. A CTiglRelativelyPositionedComponent doesn't store a CCPACSTransformation by value but by reference …

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

MarAlder
Mar 18, 2025
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MarAlder
Comment options

MarAlder
Mar 21, 2025
Collaborator Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants