65#ifdef COMMONS_HAS_INT128
98#ifdef COMMONS_HAS_INT128
131#ifdef COMMONS_HAS_INT128
231#ifdef COMMONS_HAS_INT128
271#ifdef COMMONS_HAS_INT128
299#ifdef COMMONS_HAS_INT128
327#ifdef COMMONS_HAS_INT128
391inline void register_ulid(ParcelRegistry& reg) {
392 reg.register_kind(UlidCell::descriptor());
402 if (opts.primitives) {
403 register_primitives(reg);
405 if (opts.collections) {
408 if (opts.typed_collections) {
void register_commons(ParcelRegistry ®)
Register the commons-adapter cells into reg.
Definition builtins.h:371
void register_collections(ParcelRegistry ®)
Register the heterogeneous ListCell, MapCell, and HashMapCell into reg.
Definition builtins.h:241
void register_builtins(ParcelRegistry ®, const BuiltinsOptions opts={})
Apply the opts toggles to populate reg with built-in cells.
Definition builtins.h:401
void register_std(ParcelRegistry ®)
Register the std-adapter cells into reg.
Definition builtins.h:353
void register_primitives(ParcelRegistry ®)
Register every PrimitiveCell<T> into reg.
Definition builtins.h:207
void register_typed_collections(ParcelRegistry ®)
Register TypedListCell<P>, TypedMapCell<P>, and TypedHashMapCell<P> for every primitive P.
Definition builtins.h:257
Cell adapters for std::chrono types.
static cell_type_descriptor_t descriptor()
Cached descriptor for ListCell.
Definition list.h:672
static cell_type_descriptor_t descriptor()
Cached descriptor for MapCell.
Definition map.h:658
Runtime catalog of cell-type descriptors, keyed by wire kind id.
Definition registry.h:115
void register_kind(cell_type_descriptor_t d)
Register or replace a descriptor by its kind id.
Definition registry.h:252
ParcelRegistry(BuiltinsOptions opts={})
Construct, optionally tuning which builtins are pre-registered.
Definition builtins.h:427
static cell_type_descriptor_t descriptor()
Cached descriptor for this primitive type.
Definition primitive.h:399
Homogeneous string-keyed unordered_map of values of type T.
Definition unordered_map.h:75
Homogeneous list of element cells of type T.
Definition list.h:106
static cell_type_descriptor_t descriptor()
Cached descriptor for this typed list.
Definition list.h:385
Homogeneous string-keyed map of values of type T.
Definition map.h:106
static cell_type_descriptor_t descriptor()
Cached descriptor for this typed map.
Definition map.h:368
Parcel cell adapters for the aurimasniekis/cpp-commons vocabulary types.
Cell adapter for std::filesystem::path.
TypedListCell<T> and heterogeneous ListCell with their descriptors.
TypedMapCell<T> and heterogeneous MapCell with their descriptors.
PrimitiveCell<T> plus the per-storage PrimitiveTraits<T> specializations.
ParcelRegistry, Definition, and BuiltinsOptions for polymorphic dispatch.
Toggles for the built-in cell registrations performed by register_builtins.
Definition registry.h:50
Optional cell adapter for ulid::Ulid (from aurimasniekis/cpp-ulid).
Hash-backed map cells — TypedHashMapCell<T> and HashMapCell.