NGL@1.0.0-beta.7 Home Manual Reference Source Gallery
import ChainStore from 'ngl/src/store/chain-store.js'
public class | source

ChainStore

Extends:

Store → ChainStore

Chain store

Member Summary

Private Members
private get

Method Summary

Public Methods
public
public
public
public

Inherited Summary

From class Store
public
public
public
private
public

addField(name: String, size: Integer, type: String): undefined

Add a field

public

Empty the store

public

copyFrom(other: Store, thisOffset: Integer, otherOffset: Integer, length: Integer): undefined

Copy data from one store to another

public

copyWithin(thisOffset: Integer, otherOffset: Integer, length: Integer): undefined

Copy data within this store

public

Dispose of the store entries and fields

public

Resize the store to 1.5 times its current size if full

public

Resize the store to the new size

public

sort(compareFunction: [type]): undefined

Sort entries in the store given the compare function

private

Initialize the store

private

_initField(name: String, size: Integer, type: String): undefined

Initialize a field

Private Members

private get _defaultFields source

Public Methods

public getChainid() source

public getChainname() source

public setChainid() source

public setChainname() source