LCOV - app.info - objdir/dist/include/nsIDOMCharacterData.h

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/dom/interfaces/core/nsIDOMCharacterData.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMCharacterData_h__
           6                 : #define __gen_nsIDOMCharacterData_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIDOMNode_h__
          10                 : #include "nsIDOMNode.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:    nsIDOMCharacterData */
          19                 : #define NS_IDOMCHARACTERDATA_IID_STR "cb75c251-afc7-444f-b2d6-b9635555f3ed"
          20                 :
          21                 : #define NS_IDOMCHARACTERDATA_IID \
          22                 :   {0xcb75c251, 0xafc7, 0x444f, \
          23                 :     { 0xb2, 0xd6, 0xb9, 0x63, 0x55, 0x55, 0xf3, 0xed }}
          24                 :
          25           74953 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCharacterData : public nsIDOMNode {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCHARACTERDATA_IID)
          29                 :
          30                 :   /* attribute DOMString data; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData) = 0;
          32                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & aData) = 0;
          33                 :
          34                 :   /* readonly attribute unsigned long length; */
          35                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
          36                 :
          37                 :   /* DOMString substringData (in unsigned long offset, in unsigned long count) raises (DOMException); */
          38                 :   NS_SCRIPTABLE NS_IMETHOD SubstringData(PRUint32 offset, PRUint32 count, nsAString & _retval NS_OUTPARAM) = 0;
          39                 :
          40                 :   /* void appendData (in DOMString arg) raises (DOMException); */
          41                 :   NS_SCRIPTABLE NS_IMETHOD AppendData(const nsAString & arg) = 0;
          42                 :
          43                 :   /* void insertData (in unsigned long offset, in DOMString arg) raises (DOMException); */
          44                 :   NS_SCRIPTABLE NS_IMETHOD InsertData(PRUint32 offset, const nsAString & arg) = 0;
          45                 :
          46                 :   /* void deleteData (in unsigned long offset, in unsigned long count) raises (DOMException); */
          47                 :   NS_SCRIPTABLE NS_IMETHOD DeleteData(PRUint32 offset, PRUint32 count) = 0;
          48                 :
          49                 :   /* void replaceData (in unsigned long offset, in unsigned long count, in DOMString arg) raises (DOMException); */
          50                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceData(PRUint32 offset, PRUint32 count, const nsAString & arg) = 0;
          51                 :
          52                 : };
          53                 :
          54                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCharacterData, NS_IDOMCHARACTERDATA_IID)
          55                 :
          56                 : /* Use this macro when declaring classes that implement this interface. */
          57                 : #define NS_DECL_NSIDOMCHARACTERDATA \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData); \
          59                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & aData); \
          60                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
          61                 :   NS_SCRIPTABLE NS_IMETHOD SubstringData(PRUint32 offset, PRUint32 count, nsAString & _retval NS_OUTPARAM); \
          62                 :   NS_SCRIPTABLE NS_IMETHOD AppendData(const nsAString & arg); \
          63                 :   NS_SCRIPTABLE NS_IMETHOD InsertData(PRUint32 offset, const nsAString & arg); \
          64                 :   NS_SCRIPTABLE NS_IMETHOD DeleteData(PRUint32 offset, PRUint32 count); \
          65                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceData(PRUint32 offset, PRUint32 count, const nsAString & arg);
          66                 :
          67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          68                 : #define NS_FORWARD_NSIDOMCHARACTERDATA(_to) \
          69                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData) { return _to GetData(aData); } \
          70                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & aData) { return _to SetData(aData); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
          72                 :   NS_SCRIPTABLE NS_IMETHOD SubstringData(PRUint32 offset, PRUint32 count, nsAString & _retval NS_OUTPARAM) { return _to SubstringData(offset, count, _retval); } \
          73                 :   NS_SCRIPTABLE NS_IMETHOD AppendData(const nsAString & arg) { return _to AppendData(arg); } \
          74                 :   NS_SCRIPTABLE NS_IMETHOD InsertData(PRUint32 offset, const nsAString & arg) { return _to InsertData(offset, arg); } \
          75                 :   NS_SCRIPTABLE NS_IMETHOD DeleteData(PRUint32 offset, PRUint32 count) { return _to DeleteData(offset, count); } \
          76                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceData(PRUint32 offset, PRUint32 count, const nsAString & arg) { return _to ReplaceData(offset, count, arg); }
          77                 :
          78                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          79                 : #define NS_FORWARD_SAFE_NSIDOMCHARACTERDATA(_to) \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD SetData(const nsAString & aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetData(aData); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD SubstringData(PRUint32 offset, PRUint32 count, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->SubstringData(offset, count, _retval); } \
          84                 :   NS_SCRIPTABLE NS_IMETHOD AppendData(const nsAString & arg) { return !_to ? NS_ERROR_NULL_POINTER : _to->AppendData(arg); } \
          85                 :   NS_SCRIPTABLE NS_IMETHOD InsertData(PRUint32 offset, const nsAString & arg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertData(offset, arg); } \
          86                 :   NS_SCRIPTABLE NS_IMETHOD DeleteData(PRUint32 offset, PRUint32 count) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteData(offset, count); } \
          87                 :   NS_SCRIPTABLE NS_IMETHOD ReplaceData(PRUint32 offset, PRUint32 count, const nsAString & arg) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplaceData(offset, count, arg); }
          88                 :
          89                 : #if 0
          90                 : /* Use the code below as a template for the implementation class for this interface. */
          91                 :
          92                 : /* Header file */
          93                 : class nsDOMCharacterData : public nsIDOMCharacterData
          94                 : {
          95                 : public:
          96                 :   NS_DECL_ISUPPORTS
          97                 :   NS_DECL_NSIDOMCHARACTERDATA
          98                 :
          99                 :   nsDOMCharacterData();
         100                 :
         101                 : private:
         102                 :   ~nsDOMCharacterData();
         103                 :
         104                 : protected:
         105                 :   /* additional members */
         106                 : };
         107                 :
         108                 : /* Implementation file */
         109                 : NS_IMPL_ISUPPORTS1(nsDOMCharacterData, nsIDOMCharacterData)
         110                 :
         111                 : nsDOMCharacterData::nsDOMCharacterData()
         112                 : {
         113                 :   /* member initializers and constructor code */
         114                 : }
         115                 :
         116                 : nsDOMCharacterData::~nsDOMCharacterData()
         117                 : {
         118                 :   /* destructor code */
         119                 : }
         120                 :
         121                 : /* attribute DOMString data; */
         122                 : NS_IMETHODIMP nsDOMCharacterData::GetData(nsAString & aData)
         123                 : {
         124                 :     return NS_ERROR_NOT_IMPLEMENTED;
         125                 : }
         126                 : NS_IMETHODIMP nsDOMCharacterData::SetData(const nsAString & aData)
         127                 : {
         128                 :     return NS_ERROR_NOT_IMPLEMENTED;
         129                 : }
         130                 :
         131                 : /* readonly attribute unsigned long length; */
         132                 : NS_IMETHODIMP nsDOMCharacterData::GetLength(PRUint32 *aLength)
         133                 : {
         134                 :     return NS_ERROR_NOT_IMPLEMENTED;
         135                 : }
         136                 :
         137                 : /* DOMString substringData (in unsigned long offset, in unsigned long count) raises (DOMException); */
         138                 : NS_IMETHODIMP nsDOMCharacterData::SubstringData(PRUint32 offset, PRUint32 count, nsAString & _retval NS_OUTPARAM)
         139                 : {
         140                 :     return NS_ERROR_NOT_IMPLEMENTED;
         141                 : }
         142                 :
         143                 : /* void appendData (in DOMString arg) raises (DOMException); */
         144                 : NS_IMETHODIMP nsDOMCharacterData::AppendData(const nsAString & arg)
         145                 : {
         146                 :     return NS_ERROR_NOT_IMPLEMENTED;
         147                 : }
         148                 :
         149                 : /* void insertData (in unsigned long offset, in DOMString arg) raises (DOMException); */
         150                 : NS_IMETHODIMP nsDOMCharacterData::InsertData(PRUint32 offset, const nsAString & arg)
         151                 : {
         152                 :     return NS_ERROR_NOT_IMPLEMENTED;
         153                 : }
         154                 :
         155                 : /* void deleteData (in unsigned long offset, in unsigned long count) raises (DOMException); */
         156                 : NS_IMETHODIMP nsDOMCharacterData::DeleteData(PRUint32 offset, PRUint32 count)
         157                 : {
         158                 :     return NS_ERROR_NOT_IMPLEMENTED;
         159                 : }
         160                 :
         161                 : /* void replaceData (in unsigned long offset, in unsigned long count, in DOMString arg) raises (DOMException); */
         162                 : NS_IMETHODIMP nsDOMCharacterData::ReplaceData(PRUint32 offset, PRUint32 count, const nsAString & arg)
         163                 : {
         164                 :     return NS_ERROR_NOT_IMPLEMENTED;
         165                 : }
         166                 :
         167                 : /* End of implementation class template. */
         168                 : #endif
         169                 :
         170                 :
         171                 : #endif /* __gen_nsIDOMCharacterData_h__ */

Generated by: LCOV version 1.7