App::ExtensionContainer Class Reference

Container which can hold extensions. More...

#include <ExtensionContainer.h>

Public Types

typedef std::map< Base::Type, App::Extension * >::iterator ExtensionIterator
 

Public Member Functions

ExtensionIterator extensionBegin ()
 
 ExtensionContainer ()
 
ExtensionIterator extensionEnd ()
 
App::ExtensiongetExtension (Base::Type, bool derived=true, bool no_except=false) const
 
App::ExtensiongetExtension (const std::string &name) const
 
template<typename ExtensionT >
ExtensionTgetExtensionByType (bool no_except=false, bool derived=true) const
 
std::vector< Extension * > getExtensionsDerivedFrom (Base::Type type) const
 
template<typename ExtensionT >
std::vector< ExtensionT * > getExtensionsDerivedFromType () const
 
bool hasExtension (Base::Type, bool derived=true) const
 
bool hasExtension (const std::string &name) const
 
bool hasExtensions () const
 
void registerExtension (Base::Type extension, App::Extension *ext)
 
virtual ~ExtensionContainer ()
 
Access properties
virtual PropertygetPropertyByName (const char *name) const override
 find a property by its name More...
 
virtual const char * getPropertyName (const Property *prop) const override
 get the name of a property More...
 
virtual void getPropertyMap (std::map< std::string, Property * > &Map) const override
 get all properties of the class (including properties of the parent) More...
 
virtual void getPropertyList (std::vector< Property * > &List) const override
 get all properties of the class (including properties of the parent) More...
 
virtual short getPropertyType (const Property *prop) const override
 get the Type of a Property More...
 
virtual short getPropertyType (const char *name) const override
 get the Type of a named Property More...
 
virtual const char * getPropertyGroup (const Property *prop) const override
 get the Group of a Property More...
 
virtual const char * getPropertyGroup (const char *name) const override
 get the Group of a named Property More...
 
virtual const char * getPropertyDocumentation (const Property *prop) const override
 get the Group of a Property More...
 
virtual const char * getPropertyDocumentation (const char *name) const override
 get the Group of a named Property More...
 
virtual void onChanged (const Property *) override
 get called by the container when a property has changed More...
 
virtual void Save (Base::Writer &writer) const override
 This method is used to save properties to an XML document. More...
 
virtual void Restore (Base::XMLReader &reader) override
 This method is used to restore properties from an XML document. More...
 
void saveExtensions (Base::Writer &writer) const
 
void restoreExtensions (Base::XMLReader &reader)
 
- Public Member Functions inherited from App::PropertyContainer
virtual App::PropertyaddDynamicProperty (const char *type, const char *name=0, const char *group=0, const char *doc=0, short attr=0, bool ro=false, bool hidden=false)
 
virtual App::PropertygetDynamicPropertyByName (const char *name) const
 
DynamicProperty::PropData getDynamicPropertyData (const Property *prop) const
 
virtual std::vector< std::string > getDynamicPropertyNames () const
 
virtual std::string getFullName () const
 
virtual unsigned int getMemSize (void) const
 This method is used to get the size of objects It is not meant to have the exact size, it is more or less an estimation which runs fast! Is it two bytes or a GB? More...
 
const char * getPropertyPrefix () const
 
bool isHidden (const char *name) const
 check if the named property is hidden More...
 
bool isHidden (const Property *prop) const
 check if the property is hidden More...
 
bool isReadOnly (const char *name) const
 check if the named property is read-only More...
 
bool isReadOnly (const Property *prop) const
 check if the property is read-only More...
 
virtual void onPropertyStatusChanged (const Property &prop, unsigned long oldStatus)
 
 PropertyContainer ()
 A constructor. More...
 
virtual bool removeDynamicProperty (const char *name)
 
void setPropertyPrefix (const char *prefix)
 
void setPropertyStatus (unsigned char bit, bool value)
 set the Status bit of all properties at once More...
 
virtual ~PropertyContainer ()
 A destructor. More...
 
- Public Member Functions inherited from Base::Persistence
void dumpToStream (std::ostream &stream, int compression)
 
virtual Base::Type getTypeId (void) const
 
virtual void RestoreDocFile (Reader &)
 This method is used to restore large amounts of data from a file In this method you simply stream in your SaveDocFile() saved data. More...
 
