LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsISAXMutableAttributes.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsISAXMutableAttributes.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsISAXMutableAttributes_h__
       6             : #define __gen_nsISAXMutableAttributes_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsISAXAttributes_h__
      14             : #include "nsISAXAttributes.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : 
      22             : /* starting interface:    nsISAXMutableAttributes */
      23             : #define NS_ISAXMUTABLEATTRIBUTES_IID_STR "8b1de83d-cebb-49fa-8245-c0fe319eb7b6"
      24             : 
      25             : #define NS_ISAXMUTABLEATTRIBUTES_IID \
      26             :   {0x8b1de83d, 0xcebb, 0x49fa, \
      27             :     { 0x82, 0x45, 0xc0, 0xfe, 0x31, 0x9e, 0xb7, 0xb6 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsISAXMutableAttributes : public nsISAXAttributes {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISAXMUTABLEATTRIBUTES_IID)
      33             : 
      34             :   /* void addAttribute (in AString uri, in AString localName, in AString qName, in AString type, in AString value); */
      35             :   NS_IMETHOD AddAttribute(const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) = 0;
      36             : 
      37             :   /* void clear (); */
      38             :   NS_IMETHOD Clear(void) = 0;
      39             : 
      40             :   /* void removeAttribute (in unsigned long index); */
      41             :   NS_IMETHOD RemoveAttribute(uint32_t index) = 0;
      42             : 
      43             :   /* void setAttributes (in nsISAXAttributes attributes); */
      44             :   NS_IMETHOD SetAttributes(nsISAXAttributes *attributes) = 0;
      45             : 
      46             :   /* void setAttribute (in unsigned long index, in AString uri, in AString localName, in AString qName, in AString type, in AString value); */
      47             :   NS_IMETHOD SetAttribute(uint32_t index, const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) = 0;
      48             : 
      49             :   /* void setLocalName (in unsigned long index, in AString localName); */
      50             :   NS_IMETHOD SetLocalName(uint32_t index, const nsAString & localName) = 0;
      51             : 
      52             :   /* void setQName (in unsigned long index, in AString qName); */
      53             :   NS_IMETHOD SetQName(uint32_t index, const nsAString & qName) = 0;
      54             : 
      55             :   /* void setType (in unsigned long index, in AString type); */
      56             :   NS_IMETHOD SetType(uint32_t index, const nsAString & type) = 0;
      57             : 
      58             :   /* void setURI (in unsigned long index, in AString uri); */
      59             :   NS_IMETHOD SetURI(uint32_t index, const nsAString & uri) = 0;
      60             : 
      61             :   /* void setValue (in unsigned long index, in AString value); */
      62             :   NS_IMETHOD SetValue(uint32_t index, const nsAString & value) = 0;
      63             : 
      64             : };
      65             : 
      66             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISAXMutableAttributes, NS_ISAXMUTABLEATTRIBUTES_IID)
      67             : 
      68             : /* Use this macro when declaring classes that implement this interface. */
      69             : #define NS_DECL_NSISAXMUTABLEATTRIBUTES \
      70             :   NS_IMETHOD AddAttribute(const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) override; \
      71             :   NS_IMETHOD Clear(void) override; \
      72             :   NS_IMETHOD RemoveAttribute(uint32_t index) override; \
      73             :   NS_IMETHOD SetAttributes(nsISAXAttributes *attributes) override; \
      74             :   NS_IMETHOD SetAttribute(uint32_t index, const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) override; \
      75             :   NS_IMETHOD SetLocalName(uint32_t index, const nsAString & localName) override; \
      76             :   NS_IMETHOD SetQName(uint32_t index, const nsAString & qName) override; \
      77             :   NS_IMETHOD SetType(uint32_t index, const nsAString & type) override; \
      78             :   NS_IMETHOD SetURI(uint32_t index, const nsAString & uri) override; \
      79             :   NS_IMETHOD SetValue(uint32_t index, const nsAString & value) override; 
      80             : 
      81             : /* Use this macro when declaring the members of this interface when the
      82             :    class doesn't implement the interface. This is useful for forwarding. */
      83             : #define NS_DECL_NON_VIRTUAL_NSISAXMUTABLEATTRIBUTES \
      84             :   nsresult AddAttribute(const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value); \
      85             :   nsresult Clear(void); \
      86             :   nsresult RemoveAttribute(uint32_t index); \
      87             :   nsresult SetAttributes(nsISAXAttributes *attributes); \
      88             :   nsresult SetAttribute(uint32_t index, const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value); \
      89             :   nsresult SetLocalName(uint32_t index, const nsAString & localName); \
      90             :   nsresult SetQName(uint32_t index, const nsAString & qName); \
      91             :   nsresult SetType(uint32_t index, const nsAString & type); \
      92             :   nsresult SetURI(uint32_t index, const nsAString & uri); \
      93             :   nsresult SetValue(uint32_t index, const nsAString & value); 
      94             : 
      95             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      96             : #define NS_FORWARD_NSISAXMUTABLEATTRIBUTES(_to) \
      97             :   NS_IMETHOD AddAttribute(const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) override { return _to AddAttribute(uri, localName, qName, type, value); } \
      98             :   NS_IMETHOD Clear(void) override { return _to Clear(); } \
      99             :   NS_IMETHOD RemoveAttribute(uint32_t index) override { return _to RemoveAttribute(index); } \
     100             :   NS_IMETHOD SetAttributes(nsISAXAttributes *attributes) override { return _to SetAttributes(attributes); } \
     101             :   NS_IMETHOD SetAttribute(uint32_t index, const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) override { return _to SetAttribute(index, uri, localName, qName, type, value); } \
     102             :   NS_IMETHOD SetLocalName(uint32_t index, const nsAString & localName) override { return _to SetLocalName(index, localName); } \
     103             :   NS_IMETHOD SetQName(uint32_t index, const nsAString & qName) override { return _to SetQName(index, qName); } \
     104             :   NS_IMETHOD SetType(uint32_t index, const nsAString & type) override { return _to SetType(index, type); } \
     105             :   NS_IMETHOD SetURI(uint32_t index, const nsAString & uri) override { return _to SetURI(index, uri); } \
     106             :   NS_IMETHOD SetValue(uint32_t index, const nsAString & value) override { return _to SetValue(index, value); } 
     107             : 
     108             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     109             : #define NS_FORWARD_SAFE_NSISAXMUTABLEATTRIBUTES(_to) \
     110             :   NS_IMETHOD AddAttribute(const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttribute(uri, localName, qName, type, value); } \
     111             :   NS_IMETHOD Clear(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } \
     112             :   NS_IMETHOD RemoveAttribute(uint32_t index) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttribute(index); } \
     113             :   NS_IMETHOD SetAttributes(nsISAXAttributes *attributes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttributes(attributes); } \
     114             :   NS_IMETHOD SetAttribute(uint32_t index, const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttribute(index, uri, localName, qName, type, value); } \
     115             :   NS_IMETHOD SetLocalName(uint32_t index, const nsAString & localName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLocalName(index, localName); } \
     116             :   NS_IMETHOD SetQName(uint32_t index, const nsAString & qName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetQName(index, qName); } \
     117             :   NS_IMETHOD SetType(uint32_t index, const nsAString & type) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetType(index, type); } \
     118             :   NS_IMETHOD SetURI(uint32_t index, const nsAString & uri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetURI(index, uri); } \
     119             :   NS_IMETHOD SetValue(uint32_t index, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(index, value); } 
     120             : 
     121             : #if 0
     122             : /* Use the code below as a template for the implementation class for this interface. */
     123             : 
     124             : /* Header file */
     125             : class nsSAXMutableAttributes : public nsISAXMutableAttributes
     126             : {
     127             : public:
     128             :   NS_DECL_ISUPPORTS
     129             :   NS_DECL_NSISAXMUTABLEATTRIBUTES
     130             : 
     131             :   nsSAXMutableAttributes();
     132             : 
     133             : private:
     134             :   ~nsSAXMutableAttributes();
     135             : 
     136             : protected:
     137             :   /* additional members */
     138             : };
     139             : 
     140             : /* Implementation file */
     141             : NS_IMPL_ISUPPORTS(nsSAXMutableAttributes, nsISAXMutableAttributes)
     142             : 
     143             : nsSAXMutableAttributes::nsSAXMutableAttributes()
     144             : {
     145             :   /* member initializers and constructor code */
     146             : }
     147             : 
     148             : nsSAXMutableAttributes::~nsSAXMutableAttributes()
     149             : {
     150             :   /* destructor code */
     151             : }
     152             : 
     153             : /* void addAttribute (in AString uri, in AString localName, in AString qName, in AString type, in AString value); */
     154             : NS_IMETHODIMP nsSAXMutableAttributes::AddAttribute(const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value)
     155             : {
     156             :     return NS_ERROR_NOT_IMPLEMENTED;
     157             : }
     158             : 
     159             : /* void clear (); */
     160             : NS_IMETHODIMP nsSAXMutableAttributes::Clear()
     161             : {
     162             :     return NS_ERROR_NOT_IMPLEMENTED;
     163             : }
     164             : 
     165             : /* void removeAttribute (in unsigned long index); */
     166             : NS_IMETHODIMP nsSAXMutableAttributes::RemoveAttribute(uint32_t index)
     167             : {
     168             :     return NS_ERROR_NOT_IMPLEMENTED;
     169             : }
     170             : 
     171             : /* void setAttributes (in nsISAXAttributes attributes); */
     172             : NS_IMETHODIMP nsSAXMutableAttributes::SetAttributes(nsISAXAttributes *attributes)
     173             : {
     174             :     return NS_ERROR_NOT_IMPLEMENTED;
     175             : }
     176             : 
     177             : /* void setAttribute (in unsigned long index, in AString uri, in AString localName, in AString qName, in AString type, in AString value); */
     178             : NS_IMETHODIMP nsSAXMutableAttributes::SetAttribute(uint32_t index, const nsAString & uri, const nsAString & localName, const nsAString & qName, const nsAString & type, const nsAString & value)
     179             : {
     180             :     return NS_ERROR_NOT_IMPLEMENTED;
     181             : }
     182             : 
     183             : /* void setLocalName (in unsigned long index, in AString localName); */
     184             : NS_IMETHODIMP nsSAXMutableAttributes::SetLocalName(uint32_t index, const nsAString & localName)
     185             : {
     186             :     return NS_ERROR_NOT_IMPLEMENTED;
     187             : }
     188             : 
     189             : /* void setQName (in unsigned long index, in AString qName); */
     190             : NS_IMETHODIMP nsSAXMutableAttributes::SetQName(uint32_t index, const nsAString & qName)
     191             : {
     192             :     return NS_ERROR_NOT_IMPLEMENTED;
     193             : }
     194             : 
     195             : /* void setType (in unsigned long index, in AString type); */
     196             : NS_IMETHODIMP nsSAXMutableAttributes::SetType(uint32_t index, const nsAString & type)
     197             : {
     198             :     return NS_ERROR_NOT_IMPLEMENTED;
     199             : }
     200             : 
     201             : /* void setURI (in unsigned long index, in AString uri); */
     202             : NS_IMETHODIMP nsSAXMutableAttributes::SetURI(uint32_t index, const nsAString & uri)
     203             : {
     204             :     return NS_ERROR_NOT_IMPLEMENTED;
     205             : }
     206             : 
     207             : /* void setValue (in unsigned long index, in AString value); */
     208             : NS_IMETHODIMP nsSAXMutableAttributes::SetValue(uint32_t index, const nsAString & value)
     209             : {
     210             :     return NS_ERROR_NOT_IMPLEMENTED;
     211             : }
     212             : 
     213             : /* End of implementation class template. */
     214             : #endif
     215             : 
     216             : 
     217             : #endif /* __gen_nsISAXMutableAttributes_h__ */

Generated by: LCOV version 1.13