|
SleakEngine 1.0.0
C++23 multi-backend game engine
|
Detects file format and creates the appropriate serialization context. More...
#include <Serializable.hpp>
Static Public Member Functions | |
| static std::unique_ptr< ISerializationContext > | CreateContext (SerializationFormat format) |
| Builds the context implementation matching format. | |
| static SerializationFormat | DetectFormat (const std::string &filePath) |
| Picks a format from filePath's extension (.bin/.json/.yaml/.yml). | |
Detects file format and creates the appropriate serialization context.
Definition at line 85 of file Serializable.hpp.
|
static |
Builds the context implementation matching format.
Definition at line 175 of file Serializable.cpp.
|
static |
Picks a format from filePath's extension (.bin/.json/.yaml/.yml).
Definition at line 164 of file Serializable.cpp.