void restoreFromStream (std::istream &stream)
 
virtual void SaveDocFile (Writer &) const
 This method is used to save large amounts of data to a binary file. More...
 
- Public Member Functions inherited from Base::BaseClass
 BaseClass ()
 Construction. More...
 
virtual PyObjectgetPyObject (void)
 This method returns the Python wrapper for a C++ object. More...
 
bool isDerivedFrom (const Type type) const
 
virtual void setPyObject (PyObject *)
 
virtual ~BaseClass ()
 Destruction. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Base::Persistence
static void * create (void)
 
static std::string encodeAttribute (const std::string &)
 Encodes an attribute upon saving. More...
 
static Base::Type getClassTypeId (void)
 
static void init (void)
 
- Static Public Member Functions inherited from Base::BaseClass
static void * create (void)
 
static Type getClassTypeId (void)
 
static void init (void)
 
- Protected Member Functions inherited from App::PropertyContainer
virtual const PropertyDatagetPropertyData (void) const
 
virtual void handleChangedPropertyName (Base::XMLReader &reader, const char *TypeName, const char *PropName)
 PropertyContainer::handleChangedPropertyName is called during restore to possibly fix reading of older versions of this property container. More...
 
virtual void handleChangedPropertyType (Base::XMLReader &reader, const char *TypeName, Property *prop)
 PropertyContainer::handleChangedPropertyType is called during restore to possibly fix reading of older versions of the property container. More...
 
virtual void onBeforeChange (const Property *)
 get called before the value is changed More...
 
- Static Protected Member Functions inherited from App::PropertyContainer
static const PropertyDatagetPropertyDataPtr (void)
 
- Static Protected Member Functions inherited from Base::BaseClass
static void initSubclass (Base::Type &toInit, const char *ClassName, const char *ParentName, Type::instantiationMethod method=nullptr)
 
- Protected Attributes inherited from App::PropertyContainer
DynamicProperty dynamicProps
 

Detailed Description

Container which can hold extensions.

In FreeCAD normally inheritance is a chain, it is not possible to use multiple inheritance. The reason for this is that all objects need to be exposed to python, and it is basically impossible to handle multiple inheritance in the C-API for python extensions. Also using multiple parent classes in python is currently not possible with the default object approach.

The concept of extensions allow to circumvent those problems. Extensions are FreeCAD objects which work like normal objects in the sense that they use properties and class methods to define their functionality. However, they are not exposed as individual usable entities but are used to extend other objects. A extended object gets all the properties and methods of the extension. Therefore it is like c++ multiple inheritance, which is indeed used to achieve this on c++ side, but provides a few important additional functionalities:

  • Property persistence is handled, save and restore work out of the box
  • The objects python API gets extended too with the extension python API
  • Extensions can be added from c++ and python, even from both together

The interoperability with python is highly important, as in FreeCAD all functionality should be as easily accessible from python as from c++. To ensure this, and as already noted, extensions can be added to a object from python. However, this means that it is not clear from the c++ object type if an extension was added or not. If added from c++ it becomes clear in the type due to the use of multiple inheritance. If added from python it is a runtime extension and not visible from type. Hence querying existing extensions of an object and accessing its methods works not by type casting but by the interface provided in ExtensionContainer. The default workflow is to query if an extension exists and then get the extension object. No matter if added from python or c++ this interface works always the same.

if (object->hasExtension(GroupExtension::getClassTypeId())) {
App::GroupExtension* group = object->getExtensionByType<GroupExtension>();
group->hasObject(...);
}
Definition: GroupExtension.h:40
virtual bool hasObject(const DocumentObject *obj, bool recursive=false) const
Checks whether the object obj is part of this group.
Definition: GroupExtension.cpp:201

To add a extension to an object, it must comply to a single restriction: it must be derived from ExtensionContainer. This is important to allow adding extensions from python and also to access the universal extension API. As DocumentObject itself derives from ExtensionContainer this should be the case automatically in most circumstances.

Note that two small boilerplate changes are needed next to the multiple inheritance when adding extensions from c++.

  1. It must be ensured that the property and type registration is aware of the extensions by using special macros.
  2. The extensions need to be initialised in the constructor

Here is a working example:

