mp
2016-12-12 21:21:20 UTC
Hi,
If I have an object cBuilding which is a collection of all
cBuildingComponent objects, would List<cBuildingComponent> be the most
efficient storage container?
my assumption is the components would not be stored by name, just added
to collection by index
my thought is the cBuilding object will contain all created objects with
their data etc, then be used to serialize and deserialize on open/close
project.
pseudocode
foreach object in objects
object.serialize filename
-or-
objects.deserialize filename
is that the right idea?
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
If I have an object cBuilding which is a collection of all
cBuildingComponent objects, would List<cBuildingComponent> be the most
efficient storage container?
my assumption is the components would not be stored by name, just added
to collection by index
my thought is the cBuilding object will contain all created objects with
their data etc, then be used to serialize and deserialize on open/close
project.
pseudocode
foreach object in objects
object.serialize filename
-or-
objects.deserialize filename
is that the right idea?
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus