22#include <StormByte/exception.hxx>
23#include <StormByte/expected.hxx>
51 enum class Mode:
unsigned short {
Config module of the StormByte suite.
Definition alias.hxx:29
OnExistingAction
Forward declaration of the configuration document.
Definition typedefs.hxx:35
@ Keep
Retain the existing item.
@ Overwrite
Replace the existing item with the new one.
@ ThrowException
Throw an exception to indicate the conflict.
StormByte::Expected< Config, StormByte::Exception > ExpectedConfig
Result of loading a configuration document (text or binary).
Definition typedefs.hxx:62
Mode
Serialization / deserialization mode for configuration documents.
Definition typedefs.hxx:51
@ Text
Human-readable configuration syntax (UTF-8 text).