kdevplatform/project
#include <projectmodel.h>
Public Member Functions | |
ProjectVisitor () | |
virtual | ~ProjectVisitor () |
virtual void | visit (IProject *) |
virtual void | visit (ProjectBuildFolderItem *) |
virtual void | visit (ProjectExecutableTargetItem *) |
virtual void | visit (ProjectFileItem *) |
virtual void | visit (ProjectFolderItem *) |
virtual void | visit (ProjectLibraryTargetItem *) |
virtual void | visit (ProjectModel *) |
Detailed Description
Base class to implement the visitor pattern for the project item tree.
Feel free to subclass it and add overloads for the methods corresponding to the items you are interested in.
Start visiting using one of the visit methods.
Definition at line 56 of file projectmodel.h.
Constructor & Destructor Documentation
◆ ProjectVisitor()
KDevelop::ProjectVisitor::ProjectVisitor | ( | ) |
Definition at line 1033 of file projectmodel.cpp.
◆ ~ProjectVisitor()
|
virtual |
Definition at line 1190 of file projectmodel.cpp.
Member Function Documentation
◆ visit() [1/7]
|
virtual |
Visit the tree starting from the project root item.
Definition at line 1132 of file projectmodel.cpp.
◆ visit() [2/7]
|
virtual |
Visit the build folder and anything it contains.
Definition at line 1137 of file projectmodel.cpp.
◆ visit() [3/7]
|
virtual |
Visit the target and all children it may contain.
Definition at line 1142 of file projectmodel.cpp.
◆ visit() [4/7]
|
virtual |
Visit the file.
Definition at line 1178 of file projectmodel.cpp.
◆ visit() [5/7]
|
virtual |
Visit the folder and anything it contains.
Definition at line 1150 of file projectmodel.cpp.
◆ visit() [6/7]
|
virtual |
Visit the target and all children it may contain.
Definition at line 1182 of file projectmodel.cpp.
◆ visit() [7/7]
|
virtual |
Visit the whole project model tree.
Definition at line 1124 of file projectmodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 23:35:31 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.