EnumValue            package:RDCOMClient            R Documentation

_C_r_e_a_t_e _i_n_s_t_a_n_c_e _o_f _e_n_u_m_e_r_a_t_i_o_n _v_a_l_u_e _c_l_a_s_s _i_n _R

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

     This generic function is used to create an instance of a value
     from an enumeration constant definition type. See
     'EnumValue-class' for more information about these named symbolic
     constants.

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

     EnumValue(id, value, obj = new("EnumValue"))

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

      id: a string giving the symbolic name of the value.

   value: the numeric value for this 'EnumValue' instance.

     obj: an instance of the class to be created. This allows the
          caller to reuse this function with  for different derived
          classes of 'EnumValue-class'. One creates the new object via
          its default prototype and passes this to  'EnumValue'. 

_V_a_l_u_e:

     The value of the 'obj' argument with is '.Data' slot filled in
     with a named integer vector of length 1.

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

     Duncan Temple Lang (duncan@wald.ucdavis.edu)

_S_e_e _A_l_s_o:

     'EnumValue-class' 'setAs'

