Repository navigation
Version 1.1.0
[Summary]
StormByte Config is the configuration-document module of the StormByte C++ suite.
It depends on StormByte Base. This repository is not Base, Buffer, Crypto, Database, Logger, Multimedia, Network or System.
Public headers under StormByte/config/ cover text and versioned binary documents: values, groups, lists, comments, hooks and Save / Load.
If you landed here from a release link and have not read the tree:
- What this module is, how to build it, and short examples: README.md
- License: GNU Lesser General Public License version 3 or later, LICENSE
Added
Addpointer overloads: AddedAdd(Base::PointerType)overloads toConfigandContainerfor direct item pointer insertion.
Fixed
- Container path exception safety: Prevented stock C++ exception leaks (
std::out_of_range,std::invalid_argument) when looking up or removing numeric or malformed container paths, throwingStormByte::Config::OutOfBoundsorStormByte::Config::InvalidPathinstead. - Double precision serialization: Switched
Value<double>::Serializetostd::formatfor full floating-point precision and ensured integer-like floating point values maintain a.0suffix so they are recognized as Double tokens by the parser. - Container null item protection: Added null pointer check at the start of
Container::Addto prevent null pointer dereferences when propagating container policies.
Changed
- Exception handling: Ported
StormByte::Config::Exceptionconstructors to passStormByte::Component("Config")introduced in StormByte Base 1.1.0, automatically formatting exception messages withStormByte::Config:. - Dependencies: Requires StormByte Base ≥ 1.1.0.
- Type traits: Replaced stock C++ type traits (
std::is_same_v,std::is_base_of_v) with StormByte flavor equivalents (StormByte::Type::SameAs,StormByte::Type::DerivedFrom).