Skip to contents

A representation of a building block

Super classes

rSharp::NetObject -> DotNetWrapper -> ObjectBase -> BuildingBlock

Active bindings

type

Type of the building block (Spatial structure, molecules, reactions, etc)

id

ID of the building block

name

Name of the building block. Read-only.

Methods

Inherited methods


BuildingBlock$new()

Initialize a new instance of the class

Usage

BuildingBlock$new(netObject, type)

Arguments

netObject

Underlying reference to the building block in the simulation engine.

type

Type of the building block. Must be one of the BuildingBlockTypes.

Returns

A new BuildingBlock object.


BuildingBlock$print()

Print the object to the console

Usage

BuildingBlock$print(printClassProperties = FALSE, ...)

Arguments

printClassProperties

Logical, whether to print class properties (default: FALSE). If TRUE, calls first the print method of the parent class. Useful for debugging.

...

Rest arguments.