class AppExport Part : public App::DocumentObject, public App::FirstExtension, public App::SecondExtension {
PROPERTY_HEADER_WITH_EXTENSIONS(App::Part);
};
PROPERTY_SOURCE_WITH_EXTENSIONS(App::Part, App::DocumentObject)
Part::Part(void) {
FirstExtension::initExtension(this);
SecondExtension::initExtension(this);
}
Base class of all Classes handled in the Document.
Definition: DocumentObject.h:96
Base class of all geometric document objects.
Definition: Part.h:39
Part(void)
Constructor.
AttachExtensionh, .cpp contain a extension class to derive other features from, to make them attachab...
Definition: ExportOCAF.h:49

From python adding an extension is easier, it must be simply registered to a document object at object initialisation like done with properties. Note that the special python extension objects need to be added, not the c++ objects. Normally the only difference in name is the additional "Python" at the end of the extension name.

class Test():
__init(self)__:
registerExtension("App::FirstExtensionPython", self)
registerExtension("App::SecondExtensionPython", self)

Extensions can provide methods that should be overridden by the extended object for customisation of the extension behaviour. In c++ this is as simple as overriding the provided virtual functions. In python a class method must be provided which has the same name as the method to override. This method must not necessarily be in the object that is extended, it must be in the object which is provided to the "registerExtension" call as second argument. This second argument is used as a proxy and enqueired if the method to override exists in this proxy before calling it.

For information on howto create extension see the documentation of Extension

Member Typedef Documentation

◆ ExtensionIterator

Constructor & Destructor Documentation

◆ ExtensionContainer()

ExtensionContainer::ExtensionContainer ( )

◆ ~ExtensionContainer()

ExtensionContainer::~ExtensionContainer ( )
virtual

Member Function Documentation

◆ extensionBegin()

◆ extensionEnd()

◆ getExtension() [1/2]

Extension * ExtensionContainer::getExtension ( Base::Type  t,
bool  derived = true,
bool  no_except = false 
) const

Referenced by restoreExtensions().

◆ getExtension() [2/2]

Extension * ExtensionContainer::getExtension ( const std::string &  name) const

◆ getExtensionByType()

template<typename ExtensionT >
ExtensionT* App::ExtensionContainer::getExtensionByType ( bool  no_except = false,
bool  derived = true 
) const

◆ getExtensionsDerivedFrom()

std::vector< Extension * > ExtensionContainer::getExtensionsDerivedFrom ( Base::Type  type) const

◆ getExtensionsDerivedFromType()

template<typename ExtensionT >
std::vector<ExtensionT*> App::ExtensionContainer::getExtensionsDerivedFromType ( ) const

◆ getPropertyByName()

Property * ExtensionContainer::getPropertyByName ( const char *  name) const
overridevirtual

find a property by its name

Reimplemented from App::PropertyContainer.

Reimplemented in Gui::ViewProviderLink, and Spreadsheet::Sheet.

References App::PropertyContainer::getPropertyByName().

Referenced by FemGui::TaskDlgFemConstraintFluidBoundary::accept(), App::FunctionExpression::evalAggregate(), Mesh::HarmonizeNormals::execute(), Mesh::FlipNormals::execute(), Mesh::FixNonManifolds::execute(), Mesh::FixDuplicatedFaces::execute(), Mesh::FixDuplicatedPoints::execute(), Mesh::FixDegenerations::execute(), Mesh::FixDeformations::execute(), Mesh::FixIndices::execute(), Mesh::FillHoles::execute(), Mesh::RemoveComponents::execute(), Mesh::SegmentByMesh::execute(), TechDraw::DrawViewArch::execute(), App::LinkBaseExtension::extensionExecute(), InspectionGui::ViewProviderInspection::getIcon(), TechDraw::DrawProjGroupItem::getLegacyX(), Gui::ViewProviderLink::getPropertyByName(), App::ObjectIdentifier::getPyValue(), TechDraw::ShapeExtractor::getShapesFromObject(), App::ObjectIdentifier::getValue(), TechDraw::DrawViewPart::getXDirection(), TechDraw::DrawProjGroupItem::getXDirection(), InspectionGui::ViewProviderInspection::inspectDistance(), App::RangeExpression::isTouched(), Gui::ViewProviderAnnotationLabel::onChanged(), App::ObjectIdentifier::resolveProperty(), Part::Box::Restore(), PartDesign::Fillet::Restore(), PartDesign::ProfileBased::Restore(), PartDesign::Transformed::Restore(), Part::Primitive::Restore(), PartDesign::Chamfer::Restore(), App::DocumentObjectPy::setCustomAttributes(), Sketcher::SketchObjectPy::setCustomAttributes(), TechDraw::DrawParametricTemplatePy::setCustomAttributes(), TechDraw::DrawSVGTemplatePy::setCustomAttributes(), TechDraw::DrawTemplatePy::setCustomAttributes(), InspectionGui::ViewProviderInspection::setDistances(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), App::DocumentObjectPy::touch(), PartDesignGui::ViewProviderBody::unifyVisualProperty(), and InspectionGui::ViewProviderInspection::updateData().

