indiantarget / quimeraengine

0 stars 0 forks source link

Quit containers dependency from EQEnumerations #701

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently, enumerations use an internal container to store the relations 
between every enum value and its string representation. Since containers are 
available in Tools, enumerations in Common cannot have this feature. 
Furthermore, it would be faster to search for a key in a linear way, using an 
array, since they will be always very short.
It will be necessary to create a method with a switch statement inside of it to 
get every string from every value; another solution, unnecessarily complex 
would be to register the types in an external dictionary for all enumerations.

Original issue reported on code.google.com by Lince3D@gmail.com on 19 Dec 2014 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 2 Feb 2015 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 7 Feb 2015 at 1:59