mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 03:19:53 +00:00
Unify variant storage (#5118)
This commit is contained in:
@@ -441,7 +441,7 @@ class IFC_PARSE_API instance_factory {
|
||||
public:
|
||||
virtual ~instance_factory() {}
|
||||
|
||||
virtual IfcUtil::IfcBaseClass* operator()(IfcEntityInstanceData* data) const = 0;
|
||||
virtual IfcUtil::IfcBaseClass* operator()(const IfcParse::declaration* decl, IfcEntityInstanceData&& data) const = 0;
|
||||
};
|
||||
|
||||
class IFC_PARSE_API schema_definition {
|
||||
@@ -507,7 +507,7 @@ class IFC_PARSE_API schema_definition {
|
||||
|
||||
const std::string& name() const { return name_; }
|
||||
|
||||
IfcUtil::IfcBaseClass* instantiate(IfcEntityInstanceData* data) const;
|
||||
IfcUtil::IfcBaseClass* instantiate(const IfcParse::declaration* decl, IfcEntityInstanceData&& data) const;
|
||||
};
|
||||
|
||||
IFC_PARSE_API const schema_definition* schema_by_name(const std::string&);
|
||||
|
||||
Reference in New Issue
Block a user