Usage
## S3 method for class 'default}(name, definition, private=FALSE, protected=FALSE, static=FALSE, abstract=FALSE, trial=FALSE, deprecated=FALSE, envir=parent.frame(), enforceRCC=TRUE, ...)':
setConstructorS3undefined
- name
{The name of the class.}
- definition
{The constructor defintion. Note: The constructor
must be able to be called with no arguments, i.e. use default values
for all arguments or make sure you use missing()
or similar!}
- static
{If TRUE
this class is defined to be static,
otherwise not. Currently this has no effect expect as an indicator.}
- abstract
{If TRUE
this class is defined to be abstract,
otherwise not. Currently this has no effect expect as an indicator.}
- private
{If TRUE
this class is defined to be private.}
- protected
{If TRUE
this class is defined to be protected.}
- trial
{If TRUE
this class is defined to be a trial class,
otherwise not. A trial class is a class that is introduced to be
tried out and it might be modified, replaced or even removed in a
future release. Some people prefer to call trial versions, beta
version. Currently this has no effect expect as an indicator.}
- deprecated
{If TRUE
this class is defined to be deprecated,
otherwise not. Currently this has no effect expect as an indicator.}
- envir
{The environment for where the class (constructor function)
should be stored.}
- enforceRCC
{If TRUE
, only class names following the R Coding
Convention is accepted. If the RCC is violated an RccViolationException
is thrown.}
- ...
{Not used.}
Note: If a constructor is not declared to be private nor protected, it
will be declared to be public.
For a complete example see help(Object).
To define a method see setMethodS3
().
For information about the R Coding Conventions, see
RccViolationException
.
For a thorough example of how to use this method see Object
.
[object Object]
programming
methods