The R Project SVN R

Rev

Rev 68948 | Rev 83769 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 75638
Line 1... Line 1...
1
% File src/library/methods/man/RClassUtils.Rd
1
% File src/library/methods/man/RClassUtils.Rd
2
% Part of the R package, https://www.R-project.org
2
% Part of the R package, https://www.R-project.org
3
% Copyright 1995-2015 R Core Team
3
% Copyright 1995-2018 R Core Team
4
% Copyright 2008-2015 The R Foundation
4
% Copyright 2008-2018 The R Foundation
5
% Distributed under GPL 2 or later
5
% Distributed under GPL 2 or later
6
 
6
 
7
\name{RClassUtils}
7
\name{RClassUtils}
8
%% NOTE: This is {internal} for a good reason
8
%% NOTE: This is {internal} for a good reason
9
 
9
 
Line 84... Line 84...
84
isVirtualClass(Class, where)
84
isVirtualClass(Class, where)
85
 
85
 
86
newBasic(Class, ...)
86
newBasic(Class, ...)
87
 
87
 
88
makeExtends(Class, to, coerce, test, replace, by, package, slots,
88
makeExtends(Class, to, coerce, test, replace, by, package, slots,
89
                 classDef1, classDef2)
89
            classDef1, classDef2)
90
 
90
 
91
reconcilePropertiesAndPrototype(name, properties, prototype,
91
reconcilePropertiesAndPrototype(name, properties, prototype,
92
       superClasses, where)
92
                                superClasses, where)
93
 
-
 
94
tryNew(Class, where)
93
tryNew(Class, where)
95
 
94
 
96
empty.dump()
95
empty.dump()
97
 
96
 
98
showClass(Class, complete=TRUE, propertiesAreCalled="Slots")
97
showClass(Class, complete=TRUE, propertiesAreCalled="Slots")
99
 
98
 
100
showExtends(ext, printTo = stdout())
99
showExtends(ext, printTo = stdout())
101
 
100
 
102
possibleExtends(class1, class2, ClassDef1 = getClassDef(class1),
101
possibleExtends(class1, class2,
103
                 ClassDef2 = getClassDef(class2, where =
102
                ClassDef1 = getClassDef(class1),
104
                 .classEnv(ClassDef1)))
103
                ClassDef2 = getClassDef(class2, where = .classEnv(ClassDef1)))
105
 
104
 
106
completeExtends(ClassDef, class2, extensionDef, where)
105
completeExtends(ClassDef, class2, extensionDef, where)
107
 
106
 
108
classMetaName(name)
107
classMetaName(name)
109
 
108
 
Line 120... Line 119...
120
 
119
 
121
isClassDef(object)
120
isClassDef(object)
122
 
121
 
123
validSlotNames(names)
122
validSlotNames(names)
124
 
123
 
125
getDataPart(object)
124
getDataPart(object, NULL.for.none = FALSE)
126
setDataPart(object, value, check = TRUE)
125
setDataPart(object, value, check = TRUE)
127
 
-
 
128
}
126
}
129
 
127
 
130
\section{Summary of Functions}{
128
\section{Summary of Functions}{
131
  \describe{
129
  \describe{
132
    \item{\code{testVirtual}:}{
130
    \item{\code{testVirtual}:}{