IMessageMetadata constructor

IMessageMetadata(
  1. FbInterface self
)

Implementation

IMessageMetadata(super.self) {
  startIndex = super.startIndex + super.methodCount;
  methodCount = (version >= 4 ? 17 : 15);
  var idx = startIndex;
  _getCount =
      Pointer<
            NativeFunction<UnsignedInt Function(FbInterface, FbInterface)>
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getField =
      Pointer<
            NativeFunction<
              Pointer<Utf8> Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getRelation =
      Pointer<
            NativeFunction<
              Pointer<Utf8> Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getOwner =
      Pointer<
            NativeFunction<
              Pointer<Utf8> Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getAlias =
      Pointer<
            NativeFunction<
              Pointer<Utf8> Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getType =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _isNullable =
      Pointer<
            NativeFunction<
              FbBoolean Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getSubType =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getLength =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getScale =
      Pointer<
            NativeFunction<
              Int Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getCharSet =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getOffset =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getNullOffset =
      Pointer<
            NativeFunction<
              UnsignedInt Function(FbInterface, FbInterface, UnsignedInt)
            >
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getBuilder =
      Pointer<
            NativeFunction<FbInterface Function(FbInterface, FbInterface)>
          >.fromAddress(vtable[idx++])
          .asFunction();
  _getMessageLength =
      Pointer<
            NativeFunction<UnsignedInt Function(FbInterface, FbInterface)>
          >.fromAddress(vtable[idx++])
          .asFunction();
  if (version >= 4) {
    _getAlignment =
        Pointer<
              NativeFunction<UnsignedInt Function(FbInterface, FbInterface)>
            >.fromAddress(vtable[idx++])
            .asFunction();
    _getAlignedLength =
        Pointer<
              NativeFunction<UnsignedInt Function(FbInterface, FbInterface)>
            >.fromAddress(vtable[idx++])
            .asFunction();
  }
}