<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi all,<br>
<br>
I'd have a question for you about EntitySeed.<br>
In a previous message I was told that the best and most efficient way of storing information about elements is through EntitySeed.<br>
>From what I read from the documentation, they are "seeds" that help you retrieve the necessary information about an element you could need at a later stage, minimising the memory waste. Am I right?<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">Now, suppose you have classified your elements in two different categories, liquid/solid for example; I can't store the physical Entities in a container, I can only store pointers of them, or seeds of them.<br>
How do I "recreate" the entity, given its seed? Would it be possible to "recreate" an EntityPointer from the EntitySeed?<br>
My question comes from the fact that I need to "filter" the list of elements and discard some of them (e.g., the solid ones), but in order to do that I need to use a method "find" for a STL container, and the operands (element to find and entries of the container)
have to be, of course, of the same type.<br>
<br>
Thanks a lot in advance!<br>
<br>
Andrea<br>
__________________________________________________________<br>
<br>
Andrea Sacconi<br>
PhD student, Applied Mathematics<br>
AMMP Section, Department of Mathematics, Imperial College London,<br>
London SW7 2AZ, UK<br>
a.sacconi11@imperial.ac.uk<br>
</div>
</div>
</div>
</div>
</body>
</html>