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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRDFLiteral.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIRDFLiteral_h__
       6             : #define __gen_nsIRDFLiteral_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIRDFNode_h__
      10             : #include "nsIRDFNode.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             : #include "nscore.h" // for char16_t
      18             : 
      19             : /* starting interface:    nsIRDFLiteral */
      20             : #define NS_IRDFLITERAL_IID_STR "e0c493d2-9542-11d2-8eb8-00805f29f370"
      21             : 
      22             : #define NS_IRDFLITERAL_IID \
      23             :   {0xe0c493d2, 0x9542, 0x11d2, \
      24             :     { 0x8e, 0xb8, 0x00, 0x80, 0x5f, 0x29, 0xf3, 0x70 }}
      25             : 
      26           8 : class NS_NO_VTABLE nsIRDFLiteral : public nsIRDFNode {
      27             :  public:
      28             : 
      29             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFLITERAL_IID)
      30             : 
      31             :   /* readonly attribute wstring Value; */
      32             :   NS_IMETHOD GetValue(char16_t * *aValue) = 0;
      33             : 
      34             :   /* [noscript] void GetValueConst ([shared] out wstring aConstValue); */
      35             :   NS_IMETHOD GetValueConst(const char16_t * *aConstValue) = 0;
      36             : 
      37             : };
      38             : 
      39             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFLiteral, NS_IRDFLITERAL_IID)
      40             : 
      41             : /* Use this macro when declaring classes that implement this interface. */
      42             : #define NS_DECL_NSIRDFLITERAL \
      43             :   NS_IMETHOD GetValue(char16_t * *aValue) override; \
      44             :   NS_IMETHOD GetValueConst(const char16_t * *aConstValue) override; 
      45             : 
      46             : /* Use this macro when declaring the members of this interface when the
      47             :    class doesn't implement the interface. This is useful for forwarding. */
      48             : #define NS_DECL_NON_VIRTUAL_NSIRDFLITERAL \
      49             :   nsresult GetValue(char16_t * *aValue); \
      50             :   nsresult GetValueConst(const char16_t * *aConstValue); 
      51             : 
      52             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      53             : #define NS_FORWARD_NSIRDFLITERAL(_to) \
      54             :   NS_IMETHOD GetValue(char16_t * *aValue) override { return _to GetValue(aValue); } \
      55             :   NS_IMETHOD GetValueConst(const char16_t * *aConstValue) override { return _to GetValueConst(aConstValue); } 
      56             : 
      57             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      58             : #define NS_FORWARD_SAFE_NSIRDFLITERAL(_to) \
      59             :   NS_IMETHOD GetValue(char16_t * *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
      60             :   NS_IMETHOD GetValueConst(const char16_t * *aConstValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueConst(aConstValue); } 
      61             : 
      62             : #if 0
      63             : /* Use the code below as a template for the implementation class for this interface. */
      64             : 
      65             : /* Header file */
      66             : class nsRDFLiteral : public nsIRDFLiteral
      67             : {
      68             : public:
      69             :   NS_DECL_ISUPPORTS
      70             :   NS_DECL_NSIRDFLITERAL
      71             : 
      72             :   nsRDFLiteral();
      73             : 
      74             : private:
      75             :   ~nsRDFLiteral();
      76             : 
      77             : protected:
      78             :   /* additional members */
      79             : };
      80             : 
      81             : /* Implementation file */
      82             : NS_IMPL_ISUPPORTS(nsRDFLiteral, nsIRDFLiteral)
      83             : 
      84             : nsRDFLiteral::nsRDFLiteral()
      85             : {
      86             :   /* member initializers and constructor code */
      87             : }
      88             : 
      89             : nsRDFLiteral::~nsRDFLiteral()
      90             : {
      91             :   /* destructor code */
      92             : }
      93             : 
      94             : /* readonly attribute wstring Value; */
      95             : NS_IMETHODIMP nsRDFLiteral::GetValue(char16_t * *aValue)
      96             : {
      97             :     return NS_ERROR_NOT_IMPLEMENTED;
      98             : }
      99             : 
     100             : /* [noscript] void GetValueConst ([shared] out wstring aConstValue); */
     101             : NS_IMETHODIMP nsRDFLiteral::GetValueConst(const char16_t * *aConstValue)
     102             : {
     103             :     return NS_ERROR_NOT_IMPLEMENTED;
     104             : }
     105             : 
     106             : /* End of implementation class template. */
     107             : #endif
     108             : 
     109             : 
     110             : /* starting interface:    nsIRDFDate */
     111             : #define NS_IRDFDATE_IID_STR "e13a24e1-c77a-11d2-80be-006097b76b8e"
     112             : 
     113             : #define NS_IRDFDATE_IID \
     114             :   {0xe13a24e1, 0xc77a, 0x11d2, \
     115             :     { 0x80, 0xbe, 0x00, 0x60, 0x97, 0xb7, 0x6b, 0x8e }}
     116             : 
     117           0 : class NS_NO_VTABLE nsIRDFDate : public nsIRDFNode {
     118             :  public:
     119             : 
     120             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFDATE_IID)
     121             : 
     122             :   /* readonly attribute PRTime Value; */
     123             :   NS_IMETHOD GetValue(PRTime *aValue) = 0;
     124             : 
     125             : };
     126             : 
     127             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFDate, NS_IRDFDATE_IID)
     128             : 
     129             : /* Use this macro when declaring classes that implement this interface. */
     130             : #define NS_DECL_NSIRDFDATE \
     131             :   NS_IMETHOD GetValue(PRTime *aValue) override; 
     132             : 
     133             : /* Use this macro when declaring the members of this interface when the
     134             :    class doesn't implement the interface. This is useful for forwarding. */
     135             : #define NS_DECL_NON_VIRTUAL_NSIRDFDATE \
     136             :   nsresult GetValue(PRTime *aValue); 
     137             : 
     138             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     139             : #define NS_FORWARD_NSIRDFDATE(_to) \
     140             :   NS_IMETHOD GetValue(PRTime *aValue) override { return _to GetValue(aValue); } 
     141             : 
     142             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     143             : #define NS_FORWARD_SAFE_NSIRDFDATE(_to) \
     144             :   NS_IMETHOD GetValue(PRTime *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } 
     145             : 
     146             : #if 0
     147             : /* Use the code below as a template for the implementation class for this interface. */
     148             : 
     149             : /* Header file */
     150             : class nsRDFDate : public nsIRDFDate
     151             : {
     152             : public:
     153             :   NS_DECL_ISUPPORTS
     154             :   NS_DECL_NSIRDFDATE
     155             : 
     156             :   nsRDFDate();
     157             : 
     158             : private:
     159             :   ~nsRDFDate();
     160             : 
     161             : protected:
     162             :   /* additional members */
     163             : };
     164             : 
     165             : /* Implementation file */
     166             : NS_IMPL_ISUPPORTS(nsRDFDate, nsIRDFDate)
     167             : 
     168             : nsRDFDate::nsRDFDate()
     169             : {
     170             :   /* member initializers and constructor code */
     171             : }
     172             : 
     173             : nsRDFDate::~nsRDFDate()
     174             : {
     175             :   /* destructor code */
     176             : }
     177             : 
     178             : /* readonly attribute PRTime Value; */
     179             : NS_IMETHODIMP nsRDFDate::GetValue(PRTime *aValue)
     180             : {
     181             :     return NS_ERROR_NOT_IMPLEMENTED;
     182             : }
     183             : 
     184             : /* End of implementation class template. */
     185             : #endif
     186             : 
     187             : 
     188             : /* starting interface:    nsIRDFInt */
     189             : #define NS_IRDFINT_IID_STR "e13a24e3-c77a-11d2-80be-006097b76b8e"
     190             : 
     191             : #define NS_IRDFINT_IID \
     192             :   {0xe13a24e3, 0xc77a, 0x11d2, \
     193             :     { 0x80, 0xbe, 0x00, 0x60, 0x97, 0xb7, 0x6b, 0x8e }}
     194             : 
     195           0 : class NS_NO_VTABLE nsIRDFInt : public nsIRDFNode {
     196             :  public:
     197             : 
     198             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFINT_IID)
     199             : 
     200             :   /* readonly attribute long Value; */
     201             :   NS_IMETHOD GetValue(int32_t *aValue) = 0;
     202             : 
     203             : };
     204             : 
     205             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFInt, NS_IRDFINT_IID)
     206             : 
     207             : /* Use this macro when declaring classes that implement this interface. */
     208             : #define NS_DECL_NSIRDFINT \
     209             :   NS_IMETHOD GetValue(int32_t *aValue) override; 
     210             : 
     211             : /* Use this macro when declaring the members of this interface when the
     212             :    class doesn't implement the interface. This is useful for forwarding. */
     213             : #define NS_DECL_NON_VIRTUAL_NSIRDFINT \
     214             :   nsresult GetValue(int32_t *aValue); 
     215             : 
     216             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     217             : #define NS_FORWARD_NSIRDFINT(_to) \
     218             :   NS_IMETHOD GetValue(int32_t *aValue) override { return _to GetValue(aValue); } 
     219             : 
     220             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     221             : #define NS_FORWARD_SAFE_NSIRDFINT(_to) \
     222             :   NS_IMETHOD GetValue(int32_t *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } 
     223             : 
     224             : #if 0
     225             : /* Use the code below as a template for the implementation class for this interface. */
     226             : 
     227             : /* Header file */
     228             : class nsRDFInt : public nsIRDFInt
     229             : {
     230             : public:
     231             :   NS_DECL_ISUPPORTS
     232             :   NS_DECL_NSIRDFINT
     233             : 
     234             :   nsRDFInt();
     235             : 
     236             : private:
     237             :   ~nsRDFInt();
     238             : 
     239             : protected:
     240             :   /* additional members */
     241             : };
     242             : 
     243             : /* Implementation file */
     244             : NS_IMPL_ISUPPORTS(nsRDFInt, nsIRDFInt)
     245             : 
     246             : nsRDFInt::nsRDFInt()
     247             : {
     248             :   /* member initializers and constructor code */
     249             : }
     250             : 
     251             : nsRDFInt::~nsRDFInt()
     252             : {
     253             :   /* destructor code */
     254             : }
     255             : 
     256             : /* readonly attribute long Value; */
     257             : NS_IMETHODIMP nsRDFInt::GetValue(int32_t *aValue)
     258             : {
     259             :     return NS_ERROR_NOT_IMPLEMENTED;
     260             : }
     261             : 
     262             : /* End of implementation class template. */
     263             : #endif
     264             : 
     265             : 
     266             : /* starting interface:    nsIRDFBlob */
     267             : #define NS_IRDFBLOB_IID_STR "237f85a2-1dd2-11b2-94af-8122582fc45e"
     268             : 
     269             : #define NS_IRDFBLOB_IID \
     270             :   {0x237f85a2, 0x1dd2, 0x11b2, \
     271             :     { 0x94, 0xaf, 0x81, 0x22, 0x58, 0x2f, 0xc4, 0x5e }}
     272             : 
     273           0 : class NS_NO_VTABLE nsIRDFBlob : public nsIRDFNode {
     274             :  public:
     275             : 
     276             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRDFBLOB_IID)
     277             : 
     278             :   /* [noscript] readonly attribute const_octet_ptr value; */
     279             :   NS_IMETHOD GetValue(const uint8_t **aValue) = 0;
     280             : 
     281             :   /* readonly attribute long length; */
     282             :   NS_IMETHOD GetLength(int32_t *aLength) = 0;
     283             : 
     284             : };
     285             : 
     286             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIRDFBlob, NS_IRDFBLOB_IID)
     287             : 
     288             : /* Use this macro when declaring classes that implement this interface. */
     289             : #define NS_DECL_NSIRDFBLOB \
     290             :   NS_IMETHOD GetValue(const uint8_t **aValue) override; \
     291             :   NS_IMETHOD GetLength(int32_t *aLength) override; 
     292             : 
     293             : /* Use this macro when declaring the members of this interface when the
     294             :    class doesn't implement the interface. This is useful for forwarding. */
     295             : #define NS_DECL_NON_VIRTUAL_NSIRDFBLOB \
     296             :   nsresult GetValue(const uint8_t **aValue); \
     297             :   nsresult GetLength(int32_t *aLength); 
     298             : 
     299             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     300             : #define NS_FORWARD_NSIRDFBLOB(_to) \
     301             :   NS_IMETHOD GetValue(const uint8_t **aValue) override { return _to GetValue(aValue); } \
     302             :   NS_IMETHOD GetLength(int32_t *aLength) override { return _to GetLength(aLength); } 
     303             : 
     304             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     305             : #define NS_FORWARD_SAFE_NSIRDFBLOB(_to) \
     306             :   NS_IMETHOD GetValue(const uint8_t **aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
     307             :   NS_IMETHOD GetLength(int32_t *aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } 
     308             : 
     309             : #if 0
     310             : /* Use the code below as a template for the implementation class for this interface. */
     311             : 
     312             : /* Header file */
     313             : class nsRDFBlob : public nsIRDFBlob
     314             : {
     315             : public:
     316             :   NS_DECL_ISUPPORTS
     317             :   NS_DECL_NSIRDFBLOB
     318             : 
     319             :   nsRDFBlob();
     320             : 
     321             : private:
     322             :   ~nsRDFBlob();
     323             : 
     324             : protected:
     325             :   /* additional members */
     326             : };
     327             : 
     328             : /* Implementation file */
     329             : NS_IMPL_ISUPPORTS(nsRDFBlob, nsIRDFBlob)
     330             : 
     331             : nsRDFBlob::nsRDFBlob()
     332             : {
     333             :   /* member initializers and constructor code */
     334             : }
     335             : 
     336             : nsRDFBlob::~nsRDFBlob()
     337             : {
     338             :   /* destructor code */
     339             : }
     340             : 
     341             : /* [noscript] readonly attribute const_octet_ptr value; */
     342             : NS_IMETHODIMP nsRDFBlob::GetValue(const uint8_t **aValue)
     343             : {
     344             :     return NS_ERROR_NOT_IMPLEMENTED;
     345             : }
     346             : 
     347             : /* readonly attribute long length; */
     348             : NS_IMETHODIMP nsRDFBlob::GetLength(int32_t *aLength)
     349             : {
     350             :     return NS_ERROR_NOT_IMPLEMENTED;
     351             : }
     352             : 
     353             : /* End of implementation class template. */
     354             : #endif
     355             : 
     356             : 
     357             : #endif /* __gen_nsIRDFLiteral_h__ */

Generated by: LCOV version 1.13