[CPP] CRef reference persistence

Date : Thu, 15 Dec 2005 17:15:29 +0100
To : XSI(at)Softimage.COM
From : Guy Rabiller <guy(at)alamaison.fr>
Subject : [CPP] CRef reference persistence

Hi,

while talking offline with Alan on some issue, I suddently had a doubt regarding the persistence of CRef objects's references.

Thinking this is exactly one of the purposes of the CRef class, I still would like to be 100% sure that it is guaranted that an object referenced by a CRef object will persist at least as long as the CRef object itself lifespan ?

Or is there any situation where a CRef object might become invalid because the referenced object has been deleted ( by XSI, not the user ) ?
( are they 'reference counted' ? )


By object referenced by a CRef instance I dont only mean 'something' in the 3d scene, but any instance of any derived class from CRef.

Andrew ?
--
guy rabiller | 3d technical director (at) LaMaison

---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.