H
Herve MAILLARD
Hi,
I made my first steps with oriented object programs and I ask my self a lot
of questions...
Also, I d'ont really know if I post in the rigth Newsgroup...
I have 3 "objects" ?
Equipement, Bloc and Variable
Equipement contains properties : Name, Type
Bloc contains properties : Name, Type, Size
Variable contains property : Name
For one Equipement, I can have X Blocs and for each Blocs, X Variables.
Of course I could have may Equipements.
How can I structurized this ? For exemple I need to know for one Variable
what's the parent's Bloc and Equipement...
I have think to a multi dimensions array ? Is it the good way ?
Your help will be be good...
Thanks a lot
H. MAILLARD
I made my first steps with oriented object programs and I ask my self a lot
of questions...
Also, I d'ont really know if I post in the rigth Newsgroup...
I have 3 "objects" ?
Equipement, Bloc and Variable
Equipement contains properties : Name, Type
Bloc contains properties : Name, Type, Size
Variable contains property : Name
For one Equipement, I can have X Blocs and for each Blocs, X Variables.
Of course I could have may Equipements.
How can I structurized this ? For exemple I need to know for one Variable
what's the parent's Bloc and Equipement...
I have think to a multi dimensions array ? Is it the good way ?
Your help will be be good...
Thanks a lot
H. MAILLARD