IFClite TypeScript API
    Preparing search index...

    Function sourceEntityClasses

    • The classes a source's own rows carry, for a caller that must choose which classes to ASK iterateEffectiveEntities for before it can enumerate them.

      A caller reading entityIndex.byType.keys() for that gets nothing from a tabular store, whose STEP index is empty, and so narrows the enumeration to no class at all: the viewer's physical-object count read 0 for every IFCX model that way (#10018). Here the tabular case takes the entity table's classes instead, from the buckets bucketsOf memoises per table, which a filtered iterateEffectiveEntities call then reads as well: narrowing a walk this way costs one table pass, not two. (An unfiltered walk, which is what a queued retype forces, reads the rows directly and does not share that pass.) A STEP source yields exactly the type-index keys, as before.

      Source classes only: overlay creations and retypes can name a class no source row carries, and a caller that wants those adds them from the overlay itself.

      Parameters

      Returns IterableIterator<string>