ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Represent/DataType.cpp
(Generate patch)

Comparing Represent/DataType.cpp (file contents):
Revision 391 by douglas, 2004-12-24T20:31:04-08:00 vs.
Revision 422 by douglas, 2005-03-09T19:08:17-08:00

# Line 10 | Line 10 | const ext::Vector<DataType>& DataType::e
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;
# Line 22 | Line 22 | DataType& DataType::operator=(const ext:
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines