Class geometry_serializer_registry

Nested Relationships

Nested Types

Class Documentation

class geometry_serializer_registry

Public Types

std::function< std::shared_ptr< geometry_serializer >const geometry_serializer_context &)> create_fn
typedef std::function<void(geometry_serializer_context&)> configure_fn

Public Functions

void bind(const geometry_serializer_info &info, create_fn create, configure_fn configure = configure_fn(), const ifcopenshell::plugin::module &module = ifcopenshell::plugin::module())
bool has(const std::string &extension) const
const geometry_serializer_info *find(const std::string &extension) const
void configure(const std::string &extension, geometry_serializer_context &context) const
std::shared_ptr<geometry_serializer> create(const std::string &extension, const geometry_serializer_context &context) const
std::vector<geometry_serializer_info> serializers() const