is there a test function to find out if a cellviewID has been purged?

Discussion in 'Cadence' started by Nicolas Perrier - PMC Sierra Inc, May 11, 2007.

  1. Suppose I assign a cellview to a variable:

    cv = geGetEditRep()

    ;;; somehow the cellview gets closed (purged from memory)

    cv ==>
    db:28354543
    cv~>?
    dbGetq: Object is a purged/freed object - db:28354543

    How can I test if 'cv' is purged ? I'm looking for something like
    isPurgedP(cv)

    thanks!
    Nicolas
     
    Nicolas Perrier - PMC Sierra Inc, May 11, 2007
    #1
  2. dbValidP(cv)
     
    Jean-Marc Bourguet, May 11, 2007
    #2
  3. Nicolas Perrier - PMC Sierra Inc

    S. Badel Guest

    I believe dbIsId(cv) will do what you want.

    Stéphane
     
    S. Badel, May 11, 2007
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.