The identifier-pool Reference Manual

This is the identifier-pool Reference Manual, version 0.1.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 05:31:37 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

The main system appears first, followed by any subsystem dependency.


2.1 identifier-pool

A simple generational identification number allocator.

Author

Michael Fiano <>

Home Page

https://git.mfiano.net/mfiano/identifier-pool

License

MIT

Version

0.1.0

Dependencies
  • dynamic-array (system).
  • mfiano-utils (system).
Source

identifier-pool.asd.

Child Components

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


3.1 Lisp


3.1.1 identifier-pool/identifier-pool.asd

Source

identifier-pool.asd.

Parent Component

identifier-pool (system).

ASDF Systems

identifier-pool.


3.1.2 identifier-pool/package.lisp

Source

identifier-pool.asd.

Parent Component

identifier-pool (system).

Packages

identifier-pool.


3.1.3 identifier-pool/identifier-pool.lisp

Dependency

package.lisp (file).

Source

identifier-pool.asd.

Parent Component

identifier-pool (system).

Public Interface
Internals

4 Packages

Packages are listed by definition order.


4.1 identifier-pool

Source

package.lisp.

Use List

common-lisp.

Public Interface
Internals

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


5.1 Public Interface


5.1.1 Ordinary functions

Function: active-p (pool identifier)
Package

identifier-pool.

Source

identifier-pool.lisp.

Reader: count (instance)
Writer: (setf count) (instance)
Package

identifier-pool.

Source

identifier-pool.lisp.

Target Slot

count.

Function: free (pool identifier)
Package

identifier-pool.

Source

identifier-pool.lisp.

Function: generate (pool)
Package

identifier-pool.

Source

identifier-pool.lisp.

Function: id (identifier)
Package

identifier-pool.

Source

identifier-pool.lisp.

Function: make-pool (&key capacity)
Package

identifier-pool.

Source

identifier-pool.lisp.

Function: map (pool func)
Package

identifier-pool.

Source

identifier-pool.lisp.

Function: version (identifier)
Package

identifier-pool.

Source

identifier-pool.lisp.


5.2 Internals


5.2.1 Constants

Constant: +id-bits+
Package

identifier-pool.

Source

identifier-pool.lisp.

Constant: +id-mask+
Package

identifier-pool.

Source

identifier-pool.lisp.

Constant: +version-bits+
Package

identifier-pool.

Source

identifier-pool.lisp.

Constant: +version-mask+
Package

identifier-pool.

Source

identifier-pool.lisp.


5.2.2 Ordinary functions

Function: %make-pool (&key store free-head count)
Package

identifier-pool.

Source

identifier-pool.lisp.

Reader: free-head (instance)
Writer: (setf free-head) (instance)
Package

identifier-pool.

Source

identifier-pool.lisp.

Target Slot

free-head.

Function: pack (id version)
Package

identifier-pool.

Source

identifier-pool.lisp.

Reader: store (instance)
Writer: (setf store) (instance)
Package

identifier-pool.

Source

identifier-pool.lisp.

Target Slot

store.

Function: unpack (identifier)
Package

identifier-pool.

Source

identifier-pool.lisp.


5.2.3 Structures

Structure: pool
Package

identifier-pool.

Source

identifier-pool.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: store
Type

dynamic-array:dynamic-array

Initform

(dynamic-array:make-array)

Readers

store.

Writers

(setf store).

Slot: free-head
Readers

free-head.

Writers

(setf free-head).

Slot: count
Type

mfiano-utils:ub24

Initform

0

Readers

count.

Writers

(setf count).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   C   F   G   I   M   P   S   U   V  
Index Entry  Section

%
%make-pool: Private ordinary functions

(
(setf count): Public ordinary functions
(setf free-head): Private ordinary functions
(setf store): Private ordinary functions

A
active-p: Public ordinary functions

C
count: Public ordinary functions

F
free: Public ordinary functions
free-head: Private ordinary functions
Function, %make-pool: Private ordinary functions
Function, (setf count): Public ordinary functions
Function, (setf free-head): Private ordinary functions
Function, (setf store): Private ordinary functions
Function, active-p: Public ordinary functions
Function, count: Public ordinary functions
Function, free: Public ordinary functions
Function, free-head: Private ordinary functions
Function, generate: Public ordinary functions
Function, id: Public ordinary functions
Function, make-pool: Public ordinary functions
Function, map: Public ordinary functions
Function, pack: Private ordinary functions
Function, store: Private ordinary functions
Function, unpack: Private ordinary functions
Function, version: Public ordinary functions

G
generate: Public ordinary functions

I
id: Public ordinary functions

M
make-pool: Public ordinary functions
map: Public ordinary functions

P
pack: Private ordinary functions

S
store: Private ordinary functions

U
unpack: Private ordinary functions

V
version: Public ordinary functions