[vtk-developers] complement for "Delete"

Andy Cedilnik Andy.Cedilnik at kitware.com
Tue Mar 12 11:20:02 EST 2002


At 01:48 PM 3/11/2002 +0000, 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.

Huh, shouldn't you use New()?
I guess if you want to "preserve" the same object you can use Register and 
Unregister?
Could you please describe whole scenario?

                         Andy




More information about the vtk-developers mailing list