subclassing pfNode...

New Message Reply Date view Thread view Subject view Author view

Swaminathan N. (swami++at++evl.eecs.uic.edu)
Fri, 2 Aug 1996 10:30:40 -0500 (CDT)


I've subclasses pfGroup succesfully, and now, in the process of writing a
VRML browser, wanted to subclass pfNode so that all VRML nodes could be
derived from it. Unfortunately pfNode doesnt have a default constructor,
even though it's granddaddy pfObject and it's sons can be derived from.
Is there a particular reason why this was done?

While I still have a couple of chapters to go in my C++ book, is there any
way I can get around this. Apparently pfGroup derives from pfNode without
an initialization list, I've no idea how. Is it possible to use the
pfNode(pfBuffer *) constructor with the current buffer as an argument.

Thanks
Swami

 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
v Swaminathan Narayanan ^
v swami++at++evl.eecs.uic.edu ^
v Office: 996-3002 ^
v Home: 850-3725 ^
v http://evlweb.eecs.uic.edu/swami ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

=======================================================================
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:53:18 PDT

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