Re: Database model color switching

New Message Reply Date view Thread view Subject view Author view

Jim Helman (jimh++at++surreal)
Mon, 16 Oct 95 13:04:30 -0700


Note that 2.0's pfIsExactType() is rarely required and
should be avoided in favor of pfIsOftype() wherever possible.
Use of pfIsExactType() means that the code will not work if
someone has a database loader that creates its own subclasses.

rgds,

-jim helman

jimh++at++surreal.asd.sgi.com
415/390-1151

         
> if( pfIsExactType(node, pfGetGeodeClassType()) )
should be pfIsOfType.

> else if( pfIsOfType(node, pfGetGroupClassType()) )
OK.

> if( pfIsExactType(node, pfGetSeqClassType()) )
should be pfIsOfType.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:57 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.