Id64 Namespace

The Id64 namespace provides facilities for working with 64-bit identifiers. These Ids are stored as 64-bit integers inside an IModelDb, but must be represented as strings in JavaScript because JavaScript does not intrinsically support 64-bit integers.

The Id64String type alias is used to indicate function arguments, return types, and variables which are known to contain a well-formed representation of a 64-bit Id.

See Working with Ids for a detailed description and code examples.

Class

Name Description
Id64.Uint32Map A specialized replacement for Map<Id64String, T> optimized for performance-critical code.
Id64.Uint32Set A specialized replacement for Set optimized for performance-critical code which represents large sets of 64-bit IDs as pairs of
32-bit integers.

Interface

Name Description
Id64.Uint32Pair Represents an unsigned 64-bit integer as a pair of unsigned 32-bit integers.

Variable

Name Description
Id64.invalid The string representation of an invalid Id.

Function

Name Description
Id64.forEach  
Id64.fromJSON  
Id64.fromLocalAndBriefcaseIds  
Id64.fromString  
Id64.fromUint32Pair  
Id64.getBriefcaseId  
Id64.getFirst  
Id64.getLocalId  
Id64.getLowerUint32  
Id64.getUint32Pair  
Id64.getUpperUint32  
Id64.has  
Id64.isId64  
Id64.isInvalid  
Id64.isTransient  
Id64.isTransientId64  
Id64.isValid  
Id64.isValidId64  
Id64.iterate  
Id64.sizeOf  
Id64.toIdSet  

Defined in

Last Updated: 20 September, 2019