traversal data structures

New Message Reply Date view Thread view Subject view Author view

Holger Ziegler (holgerz++at++berlin.sgi.com)
Tue, 26 Jan 1999 10:11:49 +0100


Hallo,

customer has the following question. Any good ideas ?

Thanks
Holger

We have a problem with the pfb loader concerning user defined traversal
data structures.

In a database I am using callback functions for the CULL stage which
need their own user defined classes (derived from pfObject). These
classes
are propagated via pfNode::setTravData.

As far as I understand I have to register both the callback function and

the attached user defined class when I want to save the database in pfb
format.

And now we come to the point:

To register the callbacks I can use pfdFindRegisteredUserFunc.
What do I have to do to make the pfb-saver know about my own defined
traversal data structures? What is the easiest way to 'register' data
structures, so that pfb is able to store (and of course _load_) my data.

Maybe there is additional documentation about the pfb-loader. The only
thing I have at this moment is the source code (Revision: 1.116) from
Rob Mace which comes with Performer.

Any help is gladly appreciated.

--
Holger Ziegler                 Holger.Ziegler++at++sgi.com
Silicon Graphics GmbH          Holger.Ziegler++at++usa.net
D-16761 Hennigsdorf            Fon: 49-(0)3302-8099 19
Neuendorfstr. 15a              Fax: 49-(0)3302-8099 99

http://reality.sgi.com/holgerz_berlin


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Jan 26 1999 - 01:11:59 PST

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