@mozilla.org/variant;1

This component implements the following interfaces:

Properties

readonly PRUint16 nsIVariant.dataType

PRBool nsIWritableVariant.writable

Methods

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

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com