◆ getPropertyDocumentation() [1/2]

const char * ExtensionContainer::getPropertyDocumentation ( const char *  name) const
overridevirtual

get the Group of a named Property

Reimplemented from App::PropertyContainer.

References App::PropertyContainer::getPropertyDocumentation().

◆ getPropertyDocumentation() [2/2]

const char * ExtensionContainer::getPropertyDocumentation ( const Property prop) const
overridevirtual

get the Group of a Property

Reimplemented from App::PropertyContainer.

References App::PropertyContainer::getPropertyDocumentation().

◆ getPropertyGroup() [1/2]

const char * ExtensionContainer::getPropertyGroup ( const char *  name) const
overridevirtual

get the Group of a named Property

Reimplemented from App::PropertyContainer.

References App::PropertyContainer::getPropertyGroup().

◆ getPropertyGroup() [2/2]

const char * ExtensionContainer::getPropertyGroup ( const Property prop) const
overridevirtual

get the Group of a Property

Reimplemented from App::PropertyContainer.

References App::PropertyContainer::getPropertyGroup().

◆ getPropertyList()

void ExtensionContainer::getPropertyList ( std::vector< Property * > &  List) const
overridevirtual

get all properties of the class (including properties of the parent)

Reimplemented from App::PropertyContainer.

Reimplemented in Gui::ViewProviderLink.

References App::PropertyContainer::getPropertyList().

Referenced by PartDesignGui::TaskFeaturePick::makeCopy(), Gui::PropertyView::onTimer(), and PartDesignGui::ViewProvider::setBodyMode().

◆ getPropertyMap()

void ExtensionContainer::getPropertyMap ( std::map< std::string, Property * > &  Map) const
overridevirtual

◆ getPropertyName()

const char * ExtensionContainer::getPropertyName ( const Property prop) const
overridevirtual

◆ getPropertyType() [1/2]

short int ExtensionContainer::getPropertyType ( const char *  name) const
overridevirtual

get the Type of a named Property

Reimplemented from App::PropertyContainer.

References App::PropertyContainer::getPropertyType().

◆ getPropertyType() [2/2]

◆ hasExtension() [1/2]

◆ hasExtension() [2/2]

bool ExtensionContainer::hasExtension ( const std::string &  name) const

◆ hasExtensions()

bool ExtensionContainer::hasExtensions ( ) const

◆ onChanged()

void ExtensionContainer::onChanged ( const Property )
overridevirtual

get called by the container when a property has changed

Reimplemented from App::PropertyContainer.

