Immutable callback bundle and shared context for a registered type. More...
#include <schema_registry.hpp>
Public Attributes | |
| std::shared_ptr< const void > | context |
| SchemaDecodeFn | decode = nullptr |
| SchemaEncodeFn | encode = nullptr |
| SchemaRetainedSizeFn | retained_size = nullptr |
Immutable callback bundle and shared context for a registered type.
A registry retains context for its lifetime. Decode, encode, and retained_size must either all be present or all be null.
| std::shared_ptr<const void> pulp::timeline::SchemaCodec::context |
| SchemaDecodeFn pulp::timeline::SchemaCodec::decode = nullptr |
| SchemaEncodeFn pulp::timeline::SchemaCodec::encode = nullptr |
| SchemaRetainedSizeFn pulp::timeline::SchemaCodec::retained_size = nullptr |