cpp changes for latebound schema manipulation from Python

This commit is contained in:
Thomas Krijnen
2020-09-08 14:37:50 +02:00
parent 27f358b314
commit 95a29dec7b
6 changed files with 123 additions and 1 deletions
+12
View File
@@ -74,6 +74,18 @@ namespace IfcUtil {
}
};
class IFC_PARSE_API IfcLateBoundEntity : public IfcBaseClass {
private:
const IfcParse::declaration* decl_;
public:
IfcLateBoundEntity(const IfcParse::declaration* decl, IfcEntityInstanceData* data) : IfcBaseClass(data), decl_(decl) {}
virtual const IfcParse::declaration& declaration() const {
return *decl_;
}
};
class IFC_PARSE_API IfcBaseEntity : public IfcBaseClass {
public:
IfcBaseEntity() : IfcBaseClass() {}