Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Attributes | Friends
nsSOAPPropertyBag Class Reference
Inheritance diagram for nsSOAPPropertyBag:
Inheritance graph
[legend]
Collaboration diagram for nsSOAPPropertyBag:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsSOAPPropertyBag ()
virtual ~nsSOAPPropertyBag ()
NS_DECL_ISUPPORTS
NS_DECL_NSIPROPERTYBAG
NS_DECL_NSIXPCSCRIPTABLE
nsresult 
Init ()
nsresult SetProperty (const nsAString &aName, nsIVariant *aValue)
nsIVariant getProperty (in AString name)
 Get a property value for the given name.
void preCreate (in nsISupports nativeObj, in JSContextPtr cx, in JSObjectPtr globalObj, out JSObjectPtr parentObj)
void create (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj)
void postCreate (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj)
PRBool addProperty (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal id, in JSValPtr vp)
PRBool delProperty (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal id, in JSValPtr vp)
PRBool getProperty (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal id, in JSValPtr vp)
PRBool setProperty (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal id, in JSValPtr vp)
PRBool enumerate (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj)
PRBool newEnumerate (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in PRUint32 enum_op, in JSValPtr statep, out JSID idp)
PRBool newResolve (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal id, in PRUint32 flags, out JSObjectPtr objp)
PRBool convert (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in PRUint32 type, in JSValPtr vp)
void finalize (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj)
PRBool checkAccess (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal id, in PRUint32 mode, in JSValPtr vp)
PRBool call (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in PRUint32 argc, in JSValPtr argv, in JSValPtr vp)
PRBool construct (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in PRUint32 argc, in JSValPtr argv, in JSValPtr vp)
PRBool hasInstance (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal val, out PRBool bp)
PRUint32 mark (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in voidPtr arg)
PRBool equality (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj, in JSVal val)
JSObjectPtr outerObject (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj)
JSObjectPtr innerObject (in nsIXPConnectWrappedNative wrapper, in JSContextPtr cx, in JSObjectPtr obj)

Public Attributes

readonly attribute
nsISimpleEnumerator 
enumerator
 Get a nsISimpleEnumerator whose elements are nsIProperty objects.
const PRUint32 WANT_PRECREATE = 1 << 0
const PRUint32 WANT_CREATE = 1 << 1
const PRUint32 WANT_POSTCREATE = 1 << 2
const PRUint32 WANT_ADDPROPERTY = 1 << 3
const PRUint32 WANT_DELPROPERTY = 1 << 4
const PRUint32 WANT_GETPROPERTY = 1 << 5
const PRUint32 WANT_SETPROPERTY = 1 << 6
const PRUint32 WANT_ENUMERATE = 1 << 7
const PRUint32 WANT_NEWENUMERATE = 1 << 8
const PRUint32 WANT_NEWRESOLVE = 1 << 9
const PRUint32 WANT_CONVERT = 1 << 10
const PRUint32 WANT_FINALIZE = 1 << 11
const PRUint32 WANT_CHECKACCESS = 1 << 12
const PRUint32 WANT_CALL = 1 << 13
const PRUint32 WANT_CONSTRUCT = 1 << 14
const PRUint32 WANT_HASINSTANCE = 1 << 15
const PRUint32 WANT_MARK = 1 << 16
const PRUint32 USE_JSSTUB_FOR_ADDPROPERTY = 1 << 17
const PRUint32 USE_JSSTUB_FOR_DELPROPERTY = 1 << 18
const PRUint32 USE_JSSTUB_FOR_SETPROPERTY = 1 << 19
const PRUint32 DONT_ENUM_STATIC_PROPS = 1 << 20
const PRUint32 DONT_ENUM_QUERY_INTERFACE = 1 << 21
const PRUint32 DONT_ASK_INSTANCE_FOR_SCRIPTABLE = 1 << 22
const PRUint32 CLASSINFO_INTERFACES_ONLY = 1 << 23
const PRUint32 ALLOW_PROP_MODS_DURING_RESOLVE = 1 << 24
const PRUint32 ALLOW_PROP_MODS_TO_PROTOTYPE = 1 << 25
const PRUint32 DONT_SHARE_PROTOTYPE = 1 << 26
const PRUint32 DONT_REFLECT_INTERFACE_NAMES = 1 << 27
const PRUint32 WANT_EQUALITY = 1 << 28
const PRUint32 WANT_OUTER_OBJECT = 1 << 29
const PRUint32 WANT_INNER_OBJECT = 1 << 30
const PRUint32 RESERVED = 1 << 31
readonly attribute string className
readonly attribute PRUint32 scriptableFlags

Protected Attributes

nsInterfaceHashtable
< nsStringHashKey, nsIVariant
mProperties

Friends

class nsSOAPPropertyBagEnumerator

Detailed Description

