10 |
|
{ |
11 |
|
if (enumeration.IsEmpty()) |
12 |
|
{ |
13 |
< |
_foru (type, TYPE_bool, TYPE_ext_String + 1) enumeration.InsertLast(Type(type)); |
13 |
> |
_for (unsigned, type, TYPE_bool, TYPE_ext_String + 1) enumeration.InsertLast(Type(type)); |
14 |
|
} |
15 |
|
|
16 |
|
return enumeration; |
22 |
|
{ |
23 |
|
if (enumeration.IsEmpty()) enumerate(); |
24 |
|
|
25 |
< |
ext::Vector<DataType>::ConstIterator found(enumeration.Find(string)); |
25 |
> |
ext::Vector<DataType>::ConstIterator found(ext::FindFirstAll(enumeration, string)); |
26 |
|
|
27 |
|
if (found != enumeration.End()) type = *found; |
28 |
|
|