Public Attributes

nsDiscriminatedUnion Struct Reference

nsDiscriminatedUnion is a type that nsIVariant implementors *may* use to hold underlying data. More...

#include <nsVariant.h>

Collaboration diagram for nsDiscriminatedUnion:

List of all members.

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.


Member Data Documentation

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

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