Skip to contents

An R6 class representing the OutputSchema field of a Simulation, a collection of OutputIntervals. The raw JSON shape is a bare array of intervals (no enclosing object); the intervals active binding exposes the wrapped list directly.

Active bindings

data

The raw data of the schema (read-only). Rebuilt from the cached OutputInterval list so that mutations flow back to the export payload. Returns a bare list of interval named lists.

intervals

List of OutputInterval objects.

Methods


OutputSchema$new()

Create a new OutputSchema object.

Usage

OutputSchema$new(data)

Arguments

data

Raw OutputSchema data from a snapshot. May be a bare list of interval named lists or NULL for an empty schema.

Returns

A new OutputSchema object.


OutputSchema$clone()

The objects of this class are cloneable with this method.

Usage

OutputSchema$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.