Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/storage/mozIStorageBindingParams.idl
*/
#ifndef __gen_mozIStorageBindingParams_h__
#define __gen_mozIStorageBindingParams_h__
#include "nsISupports.h"
#include "nsTArray.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIVariant; /* forward declaration */
/* starting interface: mozIStorageBindingParams */
#define MOZISTORAGEBINDINGPARAMS_IID_STR "2d09f42f-966e-4663-b4b3-b0c8676bf2bf"
#define MOZISTORAGEBINDINGPARAMS_IID \
{0x2d09f42f, 0x966e, 0x4663, \
{ 0xb4, 0xb3, 0xb0, 0xc8, 0x67, 0x6b, 0xf2, 0xbf }}
class NS_NO_VTABLE mozIStorageBindingParams : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(MOZISTORAGEBINDINGPARAMS_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = mozIStorageBindingParams;
/* void bindByName (in AUTF8String aName, in nsIVariant aValue); */
NS_IMETHOD BindByName(const nsACString& aName, nsIVariant *aValue) = 0;
/* [noscript] void bindUTF8StringByName (in AUTF8String aName, in AUTF8String aValue); */
NS_IMETHOD BindUTF8StringByName(const nsACString& aName, const nsACString& aValue) = 0;
/* [noscript] void bindStringByName (in AUTF8String aName, in AString aValue); */
NS_IMETHOD BindStringByName(const nsACString& aName, const nsAString& aValue) = 0;
/* [noscript] void bindDoubleByName (in AUTF8String aName, in double aValue); */
NS_IMETHOD BindDoubleByName(const nsACString& aName, double aValue) = 0;
/* [noscript] void bindInt32ByName (in AUTF8String aName, in long aValue); */
NS_IMETHOD BindInt32ByName(const nsACString& aName, int32_t aValue) = 0;
/* [noscript] void bindInt64ByName (in AUTF8String aName, in long long aValue); */
NS_IMETHOD BindInt64ByName(const nsACString& aName, int64_t aValue) = 0;
/* [noscript] void bindNullByName (in AUTF8String aName); */
NS_IMETHOD BindNullByName(const nsACString& aName) = 0;
/* [binaryname(BindBlobByName),noscript] void bindBlobByNameNoscript (in AUTF8String aName, [const] in octetPtr aValue, in unsigned long aValueSize); */
NS_IMETHOD BindBlobByName(const nsACString& aName, const uint8_t * aValue, uint32_t aValueSize) = 0;
/* [binaryname(BindBlobArrayByName)] void bindBlobByName (in AUTF8String aName, in Array<octet> aValue); */
NS_IMETHOD BindBlobArrayByName(const nsACString& aName, const nsTArray<uint8_t >& aValue) = 0;
/* void bindStringAsBlobByName (in AUTF8String aName, in AString aValue); */
NS_IMETHOD BindStringAsBlobByName(const nsACString& aName, const nsAString& aValue) = 0;
/* void bindUTF8StringAsBlobByName (in AUTF8String aName, in AUTF8String aValue); */
NS_IMETHOD BindUTF8StringAsBlobByName(const nsACString& aName, const nsACString& aValue) = 0;
/* [noscript] void bindAdoptedBlobByName (in AUTF8String aName, in octetPtr aValue, in unsigned long aValueSize); */
NS_IMETHOD BindAdoptedBlobByName(const nsACString& aName, uint8_t * aValue, uint32_t aValueSize) = 0;
/* void bindArrayOfIntegersByName (in AUTF8String aName, in Array<int64_t> aValue); */
NS_IMETHOD BindArrayOfIntegersByName(const nsACString& aName, const nsTArray<int64_t >& aValue) = 0;
/* void bindArrayOfDoublesByName (in AUTF8String aName, in Array<double> aValue); */
NS_IMETHOD BindArrayOfDoublesByName(const nsACString& aName, const nsTArray<double >& aValue) = 0;
/* void bindArrayOfStringsByName (in AUTF8String aName, in Array<AString> aValue); */
NS_IMETHOD BindArrayOfStringsByName(const nsACString& aName, const nsTArray<nsString >& aValue) = 0;
/* void bindArrayOfUTF8StringsByName (in AUTF8String aName, in Array<AUTF8String> aValue); */
NS_IMETHOD BindArrayOfUTF8StringsByName(const nsACString& aName, const nsTArray<nsCString >& aValue) = 0;
/* void bindByIndex (in unsigned long aIndex, in nsIVariant aValue); */
NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) = 0;
/* [noscript] void bindUTF8StringByIndex (in unsigned long aIndex, in AUTF8String aValue); */
NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString& aValue) = 0;
/* [noscript] void bindStringByIndex (in unsigned long aIndex, in AString aValue); */
NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString& aValue) = 0;
/* [noscript] void bindDoubleByIndex (in unsigned long aIndex, in double aValue); */
NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) = 0;
/* [noscript] void bindInt32ByIndex (in unsigned long aIndex, in long aValue); */
NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) = 0;
/* [noscript] void bindInt64ByIndex (in unsigned long aIndex, in long long aValue); */
NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) = 0;
/* [noscript] void bindNullByIndex (in unsigned long aIndex); */
NS_IMETHOD BindNullByIndex(uint32_t aIndex) = 0;
/* [binaryname(BindBlobByIndex),noscript] void bindBlobByIndexNoscript (in unsigned long aIndex, [const] in octetPtr aValue, in unsigned long aValueSize); */
NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t * aValue, uint32_t aValueSize) = 0;
/* [binaryname(BindBlobArrayByIndex)] void bindBlobByIndex (in unsigned long aIndex, in Array<octet> aValue); */
NS_IMETHOD BindBlobArrayByIndex(uint32_t aIndex, const nsTArray<uint8_t >& aValue) = 0;
/* void bindStringAsBlobByIndex (in unsigned long aIndex, in AString aValue); */
NS_IMETHOD BindStringAsBlobByIndex(uint32_t aIndex, const nsAString& aValue) = 0;
/* void bindUTF8StringAsBlobByIndex (in unsigned long aIndex, in AUTF8String aValue); */
NS_IMETHOD BindUTF8StringAsBlobByIndex(uint32_t aIndex, const nsACString& aValue) = 0;
/* [noscript] void bindAdoptedBlobByIndex (in unsigned long aIndex, in octetPtr aValue, in unsigned long aValueSize); */
NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t * aValue, uint32_t aValueSize) = 0;
/* void bindArrayOfIntegersByIndex (in unsigned long aIndex, in Array<int64_t> aValue); */
NS_IMETHOD BindArrayOfIntegersByIndex(uint32_t aIndex, const nsTArray<int64_t >& aValue) = 0;
/* void bindArrayOfDoublesByIndex (in unsigned long aIndex, in Array<double> aValue); */
NS_IMETHOD BindArrayOfDoublesByIndex(uint32_t aIndex, const nsTArray<double >& aValue) = 0;
/* void bindArrayOfStringsByIndex (in unsigned long aIndex, in Array<AString> aValue); */
NS_IMETHOD BindArrayOfStringsByIndex(uint32_t aIndex, const nsTArray<nsString >& aValue) = 0;
/* void bindArrayOfUTF8StringsByIndex (in unsigned long aIndex, in Array<AUTF8String> aValue); */
NS_IMETHOD BindArrayOfUTF8StringsByIndex(uint32_t aIndex, const nsTArray<nsCString >& aValue) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(mozIStorageBindingParams, MOZISTORAGEBINDINGPARAMS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_MOZISTORAGEBINDINGPARAMS \
NS_IMETHOD BindByName(const nsACString& aName, nsIVariant *aValue) override; \
NS_IMETHOD BindUTF8StringByName(const nsACString& aName, const nsACString& aValue) override; \
NS_IMETHOD BindStringByName(const nsACString& aName, const nsAString& aValue) override; \
NS_IMETHOD BindDoubleByName(const nsACString& aName, double aValue) override; \
NS_IMETHOD BindInt32ByName(const nsACString& aName, int32_t aValue) override; \
NS_IMETHOD BindInt64ByName(const nsACString& aName, int64_t aValue) override; \
NS_IMETHOD BindNullByName(const nsACString& aName) override; \
NS_IMETHOD BindBlobByName(const nsACString& aName, const uint8_t * aValue, uint32_t aValueSize) override; \
NS_IMETHOD BindBlobArrayByName(const nsACString& aName, const nsTArray<uint8_t >& aValue) override; \
NS_IMETHOD BindStringAsBlobByName(const nsACString& aName, const nsAString& aValue) override; \
NS_IMETHOD BindUTF8StringAsBlobByName(const nsACString& aName, const nsACString& aValue) override; \
NS_IMETHOD BindAdoptedBlobByName(const nsACString& aName, uint8_t * aValue, uint32_t aValueSize) override; \
NS_IMETHOD BindArrayOfIntegersByName(const nsACString& aName, const nsTArray<int64_t >& aValue) override; \
NS_IMETHOD BindArrayOfDoublesByName(const nsACString& aName, const nsTArray<double >& aValue) override; \
NS_IMETHOD BindArrayOfStringsByName(const nsACString& aName, const nsTArray<nsString >& aValue) override; \
NS_IMETHOD BindArrayOfUTF8StringsByName(const nsACString& aName, const nsTArray<nsCString >& aValue) override; \
NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) override; \
NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString& aValue) override; \
NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString& aValue) override; \
NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) override; \
NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) override; \
NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) override; \
NS_IMETHOD BindNullByIndex(uint32_t aIndex) override; \
NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t * aValue, uint32_t aValueSize) override; \
NS_IMETHOD BindBlobArrayByIndex(uint32_t aIndex, const nsTArray<uint8_t >& aValue) override; \
NS_IMETHOD BindStringAsBlobByIndex(uint32_t aIndex, const nsAString& aValue) override; \
NS_IMETHOD BindUTF8StringAsBlobByIndex(uint32_t aIndex, const nsACString& aValue) override; \
NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t * aValue, uint32_t aValueSize) override; \
NS_IMETHOD BindArrayOfIntegersByIndex(uint32_t aIndex, const nsTArray<int64_t >& aValue) override; \
NS_IMETHOD BindArrayOfDoublesByIndex(uint32_t aIndex, const nsTArray<double >& aValue) override; \
NS_IMETHOD BindArrayOfStringsByIndex(uint32_t aIndex, const nsTArray<nsString >& aValue) override; \
NS_IMETHOD BindArrayOfUTF8StringsByIndex(uint32_t aIndex, const nsTArray<nsCString >& aValue) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_MOZISTORAGEBINDINGPARAMS \
nsresult BindByName(const nsACString& aName, nsIVariant *aValue); \
nsresult BindUTF8StringByName(const nsACString& aName, const nsACString& aValue); \
nsresult BindStringByName(const nsACString& aName, const nsAString& aValue); \
nsresult BindDoubleByName(const nsACString& aName, double aValue); \
nsresult BindInt32ByName(const nsACString& aName, int32_t aValue); \
nsresult BindInt64ByName(const nsACString& aName, int64_t aValue); \
nsresult BindNullByName(const nsACString& aName); \
nsresult BindBlobByName(const nsACString& aName, const uint8_t * aValue, uint32_t aValueSize); \
nsresult BindBlobArrayByName(const nsACString& aName, const nsTArray<uint8_t >& aValue); \
nsresult BindStringAsBlobByName(const nsACString& aName, const nsAString& aValue); \
nsresult BindUTF8StringAsBlobByName(const nsACString& aName, const nsACString& aValue); \
nsresult BindAdoptedBlobByName(const nsACString& aName, uint8_t * aValue, uint32_t aValueSize); \
nsresult BindArrayOfIntegersByName(const nsACString& aName, const nsTArray<int64_t >& aValue); \
nsresult BindArrayOfDoublesByName(const nsACString& aName, const nsTArray<double >& aValue); \
nsresult BindArrayOfStringsByName(const nsACString& aName, const nsTArray<nsString >& aValue); \
nsresult BindArrayOfUTF8StringsByName(const nsACString& aName, const nsTArray<nsCString >& aValue); \
nsresult BindByIndex(uint32_t aIndex, nsIVariant *aValue); \
nsresult BindUTF8StringByIndex(uint32_t aIndex, const nsACString& aValue); \
nsresult BindStringByIndex(uint32_t aIndex, const nsAString& aValue); \
nsresult BindDoubleByIndex(uint32_t aIndex, double aValue); \
nsresult BindInt32ByIndex(uint32_t aIndex, int32_t aValue); \
nsresult BindInt64ByIndex(uint32_t aIndex, int64_t aValue); \
nsresult BindNullByIndex(uint32_t aIndex); \
nsresult BindBlobByIndex(uint32_t aIndex, const uint8_t * aValue, uint32_t aValueSize); \
nsresult BindBlobArrayByIndex(uint32_t aIndex, const nsTArray<uint8_t >& aValue); \
nsresult BindStringAsBlobByIndex(uint32_t aIndex, const nsAString& aValue); \
nsresult BindUTF8StringAsBlobByIndex(uint32_t aIndex, const nsACString& aValue); \
nsresult BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t * aValue, uint32_t aValueSize); \
nsresult BindArrayOfIntegersByIndex(uint32_t aIndex, const nsTArray<int64_t >& aValue); \
nsresult BindArrayOfDoublesByIndex(uint32_t aIndex, const nsTArray<double >& aValue); \
nsresult BindArrayOfStringsByIndex(uint32_t aIndex, const nsTArray<nsString >& aValue); \
nsresult BindArrayOfUTF8StringsByIndex(uint32_t aIndex, const nsTArray<nsCString >& aValue);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_MOZISTORAGEBINDINGPARAMS(_to) \
NS_IMETHOD BindByName(const nsACString& aName, nsIVariant *aValue) override { return _to BindByName(aName, aValue); } \
NS_IMETHOD BindUTF8StringByName(const nsACString& aName, const nsACString& aValue) override { return _to BindUTF8StringByName(aName, aValue); } \
NS_IMETHOD BindStringByName(const nsACString& aName, const nsAString& aValue) override { return _to BindStringByName(aName, aValue); } \
NS_IMETHOD BindDoubleByName(const nsACString& aName, double aValue) override { return _to BindDoubleByName(aName, aValue); } \
NS_IMETHOD BindInt32ByName(const nsACString& aName, int32_t aValue) override { return _to BindInt32ByName(aName, aValue); } \
NS_IMETHOD BindInt64ByName(const nsACString& aName, int64_t aValue) override { return _to BindInt64ByName(aName, aValue); } \
NS_IMETHOD BindNullByName(const nsACString& aName) override { return _to BindNullByName(aName); } \
NS_IMETHOD BindBlobByName(const nsACString& aName, const uint8_t * aValue, uint32_t aValueSize) override { return _to BindBlobByName(aName, aValue, aValueSize); } \
NS_IMETHOD BindBlobArrayByName(const nsACString& aName, const nsTArray<uint8_t >& aValue) override { return _to BindBlobArrayByName(aName, aValue); } \
NS_IMETHOD BindStringAsBlobByName(const nsACString& aName, const nsAString& aValue) override { return _to BindStringAsBlobByName(aName, aValue); } \
NS_IMETHOD BindUTF8StringAsBlobByName(const nsACString& aName, const nsACString& aValue) override { return _to BindUTF8StringAsBlobByName(aName, aValue); } \
NS_IMETHOD BindAdoptedBlobByName(const nsACString& aName, uint8_t * aValue, uint32_t aValueSize) override { return _to BindAdoptedBlobByName(aName, aValue, aValueSize); } \
NS_IMETHOD BindArrayOfIntegersByName(const nsACString& aName, const nsTArray<int64_t >& aValue) override { return _to BindArrayOfIntegersByName(aName, aValue); } \
NS_IMETHOD BindArrayOfDoublesByName(const nsACString& aName, const nsTArray<double >& aValue) override { return _to BindArrayOfDoublesByName(aName, aValue); } \
NS_IMETHOD BindArrayOfStringsByName(const nsACString& aName, const nsTArray<nsString >& aValue) override { return _to BindArrayOfStringsByName(aName, aValue); } \
NS_IMETHOD BindArrayOfUTF8StringsByName(const nsACString& aName, const nsTArray<nsCString >& aValue) override { return _to BindArrayOfUTF8StringsByName(aName, aValue); } \
NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) override { return _to BindByIndex(aIndex, aValue); } \
NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString& aValue) override { return _to BindUTF8StringByIndex(aIndex, aValue); } \
NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString& aValue) override { return _to BindStringByIndex(aIndex, aValue); } \
NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) override { return _to BindDoubleByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) override { return _to BindInt32ByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) override { return _to BindInt64ByIndex(aIndex, aValue); } \
NS_IMETHOD BindNullByIndex(uint32_t aIndex) override { return _to BindNullByIndex(aIndex); } \
NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t * aValue, uint32_t aValueSize) override { return _to BindBlobByIndex(aIndex, aValue, aValueSize); } \
NS_IMETHOD BindBlobArrayByIndex(uint32_t aIndex, const nsTArray<uint8_t >& aValue) override { return _to BindBlobArrayByIndex(aIndex, aValue); } \
NS_IMETHOD BindStringAsBlobByIndex(uint32_t aIndex, const nsAString& aValue) override { return _to BindStringAsBlobByIndex(aIndex, aValue); } \
NS_IMETHOD BindUTF8StringAsBlobByIndex(uint32_t aIndex, const nsACString& aValue) override { return _to BindUTF8StringAsBlobByIndex(aIndex, aValue); } \
NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t * aValue, uint32_t aValueSize) override { return _to BindAdoptedBlobByIndex(aIndex, aValue, aValueSize); } \
NS_IMETHOD BindArrayOfIntegersByIndex(uint32_t aIndex, const nsTArray<int64_t >& aValue) override { return _to BindArrayOfIntegersByIndex(aIndex, aValue); } \
NS_IMETHOD BindArrayOfDoublesByIndex(uint32_t aIndex, const nsTArray<double >& aValue) override { return _to BindArrayOfDoublesByIndex(aIndex, aValue); } \
NS_IMETHOD BindArrayOfStringsByIndex(uint32_t aIndex, const nsTArray<nsString >& aValue) override { return _to BindArrayOfStringsByIndex(aIndex, aValue); } \
NS_IMETHOD BindArrayOfUTF8StringsByIndex(uint32_t aIndex, const nsTArray<nsCString >& aValue) override { return _to BindArrayOfUTF8StringsByIndex(aIndex, aValue); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_MOZISTORAGEBINDINGPARAMS(_to) \
NS_IMETHOD BindByName(const nsACString& aName, nsIVariant *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindByName(aName, aValue); } \
NS_IMETHOD BindUTF8StringByName(const nsACString& aName, const nsACString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringByName(aName, aValue); } \
NS_IMETHOD BindStringByName(const nsACString& aName, const nsAString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringByName(aName, aValue); } \
NS_IMETHOD BindDoubleByName(const nsACString& aName, double aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindDoubleByName(aName, aValue); } \
NS_IMETHOD BindInt32ByName(const nsACString& aName, int32_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt32ByName(aName, aValue); } \
NS_IMETHOD BindInt64ByName(const nsACString& aName, int64_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt64ByName(aName, aValue); } \
NS_IMETHOD BindNullByName(const nsACString& aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindNullByName(aName); } \
NS_IMETHOD BindBlobByName(const nsACString& aName, const uint8_t * aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobByName(aName, aValue, aValueSize); } \
NS_IMETHOD BindBlobArrayByName(const nsACString& aName, const nsTArray<uint8_t >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobArrayByName(aName, aValue); } \
NS_IMETHOD BindStringAsBlobByName(const nsACString& aName, const nsAString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringAsBlobByName(aName, aValue); } \
NS_IMETHOD BindUTF8StringAsBlobByName(const nsACString& aName, const nsACString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringAsBlobByName(aName, aValue); } \
NS_IMETHOD BindAdoptedBlobByName(const nsACString& aName, uint8_t * aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindAdoptedBlobByName(aName, aValue, aValueSize); } \
NS_IMETHOD BindArrayOfIntegersByName(const nsACString& aName, const nsTArray<int64_t >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfIntegersByName(aName, aValue); } \
NS_IMETHOD BindArrayOfDoublesByName(const nsACString& aName, const nsTArray<double >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfDoublesByName(aName, aValue); } \
NS_IMETHOD BindArrayOfStringsByName(const nsACString& aName, const nsTArray<nsString >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfStringsByName(aName, aValue); } \
NS_IMETHOD BindArrayOfUTF8StringsByName(const nsACString& aName, const nsTArray<nsCString >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfUTF8StringsByName(aName, aValue); } \
NS_IMETHOD BindByIndex(uint32_t aIndex, nsIVariant *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindByIndex(aIndex, aValue); } \
NS_IMETHOD BindUTF8StringByIndex(uint32_t aIndex, const nsACString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringByIndex(aIndex, aValue); } \
NS_IMETHOD BindStringByIndex(uint32_t aIndex, const nsAString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringByIndex(aIndex, aValue); } \
NS_IMETHOD BindDoubleByIndex(uint32_t aIndex, double aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindDoubleByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt32ByIndex(uint32_t aIndex, int32_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt32ByIndex(aIndex, aValue); } \
NS_IMETHOD BindInt64ByIndex(uint32_t aIndex, int64_t aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindInt64ByIndex(aIndex, aValue); } \
NS_IMETHOD BindNullByIndex(uint32_t aIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindNullByIndex(aIndex); } \
NS_IMETHOD BindBlobByIndex(uint32_t aIndex, const uint8_t * aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobByIndex(aIndex, aValue, aValueSize); } \
NS_IMETHOD BindBlobArrayByIndex(uint32_t aIndex, const nsTArray<uint8_t >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindBlobArrayByIndex(aIndex, aValue); } \
NS_IMETHOD BindStringAsBlobByIndex(uint32_t aIndex, const nsAString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindStringAsBlobByIndex(aIndex, aValue); } \
NS_IMETHOD BindUTF8StringAsBlobByIndex(uint32_t aIndex, const nsACString& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindUTF8StringAsBlobByIndex(aIndex, aValue); } \
NS_IMETHOD BindAdoptedBlobByIndex(uint32_t aIndex, uint8_t * aValue, uint32_t aValueSize) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindAdoptedBlobByIndex(aIndex, aValue, aValueSize); } \
NS_IMETHOD BindArrayOfIntegersByIndex(uint32_t aIndex, const nsTArray<int64_t >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfIntegersByIndex(aIndex, aValue); } \
NS_IMETHOD BindArrayOfDoublesByIndex(uint32_t aIndex, const nsTArray<double >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfDoublesByIndex(aIndex, aValue); } \
NS_IMETHOD BindArrayOfStringsByIndex(uint32_t aIndex, const nsTArray<nsString >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfStringsByIndex(aIndex, aValue); } \
NS_IMETHOD BindArrayOfUTF8StringsByIndex(uint32_t aIndex, const nsTArray<nsCString >& aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->BindArrayOfUTF8StringsByIndex(aIndex, aValue); }
#endif /* __gen_mozIStorageBindingParams_h__ */