parcel 0.2.2
Wrappable, wire-transferable C++23 value system with JSON serialization
Loading...
Searching...
No Matches
parcel::BuiltinsOptions Struct Reference

Toggles for the built-in cell registrations performed by register_builtins. More...

#include <registry.h>

Public Attributes

bool primitives = true
 Register every PrimitiveCell<T>.
 
bool collections = true
 Register ListCell, MapCell, and HashMapCell (heterogeneous).
 
bool typed_collections = true
 Register TypedListCell<P>, TypedMapCell<P>, and TypedHashMapCell<P> for every primitive P.
 
bool std = true
 Register the std-adapter cells: SystemTimePointCell, UnixMillisCell, DurationMsCell, YmdCell, PathCell.
 
bool commons = true
 Register the commons cells: ColorCell, IconCell, DisplayInfoCell, FlagCell, FlagSetCell, SemVerCell, VersionConstraintCell, OriginCell.
 
bool ulid = true
 Register UlidCell (only takes effect when the ULID dependency is enabled — PARCEL_HAS_ULID; an inert flag otherwise).
 

Detailed Description

Toggles for the built-in cell registrations performed by register_builtins.

Defaults register everything: primitives, the heterogeneous ListCell / MapCell, a TypedListCell<P> / TypedMapCell<P> for every primitive P, the std-adapter cells (SystemTimePointCell, UnixMillisCell, DurationMsCell, YmdCell, PathCell), the commons-adapter cells, and — when the ULID dependency is enabled (PARCEL_HAS_ULID) — UlidCell.

See also
register_builtins

The documentation for this struct was generated from the following file: