Table Type
A live tabular view of a group of LabProcess nodes that share the same name. Wraps the underlying processes directly — reads decompose on the fly, writes compose back into the process graph.
Constructors
| Constructor |
Description
|
Full Usage:
Table(name, processes, dataset)
Parameters:
string
processes : ResizeArray<LabProcess>
dataset : Dataset
Returns: Table
|
|
Instance members
| Instance member |
Description
|
|
Add an annotation column (Parameter/Factor/Characteristic/Component) to the table. Appends the corresponding PropertyValue to the right slot of every process node. Non-annotation headers (Input, Output, ProtocolREF, etc.) are ignored here — use the row API for I/O and protocol fields.
|
|
Create and register a new LabProcess for this table, using the existing process structure as a template. Optionally supply cell values for each column.
|
|
Append an empty row (one new LabProcess with no annotations).
|
Full Usage:
this.ColumnCount
Returns: int
|
Number of columns (derived from current process state).
|
|
All columns as CompositeColumn objects (derived live).
|
|
The parent dataset.
|
|
Derive the ordered list of CompositeColumns from the current process list. Column order: Input → ProtocolREF → ProtocolType → ProtocolDesc → ProtocolUri → ProtocolVersion → Characteristics → Components → Parameters → Factors → Output
|
|
Get a cell at (columnIndex, rowIndex). Raises if out of range.
|
|
|
|
Get all Component-typed columns.
|
|
Get all cells of a row as an ordered sequence (one cell per column).
|
|
Derive headers from the current process state.
|
Full Usage:
this.Name
Returns: string
|
|
|
The underlying process nodes this table projects.
|
|
Remove the first annotation column matching the given header from every process node.
|
Full Usage:
this.RemoveRow
Parameters:
int
|
Remove the row at `rowIndex` from both the table view and the parent dataset.
|
Full Usage:
this.RowCount
Returns: int
|
Number of visible rows in the table projection.
|
Full Usage:
this.TryGetCellAt
Parameters:
int
rowIndex : int
Returns: CompositeCell option
|
Try to get a cell at (columnIndex, rowIndex). Returns None if out of range.
|
Full Usage:
this.TryGetColumnByHeader
Parameters:
CompositeHeader -> bool
Returns: CompositeColumn option
|
Try to find the first column whose header matches the predicate.
|
|
Get the Input-typed column, if present.
|
|
Get the Output-typed column, if present.
|
|
Replace all cells in the row at `rowIndex` by updating the underlying process node.
|
ProcessCore