mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 11:33:38 +00:00
Replace Boost function callbacks
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -7,8 +7,7 @@
|
||||
|
||||
#include "ifc_geomserialization_api.h"
|
||||
|
||||
#include <boost/function.hpp>
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
@@ -21,8 +20,8 @@ namespace ifcopenshell {
|
||||
namespace ifcopenshell::geom {
|
||||
class IFC_GEOMSERIALIZATION_API opencascade_geometry_ifc_writer_registry {
|
||||
public:
|
||||
typedef boost::function3<express::base, ifcopenshell::file&, const conversion_result_shape&, double> tesselate_fn;
|
||||
typedef boost::function3<express::base, ifcopenshell::file&, const conversion_result_shape&, bool> serialise_fn;
|
||||
typedef std::function<express::base(ifcopenshell::file&, const conversion_result_shape&, double)> tesselate_fn;
|
||||
typedef std::function<express::base(ifcopenshell::file&, const conversion_result_shape&, bool)> serialise_fn;
|
||||
|
||||
void bind(const std::string& schema_name, serialise_fn serialise, tesselate_fn tesselate, const ifcopenshell::plugin::module& module = ifcopenshell::plugin::module());
|
||||
express::base tesselate(ifcopenshell::file& f, const conversion_result_shape& shape, double deflection) const;
|
||||
|
||||
Reference in New Issue
Block a user