[vtk-developers] complement for "Delete"

Lisa Avila lisa.avila at kitware.com
Tue Mar 12 13:00:11 EST 2002


Mike,

Can't we just create another version of Register with no argument? That 
seems better than having yet another method that changes the reference 
count.  New is the complement to Delete, Register is the complement to 
UnRegister.

Lisa



At 08:48 AM 3/11/2002, Michael Halle wrote:

>It looks like there's no complementary method for the Delete method.
>Register has UnRegister, both of which take arguments.
>
>Anyone have any problem with me adding a "Preserve" method to Object?
>It would just be a no-argument call to UnRegister.
>
>Why?  It just makes scripted code cleaner:
>obj Register ""
>looks funny.
>
>
>                                                         --Mike
>_______________________________________________
>vtk-developers mailing list
>vtk-developers at public.kitware.com
>http://public.kitware.com/mailman/listinfo/vtk-developers




More information about the vtk-developers mailing list