Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

nsIWritableVariant Interface Reference

import "nsIVariant.idl";

Inheritance diagram for nsIWritableVariant:

nsIVariant nsISupports nsVariant

List of all members.

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.

Public Member Functions

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

Public Attributes

readonly attribute PRUint16 dataType
attribute PRBool writable

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

Generated by  Doxygen 1.6.0   Back to index