LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMNamedNodeMap.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/core/nsIDOMNamedNodeMap.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMNamedNodeMap_h__
       6                 : #define __gen_nsIDOMNamedNodeMap_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_domstubs_h__
      10                 : #include "domstubs.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : 
      18                 : /* starting interface:    nsIDOMNamedNodeMap */
      19                 : #define NS_IDOMNAMEDNODEMAP_IID_STR "a6cf907b-15b3-11d2-932e-00805f8add32"
      20                 : 
      21                 : #define NS_IDOMNAMEDNODEMAP_IID \
      22                 :   {0xa6cf907b, 0x15b3, 0x11d2, \
      23                 :     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
      24                 : 
      25             232 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMNamedNodeMap : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMNAMEDNODEMAP_IID)
      29                 : 
      30                 :   /* nsIDOMNode getNamedItem (in DOMString name); */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      32                 : 
      33                 :   /* nsIDOMNode setNamedItem (in nsIDOMNode arg) raises (DOMException); */
      34                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItem(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      35                 : 
      36                 :   /* nsIDOMNode removeNamedItem (in DOMString name) raises (DOMException); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      38                 : 
      39                 :   /* nsIDOMNode item (in unsigned long index); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      41                 : 
      42                 :   /* readonly attribute unsigned long length; */
      43                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
      44                 : 
      45                 :   /* nsIDOMNode getNamedItemNS (in DOMString namespaceURI, in DOMString localName); */
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      47                 : 
      48                 :   /* nsIDOMNode setNamedItemNS (in nsIDOMNode arg) raises (DOMException); */
      49                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItemNS(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      50                 : 
      51                 :   /* nsIDOMNode removeNamedItemNS (in DOMString namespaceURI, in DOMString localName) raises (DOMException); */
      52                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM) = 0;
      53                 : 
      54                 : };
      55                 : 
      56                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMNamedNodeMap, NS_IDOMNAMEDNODEMAP_IID)
      57                 : 
      58                 : /* Use this macro when declaring classes that implement this interface. */
      59                 : #define NS_DECL_NSIDOMNAMEDNODEMAP \
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItem(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItemNS(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM); 
      68                 : 
      69                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      70                 : #define NS_FORWARD_NSIDOMNAMEDNODEMAP(_to) \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM) { return _to GetNamedItem(name, _retval); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItem(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM) { return _to SetNamedItem(arg, _retval); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM) { return _to RemoveNamedItem(name, _retval); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM) { return _to Item(index, _retval); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM) { return _to GetNamedItemNS(namespaceURI, localName, _retval); } \
      77                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItemNS(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM) { return _to SetNamedItemNS(arg, _retval); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM) { return _to RemoveNamedItemNS(namespaceURI, localName, _retval); } 
      79                 : 
      80                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      81                 : #define NS_FORWARD_SAFE_NSIDOMNAMEDNODEMAP(_to) \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamedItem(name, _retval); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItem(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNamedItem(arg, _retval); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveNamedItem(name, _retval); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamedItemNS(namespaceURI, localName, _retval); } \
      88                 :   NS_SCRIPTABLE NS_IMETHOD SetNamedItemNS(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNamedItemNS(arg, _retval); } \
      89                 :   NS_SCRIPTABLE NS_IMETHOD RemoveNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveNamedItemNS(namespaceURI, localName, _retval); } 
      90                 : 
      91                 : #if 0
      92                 : /* Use the code below as a template for the implementation class for this interface. */
      93                 : 
      94                 : /* Header file */
      95                 : class nsDOMNamedNodeMap : public nsIDOMNamedNodeMap
      96                 : {
      97                 : public:
      98                 :   NS_DECL_ISUPPORTS
      99                 :   NS_DECL_NSIDOMNAMEDNODEMAP
     100                 : 
     101                 :   nsDOMNamedNodeMap();
     102                 : 
     103                 : private:
     104                 :   ~nsDOMNamedNodeMap();
     105                 : 
     106                 : protected:
     107                 :   /* additional members */
     108                 : };
     109                 : 
     110                 : /* Implementation file */
     111                 : NS_IMPL_ISUPPORTS1(nsDOMNamedNodeMap, nsIDOMNamedNodeMap)
     112                 : 
     113                 : nsDOMNamedNodeMap::nsDOMNamedNodeMap()
     114                 : {
     115                 :   /* member initializers and constructor code */
     116                 : }
     117                 : 
     118                 : nsDOMNamedNodeMap::~nsDOMNamedNodeMap()
     119                 : {
     120                 :   /* destructor code */
     121                 : }
     122                 : 
     123                 : /* nsIDOMNode getNamedItem (in DOMString name); */
     124                 : NS_IMETHODIMP nsDOMNamedNodeMap::GetNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM)
     125                 : {
     126                 :     return NS_ERROR_NOT_IMPLEMENTED;
     127                 : }
     128                 : 
     129                 : /* nsIDOMNode setNamedItem (in nsIDOMNode arg) raises (DOMException); */
     130                 : NS_IMETHODIMP nsDOMNamedNodeMap::SetNamedItem(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM)
     131                 : {
     132                 :     return NS_ERROR_NOT_IMPLEMENTED;
     133                 : }
     134                 : 
     135                 : /* nsIDOMNode removeNamedItem (in DOMString name) raises (DOMException); */
     136                 : NS_IMETHODIMP nsDOMNamedNodeMap::RemoveNamedItem(const nsAString & name, nsIDOMNode * *_retval NS_OUTPARAM)
     137                 : {
     138                 :     return NS_ERROR_NOT_IMPLEMENTED;
     139                 : }
     140                 : 
     141                 : /* nsIDOMNode item (in unsigned long index); */
     142                 : NS_IMETHODIMP nsDOMNamedNodeMap::Item(PRUint32 index, nsIDOMNode * *_retval NS_OUTPARAM)
     143                 : {
     144                 :     return NS_ERROR_NOT_IMPLEMENTED;
     145                 : }
     146                 : 
     147                 : /* readonly attribute unsigned long length; */
     148                 : NS_IMETHODIMP nsDOMNamedNodeMap::GetLength(PRUint32 *aLength)
     149                 : {
     150                 :     return NS_ERROR_NOT_IMPLEMENTED;
     151                 : }
     152                 : 
     153                 : /* nsIDOMNode getNamedItemNS (in DOMString namespaceURI, in DOMString localName); */
     154                 : NS_IMETHODIMP nsDOMNamedNodeMap::GetNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM)
     155                 : {
     156                 :     return NS_ERROR_NOT_IMPLEMENTED;
     157                 : }
     158                 : 
     159                 : /* nsIDOMNode setNamedItemNS (in nsIDOMNode arg) raises (DOMException); */
     160                 : NS_IMETHODIMP nsDOMNamedNodeMap::SetNamedItemNS(nsIDOMNode *arg, nsIDOMNode * *_retval NS_OUTPARAM)
     161                 : {
     162                 :     return NS_ERROR_NOT_IMPLEMENTED;
     163                 : }
     164                 : 
     165                 : /* nsIDOMNode removeNamedItemNS (in DOMString namespaceURI, in DOMString localName) raises (DOMException); */
     166                 : NS_IMETHODIMP nsDOMNamedNodeMap::RemoveNamedItemNS(const nsAString & namespaceURI, const nsAString & localName, nsIDOMNode * *_retval NS_OUTPARAM)
     167                 : {
     168                 :     return NS_ERROR_NOT_IMPLEMENTED;
     169                 : }
     170                 : 
     171                 : /* End of implementation class template. */
     172                 : #endif
     173                 : 
     174                 : 
     175                 : #endif /* __gen_nsIDOMNamedNodeMap_h__ */

Generated by: LCOV version 1.7