Class                  package:R.oo                  R Documentation

_T_h_e _C_l_a_s_s _c_l_a_s_s _d_e_s_c_r_i_b_e_s _a_n _O_b_j_e_c_t _c_l_a_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     Package:  R.oo 
      *Class Class*

     'Object'
      '~~|'
      '~~+--''Class'

     *Directly known subclasses:*


     public static class *Class*
      extends Object

     The Class class describes an Object class. First of all, this
     class is most commonly used _internally_ and neither the end user
     nor the programmer need to no about the class Class.

_U_s_a_g_e:

     Class(name=NULL, constructor=NULL)

_A_r_g_u_m_e_n_t_s:

    name: Name of the class.

constructor: Constructor ('function') of any Object class.

_D_e_t_a_i_l_s:

     The class Class describes the Object class or one of its
     subclasses. All classes and constructors created by
     'setConstructorS3()' will be of class Class. Its methods provide
     ways of accessing static fields and static methods. Its _print()_
     method will print detailed information about the class and its
     fields and methods.

_F_i_e_l_d_s _a_n_d _M_e_t_h_o_d_s:

     *Methods:*

         '$'                   Makes the fields and methods of an Class accessable via the $ and the [[ operator.
         '$<-'                 Makes the fields and methods of an Class assignable via the $<- and the [[<- operator.
         '[['                  -
         '[[<-'                -
         'argsToString'        Gets the arguments of a function as a character string.
         'as.character'        Returns a short string describing the class.
         'forName'             Gets a Class object by a name of a class.
         'getDetails'          Lists the fields and methods of a class.
         'getFields'           Returns the field names of a class.
         'getKnownSubclasses'  Gets all subclasses that are currently loaded.
         'getMethods'          Returns the method names of class and its super classes.
         'getName'             Gets the name of the class.
         'getPackage'          Gets the package to which the class belongs.
         'getRdDeclaration'    Gets the class declaraction in Rd format.
         'getRdHierarchy'      Gets the class hierarchy in Rd format.
         'getRdMethods'        Gets the methods of a class in Rd format.
         'getStaticInstance'   Gets the static instance of this class.
         'getSuperclasses'     Gets the super classes of this class.
         'isAbstract'          Checks if a class is abstract or not.
         'isBeingCreated'      Checks if a class is currently being initiated initiated.
         'isDeprecated'        Checks if a class is deprecated or not.
         'isPrivate'           Checks if a class is defined private or not.
         'isProtected'         Checks if a class is defined protected or not.
         'isPublic'            Checks if a class is defined public or not.
         'isStatic'            Checks if a class is static or not.
         'newInstance'         Creates a new instance of this class.
         'print'               Prints detailed information about the class and its fields and methods.

     *Methods inherited from Object*:
      $, $<-, [[, [[<-, as.character, attach, attachLocally,
     clearCache, clone, detach, equals, extend, finalize, gc,
     getEnvironment, getFields, getInstanciationTime,
     getStaticInstance, hasField, hashCode, ll, load, objectSize,
     print, save

_A_u_t_h_o_r(_s):

     Henrik Bengtsson (<URL: http://www.braju.com/R/>)

