Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIWritableVariant Interface Reference

An object that implements nsIVariant may or may NOT also implement this nsIWritableVariant. More...

import "nsIVariant.idl";

Inheritance diagram for nsIWritableVariant:
Inheritance graph
Collaboration diagram for nsIWritableVariant:
Collaboration graph

List of all members.

Public Member Functions

void setAsInt8 (in PRUint8 aValue)
void setAsInt16 (in PRInt16 aValue)
void setAsInt32 (in PRInt32 aValue)
void setAsInt64 (in PRInt64 aValue)
void setAsUint8 (in PRUint8 aValue)
void setAsUint16 (in PRUint16 aValue)
void setAsUint32 (in PRUint32 aValue)
void setAsUint64 (in PRUint64 aValue)
void setAsFloat (in float aValue)
void setAsDouble (in double aValue)
void setAsBool (in PRBool aValue)
void setAsChar (in char aValue)
void setAsWChar (in wchar aValue)
void setAsID (in nsIDRef aValue)
void setAsAString (in AString aValue)
void setAsDOMString (in DOMString aValue)
void setAsACString (in ACString aValue)
void setAsAUTF8String (in AUTF8String aValue)
void setAsString (in string aValue)
void setAsWString (in wstring aValue)
void setAsISupports (in nsISupports aValue)
void setAsInterface (in nsIIDRef iid,[iid_is(iid)] in nsQIResult iface)
void setAsArray (in PRUint16 type, in nsIIDPtr iid, in PRUint32 count, in voidPtr ptr)
void setAsStringWithSize (in PRUint32 size,[size_is(size)] in string str)
void setAsWStringWithSize (in PRUint32 size,[size_is(size)] in wstring str)
void setAsVoid ()
void setAsEmpty ()
void setAsEmptyArray ()
void setFromVariant (in nsIVariant aValue)
PRUint8 getAsInt8 ()
PRInt16 getAsInt16 ()
PRInt32 getAsInt32 ()
PRInt64 getAsInt64 ()
PRUint8 getAsUint8 ()
PRUint16 getAsUint16 ()
PRUint32 getAsUint32 ()
PRUint64 getAsUint64 ()
float getAsFloat ()
double getAsDouble ()
PRBool getAsBool ()
char getAsChar ()
wchar getAsWChar ()
nsresult getAsID (out nsID retval)
AString getAsAString ()
DOMString getAsDOMString ()
ACString getAsACString ()
AUTF8String getAsAUTF8String ()
string getAsString ()
wstring getAsWString ()
nsISupports getAsISupports ()
void getAsInterface (out nsIIDPtr iid,[iid_is(iid), retval] out nsQIResult iface)
nsresult getAsArray (out PRUint16 type, out nsIID iid, out PRUint32 count, out voidPtr ptr)
void getAsStringWithSize (out PRUint32 size,[size_is(size), retval] out string str)
void getAsWStringWithSize (out PRUint32 size,[size_is(size), retval] out wstring str)

Public Attributes

attribute PRBool writable
readonly attribute PRUint16 dataType

Detailed Description

An object that implements nsIVariant may or may NOT also implement this nsIWritableVariant.

If the 'writable' attribute is false then attempts to call any of the 'set' methods can be expected to fail. Setting the 'writable' attribute may or may not succeed.

Definition at line 140 of file nsIVariant.idl.

Member Function Documentation

ACString nsIVariant::getAsACString ( ) [inherited]
nsresult nsIVariant::getAsArray ( out PRUint16  type,
out nsIID  iid,
out PRUint32  count,
out voidPtr  ptr 
) [inherited]
AString nsIVariant::getAsAString ( ) [inherited]
AUTF8String nsIVariant::getAsAUTF8String ( ) [inherited]
PRBool nsIVariant::getAsBool ( ) [inherited]
char nsIVariant::getAsChar ( ) [inherited]
DOMString nsIVariant::getAsDOMString ( ) [inherited]
double nsIVariant::getAsDouble ( ) [inherited]
float nsIVariant::getAsFloat ( ) [inherited]
nsresult nsIVariant::getAsID ( out nsID  retval) [inherited]
PRUint8 nsIVariant::getAsInt8 ( ) [inherited]
void nsIVariant::getAsInterface ( out nsIIDPtr  iid,
[iid_is(iid), retval] out nsQIResult  iface 
) [inherited]
nsISupports nsIVariant::getAsISupports ( ) [inherited]
void nsIVariant::getAsStringWithSize ( out PRUint32  size,
[size_is(size), retval] out string  str 
) [inherited]
wchar nsIVariant::getAsWChar ( ) [inherited]
wstring nsIVariant::getAsWString ( ) [inherited]
void nsIVariant::getAsWStringWithSize ( out PRUint32  size,
[size_is(size), retval] out wstring  str 
) [inherited]
void nsIWritableVariant::setAsArray ( in PRUint16  type,
in nsIIDPtr  iid,
in PRUint32  count,
in voidPtr  ptr 
void nsIWritableVariant::setAsAUTF8String ( in AUTF8String  aValue)
void nsIWritableVariant::setAsID ( in nsIDRef  aValue)
void nsIWritableVariant::setAsInterface ( in nsIIDRef  iid,
[iid_is(iid)] in nsQIResult  iface 
void nsIWritableVariant::setAsISupports ( in nsISupports  aValue)
void nsIWritableVariant::setAsStringWithSize ( in PRUint32  size,
[size_is(size)] in string  str 
void nsIWritableVariant::setAsWStringWithSize ( in PRUint32  size,
[size_is(size)] in wstring  str 

Member Data Documentation

readonly attribute PRUint16 nsIVariant::dataType [inherited]

Definition at line 92 of file nsIVariant.idl.

Definition at line 142 of file nsIVariant.idl.

The documentation for this interface was generated from the following file: