Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ResidueStore

Residue store

Hierarchy

Indexable

[k: string]: any

Residue store

Index

Constructors

constructor

Properties

_fields

_fields: StoreField[]

atomCount

atomCount: Uint16Array

atomOffset

atomOffset: Uint32Array

chainIndex

chainIndex: Uint32Array

count

count: number

inscode

inscode: Uint8Array

length

length: number

residueTypeId

residueTypeId: Uint16Array

resno

resno: Uint32Array

sstruc

sstruc: Uint8Array

Accessors

_defaultFields

  • get _defaultFields(): Object[]

Methods

_init

  • _init(size: number): void

_initField

addField

clear

  • clear(): void

copyFrom

  • copyFrom(other: Store, thisOffset: number, otherOffset: number, length: number): void
  • Copy data from one store to another

    Parameters

    • other: Store

      store to copy from

    • thisOffset: number

      offset to start copying to

    • otherOffset: number

      offset to start copying from

    • length: number

      number of entries to copy

    Returns void

copyWithin

  • copyWithin(offsetTarget: number, offsetSource: number, length: number): void
  • Copy data within this store

    Parameters

    • offsetTarget: number
    • offsetSource: number
    • length: number

      number of entries to copy

    Returns void

dispose

  • dispose(): void

getInscode

  • getInscode(i: number): string

getSstruc

  • getSstruc(i: number): string

growIfFull

  • growIfFull(): void

resize

  • resize(size?: undefined | number): void
  • Resize the store to the new size

    Parameters

    • Optional size: undefined | number

      new size

    Returns void

setInscode

  • setInscode(i: number, str: string): void

setSstruc

  • setSstruc(i: number, str: string): void

sort

  • sort(compareFunction: function): void
  • Sort entries in the store given the compare function

    Parameters

    • compareFunction: function

      function to sort by

        • (a: any, b: any): number
        • Parameters

          • a: any
          • b: any

          Returns number

    Returns void

Generated using TypeDoc