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

ModelStore

Extends:

Store → ModelStore

Model store

Member Summary

Private Members
private get

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