Thread View: comp.lang.fortran
1 messages
1 total messages
Started by Roumen Tzenov
Fri, 19 Nov 1999 00:00
ZEBRA structure to C++ mapping?
Author: Roumen Tzenov
Date: Fri, 19 Nov 1999 00:00
Date: Fri, 19 Nov 1999 00:00
30 lines
2274 bytes
2274 bytes
Hi! I have the following problem. I have a code in Fortran that uses extensively Zebra package. It reads a sequence of events, analyses them one by one and stores the results. For each event a Zebra tree bank structure is created in the memory. After event has been processed, the structure is wiped out. I'd like to write a set of functions (probably in C++ and call them from the Fortran code) that will automatically convert the Zebra tree structure in an instance of some C++ class and store that class as a persistent object in Objectivity/DB data-base. What I need is a mapping between the Zebra bank tree in the memory and a C++ object. But this tree is different for each event, with different reference links between banks on it. Thus, I need dynamical, run-time mapping. Does anybody has an experience with such kind of problems? Any suggestions would be of great help! Regards, Roumen. +----------------------------------------------------------------------+ | Roumen TZENOV | +------------------------------+---------------------------------------+ |CERN/EP phone: +41227677958 | University of Sofia, Fac.of Physics | | FAX: +41227673100 | office: B49a phone: +35926256370 | | office: Bldg.51-1-014| FAX: +35929625276 | +------------------------------+---------------------------------------+
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads