|
Multi diag tools
|
LibraryTree is a tree that contains library names. More...
#include <LibraryTree.h>
Public Member Functions | |
| LibraryTree () | |
| Construct a empty library tree. | |
| ~LibraryTree () | |
| Destructor. | |
| LibraryTreeNode | setRootBinary (const QString &name) |
| Set the root binary. More... | |
| QString | rootBinary () const |
| Get the root binary. | |
| LibraryTreeNode | addLibrary (const QString &name, LibraryTreeNode parent) |
| Add a library that is a child of parent. More... | |
| QStringList | getLibraryList (LibraryTreeNode parent) const |
| Get a list of libraries that are direct children of parent. More... | |
| QStringList | toFlatList () const |
| Get a list of all libraries. More... | |
| void | clear () |
| Clear this tree. | |
| bool | containsNode (LibraryTreeNode node) const |
| Check if this tree contains a specific node. More... | |
LibraryTree is a tree that contains library names.
The tree represents library dependencies of a binary (a executable or a library).
Definition at line 44 of file LibraryTree.h.
| LibraryTreeNode Mdt::DeployUtils::LibraryTree::addLibrary | ( | const QString & | name, |
| LibraryTreeNode | parent | ||
| ) |
Add a library that is a child of parent.
Definition at line 158 of file LibraryTree.cpp.
| bool Mdt::DeployUtils::LibraryTree::containsNode | ( | LibraryTreeNode | node | ) | const |
Check if this tree contains a specific node.
Definition at line 184 of file LibraryTree.cpp.
| QStringList Mdt::DeployUtils::LibraryTree::getLibraryList | ( | LibraryTreeNode | parent | ) | const |
Get a list of libraries that are direct children of parent.
Definition at line 166 of file LibraryTree.cpp.
| LibraryTreeNode Mdt::DeployUtils::LibraryTree::setRootBinary | ( | const QString & | name | ) |
Set the root binary.
Definition at line 148 of file LibraryTree.cpp.
| QStringList Mdt::DeployUtils::LibraryTree::toFlatList | ( | ) | const |
Get a list of all libraries.
Returns a list containing all libraries, except the root. The list contains a unique instance of each library.
Definition at line 174 of file LibraryTree.cpp.
1.8.11