Subversion Repositories spk

Rev

Rev 121 | Rev 160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 121 Rev 124
Line 120... Line 120...
120
		}
120
		}
121
 
121
 
122
		return false;
122
		return false;
123
	}
123
	}
124
 
124
 
-
 
125
	bool CStringList::changeData(const Utils::String &str, const Utils::String &data, bool bIgnoreCase)
-
 
126
	{
-
 
127
		for (CList<SStringList>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
-
 
128
			if ((*itr)->str.Compare(str, !bIgnoreCase))
-
 
129
			{
-
 
130
				(*itr)->data = data;
-
 
131
				return true;
-
 
132
			}
-
 
133
		}
-
 
134
 
-
 
135
		return false;
-
 
136
	}
-
 
137
 
125
	bool CStringList::contains(const Utils::String &str, bool bIgnoreCase) const
138
	bool CStringList::contains(const Utils::String &str, bool bIgnoreCase) const
126
	{
139
	{
127
		for (CList<SStringList>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
140
		for (CList<SStringList>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
128
			if ((*itr)->str.Compare(str, !bIgnoreCase))
141
			if ((*itr)->str.Compare(str, !bIgnoreCase))
129
				return true;
142
				return true;