Eneboo - Documentación para desarrolladores
|
#include <qsfuncref.h>
Métodos públicos | |
QSFuncRefClass (QSClass *b) | |
QString | name () const |
virtual QSEqualsResult | isEqual (const QSObject &a, const QSObject &b) const |
bool | toBoolean (const QSObject *) const |
double | toNumber (const QSObject *obj) const |
QString | toString (const QSObject *) const |
QSObject | construct (const QSList &args) const |
QSObject | cast (const QSList &args) const |
QSObject | createReference (const QSObject &base, const QSMember &mem) const |
Métodos públicos estáticos | |
static QSMember | refMember (const QSObject &ref) |
static ScopeChain | refScope (const QSObject &ref) |
static QSObject | refBase (const QSObject &ref) |
Métodos protegidos | |
virtual QSObject | invoke (QSObject *objPtr, const QSMember &mem) const |
QSFuncRefClass::QSFuncRefClass | ( | QSClass * | b | ) | [inline] |
Reimplementado de QSClass.
QSObject QSFuncRefClass::invoke | ( | QSObject * | objPtr, |
const QSMember & | mem | ||
) | const [protected, virtual] |
Reimplementado de QSClass.
QSEqualsResult QSFuncRefClass::isEqual | ( | const QSObject & | a, |
const QSObject & | b | ||
) | const [virtual] |
Checks if the two objects are equal. Returns positive if equal, 0 if not equal and negative if the class is unable to determine.
Reimplementado de QSClass.
ScopeChain QSFuncRefClass::refScope | ( | const QSObject & | ref | ) | [static] |
Returns obj converted to a boolean value.
The default implementation returns TRUE.
Reimplementado de QSClass.
double QSFuncRefClass::toNumber | ( | const QSObject * | obj | ) | const [virtual] |
Return obj converted to a floating point number; NaN if the conversion failed.
The default implementation returns NaN.
Reimplementado de QSClass.