![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
A struct for indicating that a ClassNode is related in some way to another ClassNode. More...
#include <relatedclass.h>
Public Member Functions | |
RelatedClass ()=default | |
The default constructor does nothing. | |
RelatedClass (Access access, ClassNode *node) | |
This is the constructor used when the related class has been resolved. | |
RelatedClass (Access access, QStringList path) | |
bool | isPrivate () const |
Returns true if this RelatedClass is marked as Access::Private. | |
Public Attributes | |
Access | m_access {} |
ClassNode * | m_node { nullptr } |
QStringList | m_path {} |
A struct for indicating that a ClassNode is related in some way to another ClassNode.
This struct has nothing to do with the {\relates}
command. This struct is used for indicating that a ClassNode is a base class of another ClassNode, is a derived class of another ClassNode, or is an ignored base class of another ClassNode. This struct is only used in ClassNode.
Definition at line 18 of file relatedclass.h.
|
default |
The default constructor does nothing.
It is only used for allocating empty instances of RelatedClass in containers.
This is the constructor used when the related class has been resolved.
In other words, when the ClassNode has been created so that node is not nullptr
.
Definition at line 22 of file relatedclass.h.
References m_access, and m_node.
Referenced by ClassNode::addResolvedBaseClass().
|
inline |
Definition at line 24 of file relatedclass.h.
References m_access.
|
nodiscard |
Returns true
if this RelatedClass is marked as Access::Private.
Definition at line 42 of file relatedclass.cpp.
Access RelatedClass::m_access {} |
Definition at line 27 of file relatedclass.h.
Referenced by RelatedClass(), and RelatedClass().
ClassNode* RelatedClass::m_node { nullptr } |
Definition at line 28 of file relatedclass.h.
Referenced by RelatedClass().
QStringList RelatedClass::m_path {} |
Definition at line 29 of file relatedclass.h.