Common Lisp Package: CL-TABLE

README:

cl-table

GtkTreeStore-like tables with sorting, selecting and rows hierarchy

FUNCTION

Public

FIELD (STR KEY)

Returns field of row STR with name symbol KEY

MAKE-ITERATOR (TABLE)

Returns array of iter-row

Undocumented

DROP-COLUMNS! (TABLE COLUMNS)

Private

COLUMN-NAME (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

COLUMN-TYPE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-CHILDREN (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-CHILDREN-VECTOR (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-DATA (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-ID (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-NUM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-PARENT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-REF (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-ROW-TABLE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-TABLE-ALL (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ITER-TABLE-TOP (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ROW-CHILDREN (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ROW-DATA (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ROW-NUM (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ROW-PARENT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ROW-REF (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

ROW-TABLE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

SUM-COLUMNS! (SUM-COLUMNS DST-ROW SRC-ROW)

For each column in list SUM-COLUMNS put sum of fields from dst and src rows to dst-row

Undocumented

AREF* (ARRAY INDEX)

SETFCOLUMN-NAME (NEW-VALUE INSTANCE)

COLUMN-P (OBJECT)

SETFCOLUMN-TYPE (NEW-VALUE INSTANCE)

COMPARE-ROWS (COLS PRED ROW1 ROW2)

COPY-COLUMN (INSTANCE)

COPY-ITER-ROW (INSTANCE)

COPY-ITER-TABLE (INSTANCE)

COPY-ROW (INSTANCE)

EQUAL-ROWS (COLS ROW1 ROW2)

SETFITER-ROW-CHILDREN (NEW-VALUE INSTANCE)

SETFITER-ROW-CHILDREN-VECTOR (NEW-VALUE INSTANCE)

SETFITER-ROW-DATA (NEW-VALUE INSTANCE)

SETFITER-ROW-ID (NEW-VALUE INSTANCE)

SETFITER-ROW-NUM (NEW-VALUE INSTANCE)

ITER-ROW-P (OBJECT)

SETFITER-ROW-PARENT (NEW-VALUE INSTANCE)

SETFITER-ROW-REF (NEW-VALUE INSTANCE)

SETFITER-ROW-TABLE (NEW-VALUE INSTANCE)

SETFITER-TABLE-ALL (NEW-VALUE INSTANCE)

ITER-TABLE-P (OBJECT)

SETFITER-TABLE-TOP (NEW-VALUE INSTANCE)

MAKE-COLUMN (&KEY ((NAME DUM53) NIL) ((TYPE DUM54) T))

MAKE-ITER-ROW (&KEY ((PARENT DUM0) NIL) ((REF DUM1) NIL) ((CHILDREN DUM2) NIL) ((TABLE DUM3) NIL) ((NUM DUM4) 0) ((DATA DUM5) NIL) ((ID DUM6) 0) ((CHILDREN-VECTOR DUM7) #()))

MAKE-ITER-TABLE (&KEY ((ALL DUM59) #()) ((TOP DUM60) #()))

MAKE-ROW (&KEY ((PARENT DUM0) NIL) ((REF DUM1) NIL) ((CHILDREN DUM2) NIL) ((TABLE DUM3) NIL) ((NUM DUM4) 0) ((DATA DUM5) NIL))

MAP-TABLE (FUNC TABLE)

MAP-TABLE-ROW (FUNC ROW)

SETFROW-CHILDREN (NEW-VALUE INSTANCE)

SETFROW-DATA (NEW-VALUE INSTANCE)

SETFROW-NUM (NEW-VALUE INSTANCE)

ROW-P (OBJECT)

SETFROW-PARENT (NEW-VALUE INSTANCE)

SETFROW-REF (NEW-VALUE INSTANCE)

SETFROW-TABLE (NEW-VALUE INSTANCE)

SORT! (TABLE COLUMNS)

WRAP! (TABLE GROUP-COLUMNS SUM-COLUMNS)

MACRO

Private

CLAUSE-FOR-IN-TABLE-1 (&KEY ((FOR VAR) NIL) ((IN-TABLE TABLE) NIL))

Rows of a table: row = (table field1 field2 ...)

CLAUSE-FOR-IN-TABLE-ROW-2 (&KEY ((FOR VAR) NIL) ((IN-TABLE-ROW TABLE) NIL))

Rows of a table: row = (table field1 field2 ...)

Undocumented

APPEND-ITEM (ITEM LIST)

GENERIC-FUNCTION

Public

Undocumented

ADD (TO-PLACE)

PATH->ROW (TABLE PATH)

Private

GENERIC-LESSP (X Y)

Order by numbers or strings

SLOT-ACCESSOR

Public

Undocumented

COLUMNS (OBJECT)

SETFCOLUMNS (NEW-VALUE OBJECT)

Private

ROWS (OBJECT)

List of lists = data in (car row), list of children rows in (cdr row) Assert (length (car row)) == (length columns)

SETFROWS (NEW-VALUE OBJECT)

List of lists = data in (car row), list of children rows in (cdr row) Assert (length (car row)) == (length columns)

Undocumented

INDEXES (OBJECT)

SETFINDEXES (NEW-VALUE OBJECT)

CLASS

Public

Undocumented

TABLE

Private

ITER-ROW

Iterator element

ROW

Struct for representing row in table

Undocumented

COLUMN

ITER-TABLE