I have to do a porting of a project and I need to be compliant with the old xml config file which is a custom xml file.
The interface of your lib is interesting so I thought to modify the C++ part of the library and I made these changes:
- I create two abstract classes SettingBase and ConfigBase into libconfigBase.hpp
- I create two derived classes, SettingCFG and ConfigCFG, derived from those above into libconfigCFG.hpp
In this way I can write a SettingXML and ConfigXML classes which will have the same interface.
If it could be interesting, let me know.