nsDiscriminatedUnion Struct Reference

#include <sbVariant.h>

Public Attributes

union {
   PRInt8   mInt8Value
 
   PRInt16   mInt16Value
 
   PRInt32   mInt32Value
 
   PRInt64   mInt64Value
 
   PRUint8   mUint8Value
 
   PRUint16   mUint16Value
 
   PRUint32   mUint32Value
 
   PRUint64   mUint64Value
 
   float   mFloatValue
 
   double   mDoubleValue
 
   PRBool   mBoolValue
 
   char   mCharValue
 
   PRUnichar   mWCharValue
 
   nsIID   mIDValue
 
   nsAString *   mAStringValue
 
   nsACString *   mUTF8StringValue
 
   nsACString *   mCStringValue
 
   struct {
      nsISupports *   mInterfaceValue
 
      nsIID   mInterfaceID
 
   }   iface
 
   struct {
      nsIID   mArrayInterfaceID
 
      void *   mArrayValue
 
      PRUint32   mArrayCount
 
      PRUint16   mArrayType
 
   }   array
 
   struct {
      char *   mStringValue
 
      PRUint32   mStringLength
 
   }   str
 
   struct {
      PRUnichar *   mWStringValue
 
      PRUint32   mWStringLength
 
   }   wstr
 
u
 
PRUint16 mType
 

Detailed Description

nsDiscriminatedUnion is a type that nsIVariant implementors may use to hold underlying data. It has no methods. So, its use requires no linkage to the xpcom module.

Definition at line 52 of file sbVariant.h.

Member Data Documentation

struct { ... } nsDiscriminatedUnion::array
struct { ... } nsDiscriminatedUnion::iface
PRUint32 nsDiscriminatedUnion::mArrayCount

Definition at line 79 of file sbVariant.h.

nsIID nsDiscriminatedUnion::mArrayInterfaceID

Definition at line 77 of file sbVariant.h.

PRUint16 nsDiscriminatedUnion::mArrayType

Definition at line 80 of file sbVariant.h.

void* nsDiscriminatedUnion::mArrayValue

Definition at line 78 of file sbVariant.h.

nsAString* nsDiscriminatedUnion::mAStringValue

Definition at line 69 of file sbVariant.h.

PRBool nsDiscriminatedUnion::mBoolValue

Definition at line 65 of file sbVariant.h.

char nsDiscriminatedUnion::mCharValue

Definition at line 66 of file sbVariant.h.

nsACString* nsDiscriminatedUnion::mCStringValue

Definition at line 71 of file sbVariant.h.

double nsDiscriminatedUnion::mDoubleValue

Definition at line 64 of file sbVariant.h.

float nsDiscriminatedUnion::mFloatValue

Definition at line 63 of file sbVariant.h.

nsIID nsDiscriminatedUnion::mIDValue

Definition at line 68 of file sbVariant.h.

PRInt16 nsDiscriminatedUnion::mInt16Value

Definition at line 56 of file sbVariant.h.

PRInt32 nsDiscriminatedUnion::mInt32Value

Definition at line 57 of file sbVariant.h.

PRInt64 nsDiscriminatedUnion::mInt64Value

Definition at line 58 of file sbVariant.h.

PRInt8 nsDiscriminatedUnion::mInt8Value

Definition at line 55 of file sbVariant.h.

nsIID nsDiscriminatedUnion::mInterfaceID

Definition at line 74 of file sbVariant.h.

nsISupports* nsDiscriminatedUnion::mInterfaceValue

Definition at line 73 of file sbVariant.h.

PRUint32 nsDiscriminatedUnion::mStringLength

Definition at line 84 of file sbVariant.h.

char* nsDiscriminatedUnion::mStringValue

Definition at line 83 of file sbVariant.h.

PRUint16 nsDiscriminatedUnion::mType

Definition at line 91 of file sbVariant.h.

PRUint16 nsDiscriminatedUnion::mUint16Value

Definition at line 60 of file sbVariant.h.

PRUint32 nsDiscriminatedUnion::mUint32Value

Definition at line 61 of file sbVariant.h.

PRUint64 nsDiscriminatedUnion::mUint64Value

Definition at line 62 of file sbVariant.h.

PRUint8 nsDiscriminatedUnion::mUint8Value

Definition at line 59 of file sbVariant.h.

nsACString* nsDiscriminatedUnion::mUTF8StringValue

Definition at line 70 of file sbVariant.h.

PRUnichar nsDiscriminatedUnion::mWCharValue

Definition at line 67 of file sbVariant.h.

PRUint32 nsDiscriminatedUnion::mWStringLength

Definition at line 88 of file sbVariant.h.

PRUnichar* nsDiscriminatedUnion::mWStringValue

Definition at line 87 of file sbVariant.h.

struct { ... } nsDiscriminatedUnion::str
union { ... } nsDiscriminatedUnion::u
struct { ... } nsDiscriminatedUnion::wstr

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