Class IComponentSchemaRegistry

Class Documentation

class IComponentSchemaRegistry

Read-only interface for querying registered component schemas.

Public Functions

virtual ~IComponentSchemaRegistry() = default
virtual csp::common::Array<ComponentSchema> GetAll() const = 0

Returns all registered schemas.

virtual const ComponentSchema *Find(uint64_t TypeId) const = 0

Finds the schema for the given TypeId.

Returns

A pointer to the schema if found, otherwise nullptr.

Protected Functions

IComponentSchemaRegistry() = default
IComponentSchemaRegistry(const IComponentSchemaRegistry&) = delete
IComponentSchemaRegistry(IComponentSchemaRegistry&&) = delete
IComponentSchemaRegistry &operator=(const IComponentSchemaRegistry&) = delete
IComponentSchemaRegistry &operator=(IComponentSchemaRegistry&&) = delete