Wrapper class for .NET
objects
Wrapper class for .NET
objects
Super class
ospsuite.utils::Printable
-> DotNetWrapper
Methods
Examples
sim <- loadSimulation(system.file("extdata", "Aciclovir.pkml", package = "ospsuite"))
# looking at a reference to `.NET` simulation object
sim$ref
#> An object of class "cobjRef"
#> Slot "clrobj":
#> <pointer: 0x0000000007bab580>
#>
#> Slot "clrtype":
#> [1] "OSPSuite.R.Domain.Simulation"
#>
# create a new instance of `DotNetWrapper` class using this reference
DotNetWrapper$new(sim$ref)
#> <DotNetWrapper>
#> Inherits from: <Printable>
#> Public:
#> initialize: function (ref)
#> ref: active binding
#> Private:
#> .ref: cobjRef
#> finalize: function ()
#> printClass: function ()
#> printLine: function (entry, value = NULL, addTab = TRUE)
#> readOnlyProperty: function (propertyName, value, returnValue)
#> throwPropertyIsReadonly: function (propertyName)
#> wrapExtensionMethod: function (typename, methodName, propertyName, value)
#> wrapExtensionMethodCached: function (typename, methodName, propertyName, cachedValue, value)
#> wrapIndexProperty: function (propertyName, value)
#> wrapIntegerProperty: function (propertyName, value)
#> wrapNullableIntegerProperty: function (propertyName, value)
#> wrapProperty: function (propertyName, value, shouldSetNull = TRUE)
#> wrapReadOnlyProperty: function (propertyName, value)
#> wrapVectorProperty: function (propertyNameSingular, propertyNamePlural, value, returnPropertyName)