class of pfNode*?

New Message Reply Date view Thread view Subject view Author view

Les Elkins (lelkins++at++zeus.lnk.com)
Wed, 7 May 1997 19:15:00 -0400 (EDT)


Hello....

Maybe I'm just being dense and not seeing this in the man pages, but
given a pfNode *, can I determine what the pointer is actually
referencing (is the object really a pfGroup, pfDCS, or what)?
At first read I had thought that the member function getClassType
would do this, but it's a static member of pfNode, so that's what
my pfNode->getClassType() invokes. Is there a virtual counterpart,
and if not how would one determine what the run time type is?
(dynamic_cast doesn't seem to be in the C++ compiler- at least not
in the one I'm using...)

Many thanks...

-Les

-----------------------------------------------------------------------
        Les Elkins
        LNK Corporation, Inc
        Riverdale, MD
        (301) 927-3223
        lelkins++at++lnk.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:55:12 PDT

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