mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fwk : Add function to get all referenced PdmObjects
This commit is contained in:
@@ -46,6 +46,11 @@ public:
|
||||
|
||||
virtual caf::PdmObject* referencedObject() const;
|
||||
|
||||
std::vector<caf::PdmObject*> allReferencedObjects() const;
|
||||
|
||||
private:
|
||||
static void allReferencedObjectsRecursively( const cafTreeNode* node, std::vector<caf::PdmObject*>& objects );
|
||||
|
||||
protected:
|
||||
caf::PdmChildArrayField<cafTreeNode*> m_childNodes;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user