Reimplemented in App::DocumentObject, App::TextDocument, App::MeasureDistance, TechDrawGui::ViewProviderTemplate, TechDrawGui::ViewProviderPage, TechDrawGui::ViewProviderHatch, TechDrawGui::ViewProviderGeomHatch, TechDrawGui::ViewProviderDrawingView, TechDraw::LandmarkDimension, TechDraw::DrawViewSymbol, TechDraw::DrawViewSection, TechDraw::DrawViewPart, TechDraw::DrawViewMulti, TechDraw::DrawViewDimension, TechDraw::DrawViewDetail, TechDraw::DrawViewBalloon, TechDraw::DrawView, TechDraw::DrawProjGroupItem, TechDraw::DrawProjGroup, TechDraw::DrawPage, TechDraw::DrawLeaderLine, TechDraw::DrawHatch, TechDraw::DrawGeomHatch, Surface::Extend, SketcherGui::ViewProviderSketch, PartDesignGui::ViewProviderBoolean, PartDesignGui::ViewProviderBody, PartDesignGui::ViewProvider, PartDesign::SubShapeBinder, PartDesign::FeaturePrimitive, PartDesign::Boolean, PartDesign::Point, PartDesign::Body, PartGui::ViewProviderPartExt, Part::Primitive, Part::Feature, Part::Revolution, Part::BodyBase, Gui::ViewProviderPlacement, Gui::ViewProviderPart, Gui::ViewProviderLink, Gui::ViewProviderDocumentObject, TechDrawGui::ViewProviderViewSection, TechDrawGui::ViewProviderViewPart, TechDrawGui::ViewProviderProjGroup, TechDrawGui::ViewProviderImage, TechDraw::DrawWeldSymbol, TechDraw::DrawViewSpreadsheet, TechDraw::DrawViewImage, TechDraw::DrawViewDimExtent, TechDraw::DrawViewCollection, TechDraw::DrawViewClip, TechDraw::DrawViewAnnotation, TechDraw::DrawTileWeld, TechDraw::DrawTile, TechDraw::DrawTemplate, TechDraw::DrawSVGTemplate, TechDraw::DrawRichAnno, TechDraw::DrawParametricTemplate, SketcherGui::ViewProviderCustom, Sandbox::SandboxObject, RobotGui::ViewProviderRobotObject, Robot::TrajectoryObject, Robot::TrajectoryDressUpObject, Robot::RobotObject, Robot::Edge2TracObject, PointsGui::ViewProviderPoints, Points::Feature, PathGui::ViewProviderPath, Path::Feature, PartDesignGui::ViewProviderDatumPoint, PartDesign::ProfileBased, PartDesign::Hole, PartDesign::DressUp, PartDesign::FeatureBase, PartDesign::Plane, PartDesign::Line, PartGui::ViewProviderSpline, PartGui::ViewProviderPartReference, PartGui::ViewProviderCustom, PartGui::ViewProvider2DObjectGrid, Part::Wedge, Part::Spiral, Part::Helix, Part::Sweep, Part::Loft, Part::RuledSurface, Part::Box, Part::Mirroring, MeshGui::ViewProviderMeshNode, MeshGui::ViewProviderMeshDefects, MeshGui::ViewProviderMeshCurvature, MeshGui::ViewProviderMesh, Mesh::Feature, InspectionGui::ViewProviderInspection, FemGui::ViewProviderFemPostObject, FemGui::ViewProviderFemPostFunction, FemGui::ViewProviderFemPostFunctionProvider, FemGui::ViewProviderFemMesh, FemGui::ViewProviderFemConstraint, Fem::FemPostPipeline, Fem::FemPostSphereFunction, Fem::FemPostPlaneFunction, Fem::FemPostFunctionProvider, Fem::FemPostCutFilter, Fem::FemPostWarpVectorFilter, Fem::FemPostScalarClipFilter, Fem::FemPostDataAtPointFilter, Fem::FemPostDataAlongLineFilter, Fem::FemPostClipFilter, Fem::FemMeshObject, Fem::ConstraintTransform, Fem::ConstraintTemperature, Fem::ConstraintPulley, Fem::ConstraintPressure, Fem::ConstraintPlaneRotation, Fem::ConstraintInitialTemperature, Fem::ConstraintHeatflux, Fem::ConstraintGear, Fem::ConstraintForce, Fem::ConstraintFluidBoundary, Fem::ConstraintFixed, Fem::ConstraintDisplacement, Fem::ConstraintContact, Fem::ConstraintBearing, Fem::Constraint, Drawing::FeatureViewSymbol, Drawing::FeaturePage, Drawing::FeatureClip, Gui::ViewProviderTextDocument, Gui::ViewProviderOriginFeature, Gui::ViewProviderOrigin, Gui::ViewProviderMeasureDistance, Gui::ViewProviderGeometryObject, Gui::ViewProviderAnnotationLabel, Gui::ViewProviderAnnotation, Gui::ViewProvider, TechDrawGui::ViewProviderWeld, TechDrawGui::ViewProviderRichAnno, TechDrawGui::ViewProviderLeader, TechDrawGui::ViewProviderDimension, TechDrawGui::ViewProviderBalloon, Sketcher::SketchObject, PartDesign::Chamfer, Surface::GeomFillSurface, PartDesignGui::ViewProviderDatumCoordinateSystem, Part::Ellipse, Part::Line, Part::Vertex, Part::Circle, and App::VRMLObject.

