search for: addperson

Displaying 3 results from an estimated 3 matches for "addperson".

2017 Nov 16
0
R6 object that is a list of referenced object
...self$age <- age } ) # public ) # Person Person1 <- Person$new( 1, 'a', 4 ) Person2 <- Person$new( 2, 'b', 5 ) Community <- R6Class( "Community" , public = list( e = NULL , addPerson = function( p ) { self$e <- append( self$e, p ) } ) ) Community1 <- Community$new() Community1$addPerson( Person1 ) Community1$addPerson( Person2 ) Community1$e #> [[1]] #> <Person> #> Public: #> age: 4 #> clone: function (deep =...
2017 Nov 15
2
R6 object that is a list of referenced object
Dear community, I am having a class, let's say Person, Person <- R6Class("Person", public = list( idPerson = NULL, name = NULL, age = NULL, initialize = function(idPerson = NA, name = NA, age = NA) { self$idPerson <- idPerson
2015 Aug 31
2
Should personality functions actually be functions
...lto:llvm-commits at lists.llvm.org>> wrote: >> Hi Philip >> >> While reducing a test case with personality functions, I crashed selection DAG. The reason being that my personality function was no longer a function. The relevant code is >> >> MF->getMMI().addPersonality(MBB, cast<Function>(LPadInst->getParent() >> ->getParent() >> ->getPersonalityFn() >> ->stripPoi...