dbTalk Databases Forums  

doubts

comp.databases.object comp.databases.object


Discuss doubts in the comp.databases.object forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ben
 
Posts: n/a

Default doubts - 04-24-2005 , 02:35 AM






Hi guyz,
Recently i have read quite a few introductory articles on
OODB.However all of these articles introduced OODB from user's
perspective and not from programmer's.

(I am trying to simulate OODB with flat file storage system,using
C++.Thats actually my academic project.
The functionalities that i have to implement are ofcourse very
limited.)

I have this doubt:
When a user provides class
definition,it can be stored somewhere by the oodb.However later when
user wants to create objects of this particular class,how is it
achieved by the oodb?

Since the main program does not know in advance what the class is, how
can it create objects of that class?(if the class defn. is known in
advance,it is very straight forward to create objects)

Can one embed the new class defn. in the executable file of main
program?

Ofcourse there must be some ways to achieve this.(like copying the
class defn provided by user to some dummy prog.,then compiling that
prog. and then creating obj. of that class)
However i am looking for the simplest solution possible,even if its
very crude or silly or inefficient.Thanks
bye,
ben


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.