Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qv4estable_p.h>
Public Member Functions | |
ESTable () | |
~ESTable () | |
void | markObjects (MarkStack *s, bool isWeakMap) |
void | clear () |
void | set (const Value &k, const Value &v) |
bool | has (const Value &k) const |
ReturnedValue | get (const Value &k, bool *hasValue=nullptr) const |
bool | remove (const Value &k) |
uint | size () const |
void | iterate (uint idx, Value *k, Value *v) |
void | removeUnmarkedKeys () |
Friends | |
class | ::tst_qv4estable |
Definition at line 26 of file qv4estable_p.h.
ESTable::ESTable | ( | ) |
Definition at line 16 of file qv4estable.cpp.
ESTable::~ESTable | ( | ) |
Definition at line 25 of file qv4estable.cpp.
void ESTable::clear | ( | ) |
Definition at line 46 of file qv4estable.cpp.
ReturnedValue ESTable::get | ( | const Value & | k, |
bool * | hasValue = nullptr ) const |
Definition at line 96 of file qv4estable.cpp.
References QV4::StaticValue::asReturnedValue(), i, and QV4::Encode::undefined().
bool ESTable::has | ( | const Value & | k | ) | const |
Definition at line 84 of file qv4estable.cpp.
References i.
Definition at line 136 of file qv4estable.cpp.
References Q_ASSERT.
Definition at line 35 of file qv4estable.cpp.
References i, and QV4::Value::mark().
Referenced by QV4::Heap::MapObject::markObjects(), and QV4::Heap::SetObject::markObjects().
bool ESTable::remove | ( | const Value & | k | ) |
Definition at line 112 of file qv4estable.cpp.
References QV4::Value.
void ESTable::removeUnmarkedKeys | ( | ) |
Definition at line 145 of file qv4estable.cpp.
Definition at line 53 of file qv4estable.cpp.
References QV4::Value::fromDouble(), and i.
uint ESTable::size | ( | ) | const |
Definition at line 129 of file qv4estable.cpp.
|
friend |
Definition at line 44 of file qv4estable_p.h.