XPConnect has magic to transparently convert between nsIVariant and JS types.
More...
import "nsIVariant.idl";
List of all members.
Detailed Description
XPConnect has magic to transparently convert between nsIVariant and JS types.
We mark the interface [scriptable] so that JS can use methods that refer to this interface. But we mark all the methods and attributes [noscript] since any nsIVariant object will be automatically converted to a JS type anyway.
Member Function Documentation
| ACString nsIVariant::getAsACString |
( |
|
) |
|
| nsresult nsIVariant::getAsArray |
( |
out PRUint16 |
type, |
|
|
out nsIID |
iid, |
|
|
out PRUint32 |
count, |
|
|
out voidPtr |
ptr | |
|
) |
| | |
| AString nsIVariant::getAsAString |
( |
|
) |
|
| AUTF8String nsIVariant::getAsAUTF8String |
( |
|
) |
|
| PRBool nsIVariant::getAsBool |
( |
|
) |
|
| char nsIVariant::getAsChar |
( |
|
) |
|
| DOMString nsIVariant::getAsDOMString |
( |
|
) |
|
| double nsIVariant::getAsDouble |
( |
|
) |
|
| float nsIVariant::getAsFloat |
( |
|
) |
|
| PRInt16 nsIVariant::getAsInt16 |
( |
|
) |
|
| PRInt32 nsIVariant::getAsInt32 |
( |
|
) |
|
| PRUint8 nsIVariant::getAsInt8 |
( |
|
) |
|
| void nsIVariant::getAsInterface |
( |
out nsIIDPtr |
iid, |
|
|
[iid_is(iid), retval] out nsQIResult |
iface | |
|
) |
| | |
| jsval nsIVariant::getAsJSVal |
( |
|
) |
|
| string nsIVariant::getAsString |
( |
|
) |
|
| void nsIVariant::getAsStringWithSize |
( |
out PRUint32 |
size, |
|
|
[size_is(size), retval] out string |
str | |
|
) |
| | |
| PRUint16 nsIVariant::getAsUint16 |
( |
|
) |
|
| PRUint32 nsIVariant::getAsUint32 |
( |
|
) |
|
| PRUint8 nsIVariant::getAsUint8 |
( |
|
) |
|
| wchar nsIVariant::getAsWChar |
( |
|
) |
|
| wstring nsIVariant::getAsWString |
( |
|
) |
|
| void nsIVariant::getAsWStringWithSize |
( |
out PRUint32 |
size, |
|
|
[size_is(size), retval] out wstring |
str | |
|
) |
| | |
Member Data Documentation
The documentation for this interface was generated from the following file: