![]() |
Qt 6.x
The Qt SDK
|
#include <qv4sparsearray_p.h>
Public Types | |
enum | Color { Red = 0 , Black = 1 } |
enum | { Mask = 3 } |
Public Member Functions | |
const SparseArrayNode * | nextNode () const |
SparseArrayNode * | nextNode () |
const SparseArrayNode * | previousNode () const |
SparseArrayNode * | previousNode () |
Color | color () const |
void | setColor (Color c) |
SparseArrayNode * | parent () const |
void | setParent (SparseArrayNode *pp) |
uint | key () const |
SparseArrayNode * | copy (SparseArray *d) const |
SparseArrayNode * | lowerBound (uint key) |
SparseArrayNode * | upperBound (uint key) |
Public Attributes | |
quintptr | p |
SparseArrayNode * | left |
SparseArrayNode * | right |
uint | size_left |
uint | value |
Definition at line 35 of file qv4sparsearray_p.h.
anonymous enum |
Enumerator | |
---|---|
Mask |
Definition at line 44 of file qv4sparsearray_p.h.
Enumerator | |
---|---|
Red | |
Black |
Definition at line 43 of file qv4sparsearray_p.h.
|
inline |
Definition at line 51 of file qv4sparsearray_p.h.
Referenced by copy().
SparseArrayNode * SparseArrayNode::copy | ( | SparseArray * | d | ) | const |
|
inline |
Definition at line 56 of file qv4sparsearray_p.h.
References p, parent(), and size_left.
Referenced by QV4::ObjectOwnPropertyKeyIterator::next(), and StringObjectOwnPropertyKeyIterator::next().
|
inline |
Definition at line 74 of file qv4sparsearray_p.h.
References size_left.
Referenced by QV4::SparseArray::lowerBound(), and QV4::SparseArray::lowerBound().
|
inline |
Definition at line 47 of file qv4sparsearray_p.h.
References nextNode().
Referenced by nextNode().
const SparseArrayNode * SparseArrayNode::nextNode | ( | ) | const |
Definition at line 14 of file qv4sparsearray.cpp.
References left, parent(), and right.
Referenced by QV4::SparseArray::keys(), QV4::ObjectOwnPropertyKeyIterator::next(), and StringObjectOwnPropertyKeyIterator::next().
|
inline |
Definition at line 53 of file qv4sparsearray_p.h.
Referenced by key(), nextNode(), and previousNode().
|
inline |
Definition at line 49 of file qv4sparsearray_p.h.
References previousNode().
Referenced by previousNode().
const SparseArrayNode * SparseArrayNode::previousNode | ( | ) | const |
Definition at line 32 of file qv4sparsearray.cpp.
References left, parent(), and right.
Definition at line 52 of file qv4sparsearray_p.h.
References Black.
|
inline |
Definition at line 54 of file qv4sparsearray_p.h.
References Mask.
Referenced by QV4::SparseArray::SparseArray(), and QV4::SparseArray::createNode().
|
inline |
Definition at line 91 of file qv4sparsearray_p.h.
References size_left.
Referenced by QV4::SparseArray::upperBound(), and QV4::SparseArray::upperBound().
SparseArrayNode* QV4::SparseArrayNode::left |
Definition at line 38 of file qv4sparsearray_p.h.
Referenced by QV4::SparseArray::SparseArray(), QV4::SparseArray::SparseArray(), QV4::SparseArray::createNode(), QV4::SparseArray::freeTree(), nextNode(), QV4::SparseArray::pop_front(), and previousNode().
quintptr QV4::SparseArrayNode::p |
Definition at line 37 of file qv4sparsearray_p.h.
Referenced by QV4::SparseArray::SparseArray(), QV4::SparseArray::SparseArray(), QV4::SparseArray::createNode(), and key().
SparseArrayNode* QV4::SparseArrayNode::right |
Definition at line 39 of file qv4sparsearray_p.h.
Referenced by QV4::SparseArray::SparseArray(), QV4::SparseArray::SparseArray(), QV4::SparseArray::createNode(), QV4::SparseArray::freeTree(), nextNode(), and previousNode().
uint QV4::SparseArrayNode::size_left |
Definition at line 40 of file qv4sparsearray_p.h.
Referenced by copy(), QV4::SparseArray::createNode(), key(), lowerBound(), QV4::SparseArray::pop_front(), and upperBound().
uint QV4::SparseArrayNode::value |
Definition at line 41 of file qv4sparsearray_p.h.
Referenced by copy(), QV4::SparseArray::createNode(), QV4::ArrayData::insert(), QV4::Heap::SparseArrayData::mappedIndex(), and QV4::ObjectOwnPropertyKeyIterator::next().