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 1029 of file projectmodel.cpp.
◆ ~ProjectVisitor()
|
virtual |
Definition at line 1186 of file projectmodel.cpp.
Member Function Documentation
◆ visit() [1/7]
|
virtual |
Visit the tree starting from the project root item.
Definition at line 1128 of file projectmodel.cpp.
◆ visit() [2/7]
|
virtual |
Visit the build folder and anything it contains.
Definition at line 1133 of file projectmodel.cpp.
◆ visit() [3/7]
|
virtual |
Visit the target and all children it may contain.
Definition at line 1138 of file projectmodel.cpp.
◆ visit() [4/7]
|
virtual |
Visit the file.
Definition at line 1174 of file projectmodel.cpp.
◆ visit() [5/7]
|
virtual |
Visit the folder and anything it contains.
Definition at line 1146 of file projectmodel.cpp.
◆ visit() [6/7]
|
virtual |
Visit the target and all children it may contain.
Definition at line 1178 of file projectmodel.cpp.
◆ visit() [7/7]
|
virtual |
Visit the whole project model tree.
Definition at line 1120 of file projectmodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Apr 13 2021 23:30:29 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.