|
| concept | Serialisable |
| | Concept for classes that can be serialised into a document.
|
| |
| concept | Reconstructable |
| | Concept for classes that can reconstruct an instance from a serialised document object.
|
| |
| concept | Transportable |
| | Concept for classes that can be transported in a serialised document.
|
| |
| concept | Typed |
| | Concept for classes that specify a document type name to reconstruct objects from serialised data.
|
| |
Copyright 2024 Ralph Wessel and Hugh Wessel Distributed under the MIT License (See accompanying file LICENSE.txt or copy at https://opensource.org/license/mit/)
◆ reconstructFunc()
template<typename T >
requires Reconstructable<T>
| void * active::serialise::doc::reconstructFunc |
( |
const Object & | incoming | ) |
|
Factory function to reconstruct an object instance based on an incoming serialised document object
- Parameters
-
| incoming | The incoming document object |
- Returns
- A new instance reconstructed from the document object (nullptr on failure)