Thanks for your response, Alex. When we pass a nonexistent oid to controller-recreate-instance, it recreates an instance, but I am looking for a function which returns nil. Is there such a function? (Or a way to implement such.)
Thanks in advance. Tomo On Sat, Apr 25, 2009 at 1:36 AM, Alex Mizrahi <alex.mizr...@gmail.com> wrote: > > PE>>> If using OID values makes sense for this purpose, is there a > user-API > way to get an object by its OID? > ??>> yep, via class index: > (get-value oid (find-class-index 'classname)) > TM> It seems like the function named find-class-index disappeared in > Elephant 1.0? How can I do the same thing with version 1.0? > What I want to do is getting a instance by a class name and an oid. > > > there is now a function controller-recreate-instance: > > (ele::controller-recreate-instance store-controller oid classname) > > classname is optional, it can figure it out automatically from oid. > _______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel