![]() |
Qt 4.8
|
Houses data for a node, and that all node kinds have. More...
#include <qacceltree_p.h>
Public Functions | |
| BasicNodeData () | |
| BasicNodeData (const PreNumber aDepth, const PreNumber aParent, const QXmlNodeModelIndex::NodeKind k, const PreNumber s, const QXmlName n=QXmlName()) | |
| Depth | depth () const |
| bool | isCompressed () const |
| QXmlNodeModelIndex::NodeKind | kind () const |
| QXmlName | name () const |
| PreNumber | parent () const |
| void | setSize (const PreNumber aSize) |
| PreNumber | size () const |
Properties | |
| Depth | m_depth |
| QXmlNodeModelIndex::NodeKind | m_kind: 8 |
| QXmlName | m_name |
| PreNumber | m_parent |
| PreNumber | m_size |
Houses data for a node, and that all node kinds have.
BasicNodeData is internal to the Accel tree implementation, and is only used by those classes.
Definition at line 121 of file qacceltree_p.h.
|
inline |
Definition at line 125 of file qacceltree_p.h.
|
inline |
Definition at line 129 of file qacceltree_p.h.
|
inline |
Definition at line 141 of file qacceltree_p.h.
Referenced by QPatternist::AccelTree::postNumber(), and QPatternist::AccelTree::printStats().
|
inline |
Definition at line 179 of file qacceltree_p.h.
|
inline |
Definition at line 169 of file qacceltree_p.h.
Referenced by QPatternist::AccelTree::printStats().
|
inline |
|
inline |
Definition at line 146 of file qacceltree_p.h.
|
inline |
Definition at line 164 of file qacceltree_p.h.
Referenced by QPatternist::AccelTreeBuilder< true >::endElement().
|
inline |
Definition at line 154 of file qacceltree_p.h.
Referenced by QPatternist::AccelTree::postNumber(), and QPatternist::AccelTree::printStats().
|
private |
Definition at line 210 of file qacceltree_p.h.
|
private |
Technically it is sufficient with 7 bits. However, at least MSVC 2005 miscompiles it such that QXmlNodeModelIndex::Text becomes -64 instead of 64 with hilarious crashes as result.
Fortunately this extra bit would be padded anyway.
Definition at line 219 of file qacceltree_p.h.
|
private |
For text nodes, and less importantly, comments, this variable is not used.
Definition at line 208 of file qacceltree_p.h.
|
private |
This is the pre number of the parent.
Definition at line 192 of file qacceltree_p.h.
|
private |
This is the count of children this node has.
In the case of a text node, which cannot have children, it is set to IsCompressed, if the content has been the result of CompressedWhitespace::compress(). If it's not compressed, it is zero.
Definition at line 202 of file qacceltree_p.h.