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

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/rdf/base/idl/nsIRDFCompositeDataSource.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIRDFCompositeDataSource_h__
           6                 : #define __gen_nsIRDFCompositeDataSource_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsIRDFDataSource_h__
          10                 : #include "nsIRDFDataSource.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                 : class nsISimpleEnumerator; /* forward declaration */
          18                 :
          19                 :
          20                 : /* starting interface:    nsIRDFCompositeDataSource */
          21                 : #define NS_IRDFCOMPOSITEDATASOURCE_IID_STR "96343820-307c-11d2-bc15-00805f912fe7"
          22                 :
          23                 : #define NS_IRDFCOMPOSITEDATASOURCE_IID \
          24                 :   {0x96343820, 0x307c, 0x11d2, \
          25                 :     { 0xbc, 0x15, 0x00, 0x80, 0x5f, 0x91, 0x2f, 0xe7 }}
          26                 :
          27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFCompositeDataSource : public nsIRDFDataSource {
          28                 :  public:
          29                 :
          30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFCOMPOSITEDATASOURCE_IID)
          31                 :
          32                 :   /* attribute boolean allowNegativeAssertions; */
          33                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) = 0;
          34                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) = 0;
          35                 :
          36                 :   /* attribute boolean coalesceDuplicateArcs; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) = 0;
          38                 :   NS_SCRIPTABLE NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) = 0;
          39                 :
          40                 :   /* void AddDataSource (in nsIRDFDataSource aDataSource); */
          41                 :   NS_SCRIPTABLE NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) = 0;
          42                 :
          43                 :   /* void RemoveDataSource (in nsIRDFDataSource aDataSource); */
          44                 :   NS_SCRIPTABLE NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) = 0;
          45                 :
          46                 :   /* nsISimpleEnumerator GetDataSources (); */
          47                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval NS_OUTPARAM) = 0;
          48                 :
          49                 : };
          50                 :
          51                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFCompositeDataSource, NS_IRDFCOMPOSITEDATASOURCE_IID)
          52                 :
          53                 : /* Use this macro when declaring classes that implement this interface. */
          54                 : #define NS_DECL_NSIRDFCOMPOSITEDATASOURCE \
          55                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions); \
          56                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions); \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs); \
          58                 :   NS_SCRIPTABLE NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs); \
          59                 :   NS_SCRIPTABLE NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource); \
          60                 :   NS_SCRIPTABLE NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource); \
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval NS_OUTPARAM);
          62                 :
          63                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          64                 : #define NS_FORWARD_NSIRDFCOMPOSITEDATASOURCE(_to) \
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) { return _to GetAllowNegativeAssertions(aAllowNegativeAssertions); } \
          66                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) { return _to SetAllowNegativeAssertions(aAllowNegativeAssertions); } \
          67                 :   NS_SCRIPTABLE NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) { return _to GetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
          68                 :   NS_SCRIPTABLE NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) { return _to SetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
          69                 :   NS_SCRIPTABLE NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) { return _to AddDataSource(aDataSource); } \
          70                 :   NS_SCRIPTABLE NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) { return _to RemoveDataSource(aDataSource); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval NS_OUTPARAM) { return _to GetDataSources(_retval); }
          72                 :
          73                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          74                 : #define NS_FORWARD_SAFE_NSIRDFCOMPOSITEDATASOURCE(_to) \
          75                 :   NS_SCRIPTABLE NS_IMETHOD GetAllowNegativeAssertions(bool *aAllowNegativeAssertions) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllowNegativeAssertions(aAllowNegativeAssertions); } \
          76                 :   NS_SCRIPTABLE NS_IMETHOD SetAllowNegativeAssertions(bool aAllowNegativeAssertions) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAllowNegativeAssertions(aAllowNegativeAssertions); } \
          77                 :   NS_SCRIPTABLE NS_IMETHOD GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
          78                 :   NS_SCRIPTABLE NS_IMETHOD SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCoalesceDuplicateArcs(aCoalesceDuplicateArcs); } \
          79                 :   NS_SCRIPTABLE NS_IMETHOD AddDataSource(nsIRDFDataSource *aDataSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddDataSource(aDataSource); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD RemoveDataSource(nsIRDFDataSource *aDataSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveDataSource(aDataSource); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetDataSources(nsISimpleEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataSources(_retval); }
          82                 :
          83                 : #if 0
          84                 : /* Use the code below as a template for the implementation class for this interface. */
          85                 :
          86                 : /* Header file */
          87                 : class nsRDFCompositeDataSource : public nsIRDFCompositeDataSource
          88                 : {
          89                 : public:
          90                 :   NS_DECL_ISUPPORTS
          91                 :   NS_DECL_NSIRDFCOMPOSITEDATASOURCE
          92                 :
          93                 :   nsRDFCompositeDataSource();
          94                 :
          95                 : private:
          96                 :   ~nsRDFCompositeDataSource();
          97                 :
          98                 : protected:
          99                 :   /* additional members */
         100                 : };
         101                 :
         102                 : /* Implementation file */
         103                 : NS_IMPL_ISUPPORTS1(nsRDFCompositeDataSource, nsIRDFCompositeDataSource)
         104                 :
         105                 : nsRDFCompositeDataSource::nsRDFCompositeDataSource()
         106                 : {
         107                 :   /* member initializers and constructor code */
         108                 : }
         109                 :
         110                 : nsRDFCompositeDataSource::~nsRDFCompositeDataSource()
         111                 : {
         112                 :   /* destructor code */
         113                 : }
         114                 :
         115                 : /* attribute boolean allowNegativeAssertions; */
         116                 : NS_IMETHODIMP nsRDFCompositeDataSource::GetAllowNegativeAssertions(bool *aAllowNegativeAssertions)
         117                 : {
         118                 :     return NS_ERROR_NOT_IMPLEMENTED;
         119                 : }
         120                 : NS_IMETHODIMP nsRDFCompositeDataSource::SetAllowNegativeAssertions(bool aAllowNegativeAssertions)
         121                 : {
         122                 :     return NS_ERROR_NOT_IMPLEMENTED;
         123                 : }
         124                 :
         125                 : /* attribute boolean coalesceDuplicateArcs; */
         126                 : NS_IMETHODIMP nsRDFCompositeDataSource::GetCoalesceDuplicateArcs(bool *aCoalesceDuplicateArcs)
         127                 : {
         128                 :     return NS_ERROR_NOT_IMPLEMENTED;
         129                 : }
         130                 : NS_IMETHODIMP nsRDFCompositeDataSource::SetCoalesceDuplicateArcs(bool aCoalesceDuplicateArcs)
         131                 : {
         132                 :     return NS_ERROR_NOT_IMPLEMENTED;
         133                 : }
         134                 :
         135                 : /* void AddDataSource (in nsIRDFDataSource aDataSource); */
         136                 : NS_IMETHODIMP nsRDFCompositeDataSource::AddDataSource(nsIRDFDataSource *aDataSource)
         137                 : {
         138                 :     return NS_ERROR_NOT_IMPLEMENTED;
         139                 : }
         140                 :
         141                 : /* void RemoveDataSource (in nsIRDFDataSource aDataSource); */
         142                 : NS_IMETHODIMP nsRDFCompositeDataSource::RemoveDataSource(nsIRDFDataSource *aDataSource)
         143                 : {
         144                 :     return NS_ERROR_NOT_IMPLEMENTED;
         145                 : }
         146                 :
         147                 : /* nsISimpleEnumerator GetDataSources (); */
         148                 : NS_IMETHODIMP nsRDFCompositeDataSource::GetDataSources(nsISimpleEnumerator * *_retval NS_OUTPARAM)
         149                 : {
         150                 :     return NS_ERROR_NOT_IMPLEMENTED;
         151                 : }
         152                 :
         153                 : /* End of implementation class template. */
         154                 : #endif
         155                 :
         156                 : extern nsresult
         157                 : NS_NewRDFCompositeDataSource(nsIRDFCompositeDataSource** result);
         158                 :
         159                 : #endif /* __gen_nsIRDFCompositeDataSource_h__ */

Generated by: LCOV version 1.7