LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - rdfITripleVisitor.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/rdfITripleVisitor.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_rdfITripleVisitor_h__
       6             : #define __gen_rdfITripleVisitor_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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 nsIRDFResource; /* forward declaration */
      18             : 
      19             : class nsIRDFNode; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    rdfITripleVisitor */
      23             : #define RDFITRIPLEVISITOR_IID_STR "aafea151-c271-4505-9978-a100d292800c"
      24             : 
      25             : #define RDFITRIPLEVISITOR_IID \
      26             :   {0xaafea151, 0xc271, 0x4505, \
      27             :     { 0x99, 0x78, 0xa1, 0x00, 0xd2, 0x92, 0x80, 0x0c }}
      28             : 
      29           0 : class NS_NO_VTABLE rdfITripleVisitor : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(RDFITRIPLEVISITOR_IID)
      33             : 
      34             :   /* void visit (in nsIRDFNode aSubject, in nsIRDFResource aPredicate, in nsIRDFNode aObject, in boolean aTruthValue); */
      35             :   NS_IMETHOD Visit(nsIRDFNode *aSubject, nsIRDFResource *aPredicate, nsIRDFNode *aObject, bool aTruthValue) = 0;
      36             : 
      37             : };
      38             : 
      39             :   NS_DEFINE_STATIC_IID_ACCESSOR(rdfITripleVisitor, RDFITRIPLEVISITOR_IID)
      40             : 
      41             : /* Use this macro when declaring classes that implement this interface. */
      42             : #define NS_DECL_RDFITRIPLEVISITOR \
      43             :   NS_IMETHOD Visit(nsIRDFNode *aSubject, nsIRDFResource *aPredicate, nsIRDFNode *aObject, bool aTruthValue) override; 
      44             : 
      45             : /* Use this macro when declaring the members of this interface when the
      46             :    class doesn't implement the interface. This is useful for forwarding. */
      47             : #define NS_DECL_NON_VIRTUAL_RDFITRIPLEVISITOR \
      48             :   nsresult Visit(nsIRDFNode *aSubject, nsIRDFResource *aPredicate, nsIRDFNode *aObject, bool aTruthValue); 
      49             : 
      50             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      51             : #define NS_FORWARD_RDFITRIPLEVISITOR(_to) \
      52             :   NS_IMETHOD Visit(nsIRDFNode *aSubject, nsIRDFResource *aPredicate, nsIRDFNode *aObject, bool aTruthValue) override { return _to Visit(aSubject, aPredicate, aObject, aTruthValue); } 
      53             : 
      54             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55             : #define NS_FORWARD_SAFE_RDFITRIPLEVISITOR(_to) \
      56             :   NS_IMETHOD Visit(nsIRDFNode *aSubject, nsIRDFResource *aPredicate, nsIRDFNode *aObject, bool aTruthValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Visit(aSubject, aPredicate, aObject, aTruthValue); } 
      57             : 
      58             : #if 0
      59             : /* Use the code below as a template for the implementation class for this interface. */
      60             : 
      61             : /* Header file */
      62             : class _MYCLASS_ : public rdfITripleVisitor
      63             : {
      64             : public:
      65             :   NS_DECL_ISUPPORTS
      66             :   NS_DECL_RDFITRIPLEVISITOR
      67             : 
      68             :   _MYCLASS_();
      69             : 
      70             : private:
      71             :   ~_MYCLASS_();
      72             : 
      73             : protected:
      74             :   /* additional members */
      75             : };
      76             : 
      77             : /* Implementation file */
      78             : NS_IMPL_ISUPPORTS(_MYCLASS_, rdfITripleVisitor)
      79             : 
      80             : _MYCLASS_::_MYCLASS_()
      81             : {
      82             :   /* member initializers and constructor code */
      83             : }
      84             : 
      85             : _MYCLASS_::~_MYCLASS_()
      86             : {
      87             :   /* destructor code */
      88             : }
      89             : 
      90             : /* void visit (in nsIRDFNode aSubject, in nsIRDFResource aPredicate, in nsIRDFNode aObject, in boolean aTruthValue); */
      91             : NS_IMETHODIMP _MYCLASS_::Visit(nsIRDFNode *aSubject, nsIRDFResource *aPredicate, nsIRDFNode *aObject, bool aTruthValue)
      92             : {
      93             :     return NS_ERROR_NOT_IMPLEMENTED;
      94             : }
      95             : 
      96             : /* End of implementation class template. */
      97             : #endif
      98             : 
      99             : 
     100             : #endif /* __gen_rdfITripleVisitor_h__ */

Generated by: LCOV version 1.13