as.list-methods {objectProperties}R Documentation

Coercion to list

Description

Coercion from PropertySet to list.

Arguments

x

A PropertySet object.

Details

This coersion only return a list of properties instances. filtering out singal function and other fields which are not properties.

Value

A list of properties instance.

Author(s)

Tengfei Yin

Examples

filt.gen <- setRefClass("Filter", properties(list(cutoff = "NonnegativeInteger",
weight = "PositiveInteger")),
contains = "PropertySet")
obj <- filt.gen$new(cutoff = NonnegativeInteger(0),
weight = PositiveInteger(1))
obj$properties()
as.list(obj)

[Package objectProperties version 0.6.8 Index]