LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIRDFInMemoryDataSource.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/rdf/base/idl/nsIRDFInMemoryDataSource.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIRDFInMemoryDataSource_h__
       6                 : #define __gen_nsIRDFInMemoryDataSource_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIRDFResource_h__
      14                 : #include "nsIRDFResource.h"
      15                 : #endif
      16                 : 
      17                 : #ifndef __gen_nsIRDFNode_h__
      18                 : #include "nsIRDFNode.h"
      19                 : #endif
      20                 : 
      21                 : /* For IDL files that don't want to include root IDL files. */
      22                 : #ifndef NS_NO_VTABLE
      23                 : #define NS_NO_VTABLE
      24                 : #endif
      25                 : 
      26                 : /* starting interface:    nsIRDFInMemoryDataSource */
      27                 : #define NS_IRDFINMEMORYDATASOURCE_IID_STR "17c4e0aa-1dd2-11b2-8029-bf6f668de500"
      28                 : 
      29                 : #define NS_IRDFINMEMORYDATASOURCE_IID \
      30                 :   {0x17c4e0aa, 0x1dd2, 0x11b2, \
      31                 :     { 0x80, 0x29, 0xbf, 0x6f, 0x66, 0x8d, 0xe5, 0x00 }}
      32                 : 
      33            2072 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRDFInMemoryDataSource : public nsISupports {
      34                 :  public: 
      35                 : 
      36                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFINMEMORYDATASOURCE_IID)
      37                 : 
      38                 :   /* void EnsureFastContainment (in nsIRDFResource aSource); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) = 0;
      40                 : 
      41                 : };
      42                 : 
      43                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFInMemoryDataSource, NS_IRDFINMEMORYDATASOURCE_IID)
      44                 : 
      45                 : /* Use this macro when declaring classes that implement this interface. */
      46                 : #define NS_DECL_NSIRDFINMEMORYDATASOURCE \
      47                 :   NS_SCRIPTABLE NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSIRDFINMEMORYDATASOURCE(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) { return _to EnsureFastContainment(aSource); } 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      54                 : #define NS_FORWARD_SAFE_NSIRDFINMEMORYDATASOURCE(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD EnsureFastContainment(nsIRDFResource *aSource) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnsureFastContainment(aSource); } 
      56                 : 
      57                 : #if 0
      58                 : /* Use the code below as a template for the implementation class for this interface. */
      59                 : 
      60                 : /* Header file */
      61                 : class nsRDFInMemoryDataSource : public nsIRDFInMemoryDataSource
      62                 : {
      63                 : public:
      64                 :   NS_DECL_ISUPPORTS
      65                 :   NS_DECL_NSIRDFINMEMORYDATASOURCE
      66                 : 
      67                 :   nsRDFInMemoryDataSource();
      68                 : 
      69                 : private:
      70                 :   ~nsRDFInMemoryDataSource();
      71                 : 
      72                 : protected:
      73                 :   /* additional members */
      74                 : };
      75                 : 
      76                 : /* Implementation file */
      77                 : NS_IMPL_ISUPPORTS1(nsRDFInMemoryDataSource, nsIRDFInMemoryDataSource)
      78                 : 
      79                 : nsRDFInMemoryDataSource::nsRDFInMemoryDataSource()
      80                 : {
      81                 :   /* member initializers and constructor code */
      82                 : }
      83                 : 
      84                 : nsRDFInMemoryDataSource::~nsRDFInMemoryDataSource()
      85                 : {
      86                 :   /* destructor code */
      87                 : }
      88                 : 
      89                 : /* void EnsureFastContainment (in nsIRDFResource aSource); */
      90                 : NS_IMETHODIMP nsRDFInMemoryDataSource::EnsureFastContainment(nsIRDFResource *aSource)
      91                 : {
      92                 :     return NS_ERROR_NOT_IMPLEMENTED;
      93                 : }
      94                 : 
      95                 : /* End of implementation class template. */
      96                 : #endif
      97                 : 
      98                 : 
      99                 : #endif /* __gen_nsIRDFInMemoryDataSource_h__ */

Generated by: LCOV version 1.7