20#ifndef GEODE_TYPEREGISTRY_H_
21#define GEODE_TYPEREGISTRY_H_
25#include "Serializable.hpp"
26#include "internal/geode_globals.hpp"
68 TypeFactoryMethod getCreationFunction(int32_t);
70 std::shared_ptr<PdxSerializer> getPdxSerializer();
Registry for custom serializable types, both PDXSerializable and DataSerializable.
Definition: TypeRegistry.hpp:39
void registerType(TypeFactoryMethod creationFunction, int32_t id)
register an instance factory method for a given type.
void registerPdxType(TypeFactoryMethodPdx creationFunction)
register an Pdx instance factory method for a given type.
void registerPdxSerializer(std::shared_ptr< PdxSerializer > pdxSerializer)
Register the PDX serializer which can handle serialization for instances of user domain classes.