File: standardMethods.Rd

package info (click to toggle)
r-cran-distr 2.9.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,344 kB
  • sloc: ansic: 199; sh: 13; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\name{standardMethods}
\alias{standardMethods}
\title{Utility to automatically generate accessor and replacement functions}
\description{
Creates definitions for accessor and replacement functions of an given class.
}
\usage{
standardMethods(class, writetofile = FALSE, directory)
}
%- maybe also 'usage' for other objects documented here.
\arguments{
  \item{class}{the class for which accessor and replacement functions
    are to be produced, given as a string}
  \item{writetofile}{logical value, indicating wheter output is to be written to a file}
  \item{directory}{if writetofile = TRUE, the output is
    written to a file in the given directory, the name of the file
    starting with "classname" and ending with "StandardMethods.txt"}
}
\value{no value is returned
}
\author{Thomas Stabla \email{statho@web.de}}
\examples{
setClass("testclass", representation(a = "numeric", b = "character"))
standardMethods("testclass")
}
\keyword{utilities}
\keyword{programming}