[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: making an object from class structure?
- Subject: Re: making an object from class structure?
- From: "Pavel A. Romashkin" <pavel.romashkin(at)noaa.gov>
- Date: Wed, 17 Jan 2001 13:05:31 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: NOAA-CMDL-CIRES
- References: <on7l3ugqhp.fsf@cow.physics.wisc.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23028
Craig Markwardt wrote:
>
> Hi object experts!
>
> I am a little stymied on an "internal" object question. In the course
> of restoring objects from a SAVE file, I can definitely restore the
> class *structure*. That is, I can read the structure definition, the
> super classes, etc and reconstruct a class structure filled with the
> correct data.
>
> My question is, how do I get an object "pointer" to it.
Hi Craig,
Isn't it the object *reference* that you get when you restore a saved
object? I could never get to object *structure* definition (which I use
for my lazy-sitting-place loop cleanup method) by using anything other
means than o_str = {My_obj}. Or are you looking for a way to get a
*definition* from SAV, then re-fill it manually and assign it to an
object reference?
Cheers,
Pavel