|
parcel 0.2.2
Wrappable, wire-transferable C++23 value system with JSON serialization
|
Descriptor for the heterogeneous MapCell.
More...
#include <map.h>


Public Member Functions | |
| descriptor::CellCategory | category () const override |
| Coarse classification (primitive, list, struct, …). | |
| cell_t | cell_from_json (const json_t &j, const ParcelRegistry ®) const override |
Construct a cell from JSON, dispatching to the concrete from_json. | |
Public Member Functions inherited from parcel::BaseCellTypeDescriptor< MapCell > | |
| BaseCellTypeDescriptor (DisplayInfo info) | |
| Construct with the given display info. | |
Additional Inherited Members | |
Static Public Attributes inherited from parcel::BaseCellTypeDescriptor< MapCell > | |
| static constexpr std::string_view | kind_id |
Wire-stable kind id, lifted from T::kind_id. | |
Protected Member Functions inherited from parcel::BaseCellTypeDescriptor< MapCell > | |
| json_t | base_to_json () const |
Common JSON skeleton (kind, display_info, category) reused by overrides. | |
Protected Attributes inherited from parcel::BaseCellTypeDescriptor< MapCell > | |
| DisplayInfo | display_info_ |
| Stored display info. | |
Descriptor for the heterogeneous MapCell.
Reports CellCategory::Map so registry consumers can distinguish the heterogeneous map from typed maps and primitives.
|
inlineoverridevirtual |
Construct a cell from JSON, dispatching to the concrete from_json.
| j | JSON object to deserialize. |
| reg | Registry used to resolve nested polymorphic cells. |
| std::runtime_error | on shape or kind mismatch. |
Implements parcel::ICellTypeDescriptor.