IAttachment constructor

IAttachment(
  1. FbInterface self
)

Implementation

IAttachment(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = (version >= 4 ? 26 : 18);
  var idx = startIndex;
  _getInfo = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Uint8>,
                  UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _startTransaction = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _reconnectTransaction = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _compileRequest = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface, UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _transactRequest = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Uint8>,
                  UnsignedInt,
                  Pointer<Uint8>,
                  UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _createBlob = Pointer<
          NativeFunction<
              FbInterface Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  Pointer<IscQuad>,
                  UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _openBlob = Pointer<
          NativeFunction<
              FbInterface Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  Pointer<IscQuad>,
                  UnsignedInt,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _getSlice = Pointer<
          NativeFunction<
              Int Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  Pointer<IscQuad>,
                  UnsignedInt,
                  Pointer<Uint8>,
                  UnsignedInt,
                  Pointer<Uint8>,
                  Int,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _putSlice = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  Pointer<IscQuad>,
                  UnsignedInt,
                  Pointer<Uint8>,
                  UnsignedInt,
                  Pointer<Uint8>,
                  Int,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _executeDyn = Pointer<
          NativeFunction<
              Void Function(FbInterface, FbInterface, FbInterface,
                  UnsignedInt, Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _prepare = Pointer<
          NativeFunction<
              FbInterface Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Utf8>,
                  UnsignedInt,
                  UnsignedInt)>>.fromAddress(vtable[idx++])
      .asFunction();
  _execute = Pointer<
          NativeFunction<
              FbInterface Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Utf8>,
                  UnsignedInt,
                  FbInterface,
                  Pointer<Uint8>,
                  FbInterface,
                  Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _openCursor = Pointer<
          NativeFunction<
              FbInterface Function(
                  FbInterface,
                  FbInterface,
                  FbInterface,
                  UnsignedInt,
                  Pointer<Utf8>,
                  UnsignedInt,
                  FbInterface,
                  Pointer<Uint8>,
                  FbInterface,
                  Pointer<Utf8>,
                  UnsignedInt)>>.fromAddress(vtable[idx++])
      .asFunction();
  _queEvents = Pointer<
          NativeFunction<
              FbInterface Function(FbInterface, FbInterface, FbInterface,
                  UnsignedInt, Pointer<Uint8>)>>.fromAddress(vtable[idx++])
      .asFunction();
  _cancelOperation = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface, Int)>>.fromAddress(vtable[idx++])
      .asFunction();
  _ping = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  if (version >= 4) {
    _deprecatedDetach = Pointer<
            NativeFunction<
                Void Function(
                    FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
        .asFunction();
    _deprecatedDropDatabase = Pointer<
            NativeFunction<
                Void Function(
                    FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
        .asFunction();
    _getIdleTimeout = Pointer<
            NativeFunction<
                UnsignedInt Function(
                    FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
        .asFunction();
    _setIdleTimeout = Pointer<
            NativeFunction<
                Void Function(FbInterface, FbInterface,
                    UnsignedInt)>>.fromAddress(vtable[idx++])
        .asFunction();
    _getStatementTimeout = Pointer<
            NativeFunction<
                UnsignedInt Function(
                    FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
        .asFunction();
    _setStatementTimeout = Pointer<
            NativeFunction<
                Void Function(FbInterface, FbInterface,
                    UnsignedInt)>>.fromAddress(vtable[idx++])
        .asFunction();
    _createBatch = Pointer<
            NativeFunction<
                FbInterface Function(
                    FbInterface,
                    FbInterface,
                    FbInterface,
                    UnsignedInt,
                    Pointer<Utf8>,
                    UnsignedInt,
                    FbInterface,
                    UnsignedInt,
                    Pointer<Uint8>)>>.fromAddress(vtable[idx++])
        .asFunction();
    _createReplicator = Pointer<
            NativeFunction<
                FbInterface Function(
                    FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
        .asFunction();
  }
  _detach = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
  _dropDatabase = Pointer<
          NativeFunction<
              Void Function(
                  FbInterface, FbInterface)>>.fromAddress(vtable[idx++])
      .asFunction();
}