optimad / bitpit

Open source library for scientific HPC
http://optimad.github.io/bitpit/
GNU Lesser General Public License v3.0
117 stars 33 forks source link

IO/config: parse from XML/JSON formatted string #309

Closed roccoarpa closed 2 years ago

roccoarpa commented 2 years ago

Added Config specialization class (ConfigStringParser) to read and write XML (or JSON) directly from and onto c++ string. The class is useful to exhange info without passing from filesystem each time.

Enhanced IO integration tests 2 e 4 to prove the capabilities of the new class.

roccoarpa commented 2 years ago

@edoardolombardi FYI, since it's needed by mimic pull https://github.com/optimad/mimic/pull/386

roccoarpa commented 2 years ago

For other questions: i think is not worth doing the works asked right now, since we need to rework the class very soon anyway. But if you are not 100% convinced, i can throw away this pull and move the current code elsewhere. Let me know.

roccoarpa commented 2 years ago

moved elsewhere.