setSClass              package:methods              R Documentation

_L_o_w-_l_e_v_e_l _C_l_a_s_s _d_e_f_i_n_i_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     This is the lower-level version of `setClass'.  Unless you really
     know why you are calling it, use `setClass' instead.

_U_s_a_g_e:

     setSClass(name, properties=list(), extends=character(),
               prototype=NULL, generatorFunction, where=1,
               subclasses=character(), virtual=NA, validity, access)

_A_r_g_u_m_e_n_t_s:

    name: character string name for the class 

properties: the `representation' argument to `setClass' 

 extends: what classes does this class extend 

prototype: an object (usually a list) providing the default data for
          the slots specified in the representation. 

generatorFunction: an optional function to use in generating new
          objects from the class 

   where: where to store the resulting definition (as metadata). By
          default, uses the global environment. 

subclasses: Classes that extend this class.  

 virtual: Is this known to be a virtual class? 

validity, access: Optional arguments for validity method and access
          restrictions.  At the time of writing, these are included for
          compatibility and are not used.  In the future, however, the
          validity method is likely to be relevant.  See Programming
          with Data for its interpretation.

_A_u_t_h_o_r(_s):

     John Chambers

_R_e_f_e_r_e_n_c_e_s:

     The web page <URL: http://www.omegahat.org/RSMethods/index.html>
     is the primary documentation.

     The functions in this package emulate the facility for classes and
     methods described in Programming with Data (John M. Chambers,
     Springer, 1998).  See this book for further details and examples.

_S_e_e _A_l_s_o:

     `setClass'

