nativeStorageMethods-class  package:externalVector  R Documentation

_C_l_a_s_s "_n_a_t_i_v_e_S_t_o_r_a_g_e_M_e_t_h_o_d_s", _c_l_a_s_s _h_o_l_d_i_n_g _a_n _e_x_t_e_r_n_a_l _p_o_i_n_t_e_r
_t_o _a _C _s_t_o_r_e_a_g_e_M_e_t_h_o_d_s _s_t_r_u_c_t_u_r_e.

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

     This simple class has only one purpose - holding an external
     pointer that contains a pointer to a C 'storageMethods' structure.
     The memory for the C structure is allocated by the "gcAllocator"
     memory allocator.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form
     'new("nativeStorageMethods", ...)'. For details on how the '...'
     argument to 'new' works, see documentation for the '"initialize"'
     method for class '"externalResource"'.

     The 'ptr' slot in a newly created object contains pointer to an
     uninitialized C 'storageMethods' structure.

_S_l_o_t_s:

     '_p_t_r': Object of class '"externalptr"' 

_E_x_t_e_n_d_s:

     Class '"externalResource"', directly.

_M_e_t_h_o_d_s:

     Signature components of the methods:

       resource  The class "nativeStorageMethods"
       ptr       The class "externalptr"
       size      The class "ANY"
       type      The class "ANY"

     Description of the methods:

     _a_l_l_o_c_a_t_e_d_S_i_z_e(_r_e_s_o_u_r_c_e): Returns the size of the C
          'storageMethods' structure in bytes. 

     _a_l_l_o_c_a_t_o_r(_r_e_s_o_u_r_c_e): Returns an object of class '"gcAllocator"'. 

     _g_e_t_P_o_i_n_t_e_r(_r_e_o_u_r_c_e): Return the 'ptr' slot. 

     _i_n_i_t_i_a_l_i_z_e_R_e_s_o_u_r_c_e(_r_e_s_o_u_r_c_e, _p_t_r, _s_i_z_e, _t_y_p_e, ...): Sets the 'ptr' 

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

     'nativeStorageMethodsList-class' for how this class is used.

     'externalResource-class' for more on the super class of this
     class.

