Gjsify LogoGjsify Logo

Structure encapsulating the information needed to read strings from a model. Used for example by #DeeIndex.

record

Hierarchy

  • ModelReader

Index

Constructors

Properties

Called when the reader is destroyed

field
readerFunc: ModelReaderFunc

The #DeeModelReaderFunc used to extract string from a model

field
userdata: object

user data to pass to reader_func

field
name: string

Methods

  • Read data from a row in a #DeeModel and extract a string representation from it.

    Note that generally a #DeeModelReader need not be confined to reading from one specific column, although in practice most are.

    Parameters

    • model: Dee.Model

      The #DeeModel to read a string from

    • iter: Dee.ModelIter

      The row to read a string from

    Returns string

  • Create a new #DeeModelReader with the given parameters. This call will zero the out_reader struct.

    Parameters

    Returns ModelReader

  • A #DeeModelReader reading a %gint32 from a #DeeModel at a given column

    Parameters

    • column: number

      The column index to read a %gint32 from

    Returns ModelReader

  • A #DeeModelReader reading a string from a #DeeModel at a given column

    Parameters

    • column: number

      The column index to read a string from

    Returns ModelReader

  • A #DeeModelReader reading a %guint32 from a #DeeModel at a given column

    Parameters

    • column: number

      The column index to read a %guint32 from

    Returns ModelReader

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method