#include <sbVariantUtils.h>
Public Member Functions | |
sbVariantHelper (nsIVariant *aVariant, nsresult *aRV=nsnull) | |
operator PRUint8 () const | |
operator PRUint16 () const | |
operator PRInt16 () const | |
operator PRUint32 () const | |
operator PRInt32 () const | |
operator PRUint64 () const | |
operator PRInt64 () const | |
operator nsString () const | |
operator nsCString () const | |
nsresult | rv () |
Helper class for variants to return the value of the variant. This class is mainly useful for template functions that use variants.
Definition at line 289 of file sbVariantUtils.h.
|
inline |
Construct a variant helper for the variant specified by aVariant. If aRV is specified, return all error results from all methods in aRV.
aVariant | Variant. |
aRV | Optional. Return value to use for all methods. |
Definition at line 306 of file sbVariantUtils.h.
|
inline |
Definition at line 460 of file sbVariantUtils.h.
|
inline |
Definition at line 443 of file sbVariantUtils.h.
|
inline |
Definition at line 358 of file sbVariantUtils.h.
|
inline |
Definition at line 392 of file sbVariantUtils.h.
|
inline |
Definition at line 426 of file sbVariantUtils.h.
|
inline |
Definition at line 341 of file sbVariantUtils.h.
|
inline |
Definition at line 375 of file sbVariantUtils.h.
|
inline |
Definition at line 409 of file sbVariantUtils.h.
|
inline |
Definition at line 322 of file sbVariantUtils.h.
|
inline |
Return the result of the last method called.
Definition at line 483 of file sbVariantUtils.h.