Am 02.06.2016 um 12:29 schrieb Robert Osfield:

Hi Robert,
> I don't think an extra method getContextHash() would be required.  I'd
> just implement an == operator in Options 
to use the == operator on iterating through the cache entries in 
getRefFromObjectCache  ?

getRefFromObjectCache() uses find() for fetching the key, which requires
a string representation of a unique key for the related Options
instance. On inserting there is also a string key required.

> and then clone the Options object that is passed into addEntryToObjectCache.
what should I do with the cloned instance, save in the object cache ?

Can you explain ?

Ralf


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to