References App::PropertyContainer::onChanged().

Referenced by draftviewproviders.view_base.ViewProviderDraft::attach(), ArchSite.Compass::buildCoordinates(), draftobjects.wire.Wire::execute(), ArchAxis.CommandArchGrid::IsActive(), Gui::ViewProvider::onChanged(), ArchBuildingPart.ViewProviderBuildingPart::updateData(), ArchPanel.ViewProviderPanelCut::updateData(), ArchPanel.ViewProviderPanelSheet::updateData(), draftviewproviders.view_label.ViewProviderLabel::updateData(), draftviewproviders.view_layer.ViewProviderLayer::updateData(), and draftviewproviders.view_wpproxy.ViewProviderWorkingPlaneProxy::updateData().

◆ registerExtension()

void ExtensionContainer::registerExtension ( Base::Type  extension,
App::Extension ext 
)

◆ Restore()

void ExtensionContainer::Restore ( Base::XMLReader )
overridevirtual

This method is used to restore properties from an XML document.

It uses the XMLReader class, which bases on SAX, to read the in Save() written information. Again the Vector as an example:

{
// read my Element
reader.readElement("PropertyVector");
// get the value of my Attribute
_cVec.x = reader.getAttributeAsFloat("valueX");
_cVec.y = reader.getAttributeAsFloat("valueY");
_cVec.z = reader.getAttributeAsFloat("valueZ");
}
virtual void Restore(Base::XMLReader &reader) override
This method is used to restore properties from an XML document.
Definition: PropertyGeo.cpp:170
The XML reader class This is an important helper class for the store and retrieval system of objects ...
Definition: Reader.h:118
void readElement(const char *ElementName=0)
read until a start element is found (<name>) or start-end element (<name/>) (with special name if giv...
Definition: Reader.cpp:240
double getAttributeAsFloat(const char *AttrName) const
return the named attribute as a double floating point (does type checking)
Definition: Reader.cpp:158

Reimplemented from App::PropertyContainer.

Reimplemented in TechDraw::DrawViewDimension, PartDesign::Chamfer, Part::Primitive, Part::Part2DObject, Points::Feature, PartDesign::Transformed, PartDesign::ProfileBased, PartDesign::Hole, PartDesign::Fillet, PartDesign::Plane, PartGui::ViewProvider2DObjectGrid, Part::Box, Gui::ViewProvider, App::VRMLObject, Sketcher::SketchObject, and Robot::RobotObject.

References App::PropertyContainer::Restore(), and restoreExtensions().

Referenced by App::Document::readObjects(), Robot::RobotObject::Restore(), App::VRMLObject::Restore(), App::Document::Restore(), Part::Part2DObject::Restore(), and TechDraw::DrawViewDimension::Restore().

◆ restoreExtensions()

◆ Save()

void ExtensionContainer::Save ( Base::Writer ) const
overridevirtual

This method is used to save properties to an XML document.

A good example you'll find in PropertyStandard.cpp, e.g. the vector:

void PropertyVector::Save (Writer &writer) const
{
writer << writer.ind() << "<PropertyVector valueX=\"" << _cVec.x <<
"\" valueY=\"" << _cVec.y <<
"\" valueZ=\"" << _cVec.z <<"\"/>" << endl;
}
virtual void Save(Base::Writer &writer) const override
This method is used to save properties to an XML document.
Definition: PropertyGeo.cpp:165

The writer.ind() expression writes the indentation, just for pretty printing of the XML. As you see, the writing of the XML document is not done with a DOM implementation because of performance reasons. Therefore the programmer has to take care that a valid XML document is written. This means closing tags and writing UTF-8.

See also
Base::Writer

Reimplemented from App::PropertyContainer.

Reimplemented in App::DocumentObject, App::VRMLObject, Sketcher::SketchObject, and Robot::RobotObject.

References App::PropertyContainer::Save(), and saveExtensions().

Referenced by Gui::Document::exportObjects().

◆ saveExtensions()


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/App/ExtensionContainer.h
  • Sources/FreeCAD/src/App/ExtensionContainer.cpp