🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #6554

ZEBRA structure to C++ mapping?

#6554
From: Roumen Tzenov
Date: Fri, 19 Nov 1999 00:00
30 lines
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   |
+------------------------------+---------------------------------------+
Technical Details
Message-ID: <Pine.LNX.3.95a.991119142617.926D-100000@pcch64>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 105367,f13cfd1be078bdd9,start
X-Google-Attributes: gid105367,public
X-Google-Thread: 109fba,f13cfd1be078bdd9,start
X-Google-Attributes: gid109fba,public
X-Google-Thread: 1094ba,f13cfd1be078bdd9,start
X-Google-Attributes: gid1094ba,public
From: Roumen Tzenov <rtsenov@mail.cern.ch>
Subject: ZEBRA structure to C++ mapping?
Date: 1999/11/19
Message-ID: <Pine.LNX.3.95a.991119142617.926D-100000@pcch64>
X-Deja-AN: 550543151
X-Sender: rtsenov@pcch64
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Complaints-To: news@sunnews.cern.ch
X-Trace: sunnews.cern.ch 943019166 10458 (None) 137.138.206.44
Organization: CERN - European Laboratory for Particle Physics
Mime-Version: 1.0
Reply-To: R.Tzenov@cern.ch
Newsgroups: comp.lang.fortran,comp.lang.c++,cern.c++