TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Craig Swanson
from: Mario Semo
date: 1994-08-09 02:41:44
subject: C++ object databases = any suggestions?

Hello Craig,

On Jul 31 13:42 94, Craig Swanson of 1:202/354 wrote:

 CS> as the "POET Object Database for C++".  There is an 


Here's some more experience with POET 2.1 for OS/2:

a) the preProcessor (PTXX) is at C++ Level 2.0, which makes it impossible,
to make a ANSI C++ (Level 3) Class persistent. This includes 
.) nested classes 
  sample: class a { public: class b {};};
          class c { public: class b {};};
  error : redefinition of class b; // wrong. this is C++ 3.0
.) nested typedefs
  sample:
    class a;
    class b : public a { typedef a inherited; };
  note : IBM CSET++ ICLUI classes uses this method.
.) templates
  note : IBM CSET++ ICC classes are template based.
  so, you have either to use the list, set classes from poet [see below] or
write your own [whats about code reuse ?] or buy very simple container
classes.
.) additional there are bugs in PTXX:
  sample:

 class IString; // forward def. not needed to know anything about this class
 class test { IString asDebugInfo(); };

 error : don't know the size of IString. // why on earth does he need to
know the size???

.) POETS built in List/Set classes are VERY simple. 
 x) the compact version is a simple array with 'short' dimension.
 x) the large version is a array of 64K arrays [or something alike].
 x) the huge version alike the large version for OS/2 (in 16bit envirs
there is a keyword 'huge' used in front of the data.

so, my impression is: as long as the classes you want to make persistent
are simple and only contains C++ 2.0 interface descriptions, POET gives you
a useable OODB. if you have complex classes, or you want to make classes
from other vendors persistent, there will be a hard way to go.

additional literature :
.) BYTE 4/94 : special report on OODB's
.) BYTE 5/94 : POET in motion. [a test of POET 2.1 for Windows]

PS: if you have any experience in other OODB's which are available for OS/2
and other platforms, i'm very interested in reading something. 

Mario

--- 


* Origin: LC/32 Development Team-Vienna-Austria (2:310/14.11)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 712/353 623 713/888 800/1
@PATH: 310/14 90 30 2490/1001 24/24 396/1 3615/50 229/2 12/2442
@PATH: 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.