Abstract
Construct this step model with its matching schema, a buffer to read from and an element index.
The Step schema this is based on.
The buffer to read this from.
The element index for this, parsed or deserialized - note this takes ownership of this array in the sense it will modify values/unfold inline elements etc.
Will this model memoize elements, set to false to disable, true to enable.
Note that during periods where element memoization is disabled, it's not guaranteed element objects returned from this have referential equality even if they have ID equality.
Abstract
Readonly
externalWhen an atribute is parsed from an entity in the model that causes a recoverable error, and the field is optional, return null instead of throwing an exception.
Readonly
schemaThe Step schema this is based on.
Abstract
Readonly
typeGet the number of elements/entities in this model.
The number of elements.
Get the number of elements/entities in this model.
The number of elements.
Iterate over all the elements in this.
The iterable iterator to allow lazy iteration over all the elements in this.
Extract a set of elements given a local ID iterator.
An iterable of local IDs
The iterable iterator to allow lazy iteration over the elements matching the local ids.
Given a cursor, get the matching entities for it as a lazy iterable iterator.
The cursor to iterate over.
Should the cursor be freed after
The iterable iterator to allow lazy iteration over a cursor.
Given an express ID, return the matching element if one exists.
The express ID to fetch the element for.
The element if one exists for that ID, otherwise undefined.
Given a local ID (i.e. dense index/reference), return the matching element if one exists.
The local ID to fetch for.
The matching element or undefined if none exists.
Get an inline element by its address within a data-block.
The addres to get the element from
The element if one exsists at that adddress, otherwise undefined.
express ID array
Get the non empty type IDs for this without including sub-types, only direct instances.
The unique set of non empty type IDs for this model.
Get the non empty type IDs for this.
The unique set of non empty type IDs for this model.
Use the type index to get set of entities of a set of types not including sub-types from the list of type ids, acts as a union given the input type list, with lazy iteration over the set.
The type ids for the types to get.
An iterable corresponding to the lazy set of items.
Use the type index to get set of entities of a set of types including sub-types, acts as a union given the input type list, with lazy iteration over the set.
The list of types to return
An iterable corresponding to the lazy set of items.
Use the type index to get set of entities of a set of types including sub-types from the list of type ids, acts as a union given the input type list, with lazy iteration over the set.
The type ids for the types to get.
An iterable corresponding to the lazy set of items.
The base for models parsed from STEP.