loopType: loopType R6 class.

loopTypeR Documentation

loopType R6 class.

Description

This step allows to form a loop or to exclude some steps. It allows to jump to a certain "goto" step for "repeat" times. If the "goto" step is outside of the loop range, it must have "repeat" value "0". Inherits: rdmlBaseType.

Format

An R6Class generator object.

Initialization

loopType$new(goto, repeat.n)

Fields

goto

assertCount. The step to go to to form the loop.

repeat.n

assertCount. Determines how many times the loop is repeated. The first run through the loop is counted as 0, the last loop is "repeat" - 1.

Super class

RDML::rdmlBaseType -> loopType

Methods

Public methods

Inherited methods

Method new()

Usage
loopType$new(goto, repeat.n)

Method clone()

The objects of this class are cloneable with this method.

Usage
loopType$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


kablag/RDML documentation built on Oct. 20, 2022, 5:47 a.m.