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>.
Loading...
Searching...
No Matches
QV4::ESTable Class Reference

#include <qv4estable_p.h>

+ Collaboration diagram for QV4::ESTable:

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
 

Detailed Description

Definition at line 26 of file qv4estable_p.h.

Constructor & Destructor Documentation

◆ ESTable()

ESTable::ESTable ( )

Definition at line 16 of file qv4estable.cpp.

◆ ~ESTable()

ESTable::~ESTable ( )

Definition at line 25 of file qv4estable.cpp.

Member Function Documentation

◆ clear()

void ESTable::clear ( )

Definition at line 46 of file qv4estable.cpp.

◆ get()

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().

+ Here is the call graph for this function:

◆ has()

bool ESTable::has ( const Value & k) const

Definition at line 84 of file qv4estable.cpp.

References i.

◆ iterate()

void ESTable::iterate ( uint idx,
Value * k,
Value * v )

Definition at line 136 of file qv4estable.cpp.

References Q_ASSERT.

◆ markObjects()

void ESTable::markObjects ( MarkStack * s,
bool isWeakMap )

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ remove()

bool ESTable::remove ( const Value & k)

Definition at line 112 of file qv4estable.cpp.

References QV4::Value.

◆ removeUnmarkedKeys()

void ESTable::removeUnmarkedKeys ( )

Definition at line 145 of file qv4estable.cpp.

References o, and Q_ASSERT.

◆ set()

void ESTable::set ( const Value & k,
const Value & v )

Definition at line 53 of file qv4estable.cpp.

References QV4::Value::fromDouble(), and i.

+ Here is the call graph for this function:

◆ size()

uint ESTable::size ( ) const

Definition at line 129 of file qv4estable.cpp.

Friends And Related Symbol Documentation

◆ ::tst_qv4estable

friend class ::tst_qv4estable
friend

Definition at line 44 of file qv4estable_p.h.


The documentation for this class was generated from the following files: