summaryrefslogtreecommitdiff
path: root/lib/persistence.h
Commit message (Collapse)AuthorAge
* Tidy many stringy messes with std::formatDan Goodliffe2024-06-04
|
* Add read persistence support for tuple and pairDan Goodliffe2024-02-26
|
* Support extra arguments in SelectionV::make_sDan Goodliffe2024-02-26
|
* Integer support in persistenceDan Goodliffe2024-01-09
| | | | | Splits bool and arithmatic types, pass arithmatic values as string views from JSON and parse according to the target type.
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Add persistence support for std::optional<>sDan Goodliffe2023-03-20
|
* Lazy initialisation of SelectionPtr in persistValueDan Goodliffe2023-03-20
| | | | Always needed for write phase, but only need on read if their's a name match.
* Add postLoad support to persistenceDan Goodliffe2023-03-14
|
* Replace SelectionT for glm::vec with one for std::span, reimplement it as a ↵Dan Goodliffe2023-03-05
| | | | | | wrapper All the implementation is now shared, regardless of length and qualifier.
* Add ParseBaseDan Goodliffe2023-03-02
| | | | Acts as a base class for persistence parser, encompasses the parse stack and manages shared objects
* Remove to specify if the Selection pointer type is shared or notDan Goodliffe2023-02-28
| | | | Inferred based on whether the pointer is copyable or not.
* Support parsing string values in persistence readDan Goodliffe2023-02-23
|
* Fixup MapByMember to work with shared or unique ptrDan Goodliffe2023-02-22
|
* Move Appender in Persistence NS and simplify typesDan Goodliffe2023-02-21
|
* Add helper Selection to insert into a map based on a member value as keyDan Goodliffe2023-02-21
|
* Accept a CSV for glm::vec dataDan Goodliffe2023-02-21
|
* Allow override member variable names and selection helper when mapping ↵Dan Goodliffe2023-02-21
| | | | members for persistence
* Make sure an object is created before remembering itDan Goodliffe2023-02-21
|
* Swap @ prefix for p. prefix for special value namesDan Goodliffe2023-02-20
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Fix up all remaining warningsDan Goodliffe2021-11-28
|
* Fix up lots of static analyzer warningsDan Goodliffe2021-11-27
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Don't write null value for pointersDan Goodliffe2021-11-07
| | | | Null is a sensible default which can't be defaulted to anything else sane
* Implement writing shared objects with @idDan Goodliffe2021-11-07
|
* Import setValue, silence clang warningDan Goodliffe2021-11-07
|
* Initial commit where writing objects back out to JSONDan Goodliffe2021-11-07
| | | | It's not perfect, writes explicit nulls, doesn't do shared @id
* Fixup clang, cppcheck and iwyu warningsDan Goodliffe2021-11-07
|
* Pass new values more efficientlyDan Goodliffe2021-11-07
|
* Error on bad cast of referenced objectDan Goodliffe2021-11-07
|
* Error on bad cast of named typeDan Goodliffe2021-11-07
|
* Common implementation for shared and unique pointersDan Goodliffe2021-11-07
|
* Fix the fact I've been spelling persistence wrong this whole timeDan Goodliffe2021-11-07