Definition at line 49 of file nsSOAPPropertyBag.cpp.


Constructor & Destructor Documentation

Definition at line 97 of file nsSOAPPropertyBag.cpp.

{
}

Definition at line 101 of file nsSOAPPropertyBag.cpp.

{
}

Member Function Documentation

PRBool nsIXPCScriptable::call ( in nsIXPConnectWrappedNative  wrapper,
in JSContextPtr  cx,
in JSObjectPtr  obj,
in PRUint32  argc,
in JSValPtr  argv,
in JSValPtr  vp 
) [inherited]
PRBool nsIXPCScriptable::construct ( in nsIXPConnectWrappedNative  wrapper,
in JSContextPtr  cx,
in JSObjectPtr  obj,
in PRUint32  argc,
in JSValPtr  argv,
in JSValPtr  vp 
) [inherited]
nsIVariant nsIPropertyBag::getProperty ( in AString  name) [inherited]

Get a property value for the given name.

Exceptions:
NS_ERROR_FAILUREif a property with that name doesn't exist.

Definition at line 106 of file nsSOAPPropertyBag.cpp.

Here is the call graph for this function:

PRUint32 nsIXPCScriptable::mark ( in nsIXPConnectWrappedNative  wrapper,
in JSContextPtr  cx,
in JSObjectPtr  obj,
in voidPtr  arg 
) [inherited]
PRBool nsIXPCScriptable::newEnumerate ( in nsIXPConnectWrappedNative  wrapper,
in JSContextPtr  cx,
in JSObjectPtr  obj,
in PRUint32  enum_op,
in JSValPtr  statep,
out JSID  idp 
) [inherited]
void nsIXPCScriptable::preCreate ( in nsISupports  nativeObj,
in JSContextPtr  cx,
in JSObjectPtr  globalObj,
out JSObjectPtr  parentObj 
) [inherited]
nsresult nsSOAPPropertyBag::SetProperty ( const nsAString &  aName,
nsIVariant aValue 
)

Definition at line 121 of file nsSOAPPropertyBag.cpp.

{
  NS_ENSURE_ARG_POINTER(aValue);
  return mProperties.Put(aName, aValue);
}

Here is the call graph for this function:


Friends And Related Function Documentation

friend class nsSOAPPropertyBagEnumerator [friend]

Definition at line 64 of file nsSOAPPropertyBag.cpp.


Member Data Documentation

Definition at line 85 of file nsIXPCScriptable.idl.

Definition at line 86 of file nsIXPCScriptable.idl.

Definition at line 84 of file nsIXPCScriptable.idl.

Definition at line 98 of file nsIXPCScriptable.idl.

Definition at line 83 of file nsIXPCScriptable.idl.

Definition at line 82 of file nsIXPCScriptable.idl.

Definition at line 81 of file nsIXPCScriptable.idl.

Definition at line 88 of file nsIXPCScriptable.idl.

Definition at line 87 of file nsIXPCScriptable.idl.

Get a nsISimpleEnumerator whose elements are nsIProperty objects.

Definition at line 53 of file nsIPropertyBag.idl.

Definition at line 62 of file nsSOAPPropertyBag.cpp.

const PRUint32 nsIXPCScriptable::RESERVED = 1 << 31 [inherited]

Definition at line 96 of file nsIXPCScriptable.idl.

Definition at line 99 of file nsIXPCScriptable.idl.

Definition at line 78 of file nsIXPCScriptable.idl.

Definition at line 79 of file nsIXPCScriptable.idl.

Definition at line 80 of file nsIXPCScriptable.idl.

Definition at line 64 of file nsIXPCScriptable.idl.

Definition at line 74 of file nsIXPCScriptable.idl.

Definition at line 73 of file nsIXPCScriptable.idl.

Definition at line 75 of file nsIXPCScriptable.idl.

Definition at line 71 of file nsIXPCScriptable.idl.

Definition at line 62 of file nsIXPCScriptable.idl.

Definition at line 65 of file nsIXPCScriptable.idl.

Definition at line 68 of file nsIXPCScriptable.idl.

Definition at line 89 of file nsIXPCScriptable.idl.

Definition at line 72 of file nsIXPCScriptable.idl.

Definition at line 66 of file nsIXPCScriptable.idl.

Definition at line 76 of file nsIXPCScriptable.idl.

Definition at line 91 of file nsIXPCScriptable.idl.

Definition at line 77 of file nsIXPCScriptable.idl.

Definition at line 69 of file nsIXPCScriptable.idl.

Definition at line 70 of file nsIXPCScriptable.idl.

Definition at line 90 of file nsIXPCScriptable.idl.

Definition at line 63 of file nsIXPCScriptable.idl.

Definition at line 61 of file nsIXPCScriptable.idl.

Definition at line 67 of file nsIXPCScriptable.idl.


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