Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor XML helper code and move some to ContainerUtils #799

Merged
merged 17 commits into from
Aug 22, 2020

Conversation

DanRStevens
Copy link
Collaborator

Reference: #797

Prep-work for updating the Sprite XML loading code. This cleans up some of the Configuration XML loading code, preparing it for re-use by the Sprite class. Added is the ability to version check the root element. Some helper code needed for common error reporting tasks was split and partially moved to ContainerUtils.h. Ability to merge key/value containers, where the values themselves may be containers was moved to ContainerUtils.h.

Some more prep-work is needed, as the XML processing code is still contained in an unnamed namespace in the Configuration code, which makes it impossible to use from the Sprite code.

@DanRStevens DanRStevens merged commit a94a842 into master Aug 22, 2020
@DanRStevens DanRStevens deleted the refactorXmlHelperCode branch August 22, 2020 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant