You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I needed to create a tool (with Qt) which parses an XML, modify a few thing and write it back to file.
If I use the current kxml_compiler generated code I need to copy the whole parsed structure to do these modifications.
I was thinking about extending the kxml_compiler to add an option which would allow to generate classes having pointer based accessors.
What do you think about this approach?
The text was updated successfully, but these errors were encountered:
That's interesting. But pointers always open up the question about creation and ownership...
Maybe unique_ptr would help (shared_ptr sounds like overkill).
Hi @cornelius, @dfaure
Recently I needed to create a tool (with Qt) which parses an XML, modify a few thing and write it back to file.
If I use the current kxml_compiler generated code I need to copy the whole parsed structure to do these modifications.
I was thinking about extending the kxml_compiler to add an option which would allow to generate classes having pointer based accessors.
What do you think about this approach?
The text was updated successfully, but these errors were encountered: