KJSArray

Search for usage in LXR

KJSArray Class Reference

#include <kjsobject.h>

Inheritance diagram for KJSArray:

Public Member Functions

 KJSArray (KJSContext *ctx, int len=0)
 
- Public Member Functions inherited from KJSObject
 KJSObject ()
 
 KJSObject (const KJSObject &o)
 
 ~KJSObject ()
 
bool isBoolean () const
 
bool isNull () const
 
bool isNumber () const
 
bool isObject () const
 
bool isString () const
 
bool isUndefined () const
 
KJSObjectoperator= (const KJSObject &o)
 
KJSObject property (KJSContext *ctx, const QString &name)
 
void setProperty (KJSContext *ctx, const QString &name, bool value)
 
void setProperty (KJSContext *ctx, const QString &name, const char *value)
 
void setProperty (KJSContext *ctx, const QString &name, const KJSObject &value)
 
void setProperty (KJSContext *ctx, const QString &name, const QString &value)
 
void setProperty (KJSContext *ctx, const QString &name, double value)
 
void setProperty (KJSContext *ctx, const QString &name, int value)
 
bool toBoolean (KJSContext *ctx)
 
int toInt32 (KJSContext *ctx)
 
double toNumber (KJSContext *ctx)
 
QString toString (KJSContext *ctx)
 

Detailed Description

A class representing a JavaScript array object.

Array object

Definition at line 251 of file kjsobject.h.

Constructor & Destructor Documentation

◆ KJSArray()

KJSArray::KJSArray ( KJSContext ctx,
int  len = 0 
)

Constructs an array object with the specified length.

Definition at line 105 of file kjsobject.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Dec 6 2023 03:58:55 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.