Part Geometry: get an extension from type or name, also from python

This commit is contained in:
Abdullah Tahiri
2019-02-11 17:04:30 +01:00
committed by wmayer
parent afbe1df322
commit 11793ba0b2
4 changed files with 63 additions and 16 deletions

View File

@@ -102,6 +102,7 @@ public:
bool hasExtension(Base::Type type) const;
bool hasExtension(std::string name) const;
const std::weak_ptr<GeometryExtension> getExtension(Base::Type type) const;
const std::weak_ptr<GeometryExtension> getExtension(std::string name) const;
void setExtension(std::unique_ptr<GeometryExtension> &&geo);
void deleteExtension(Base::Type type);
void deleteExtension(std::string name);