carb/dictionary

Files

  • carb/dictionary/DictionaryUtils.h: Utility helper functions for common dictionary operations.

  • carb/dictionary/IDictionary.h: carb.dictionary interface definition file.

  • carb/dictionary/ISerializer.h: Interface to handle serializing data from a file format into an carb::dictionary::IDictionary item. This interface is currently implemented in two plugins, each offering a different input/output format - JSON and TOML. The plugins are called carb.dictionary.serializer-json.plugin and carb.dictionary.serializer-toml.plugin . The caller must ensure they are using the appropriate one for their needs when loading, the plugin, acquiring the interface, and performing serialization operations (both to and from strings).