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 115... Line 115...
115
	bool CStringList::containsData(const Utils::String &data, bool bIgnoreCase) const
115
	bool CStringList::containsData(const Utils::String &data, bool bIgnoreCase) const
116
	{
116
	{
117
		for (CList<SStringList>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
117
		for (CList<SStringList>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
118
			if ((*itr)->data.Compare(data, !bIgnoreCase))
118
			if ((*itr)->data.Compare(data, !bIgnoreCase))
119
				return true;
119
				return true;
-
 
120
		}
-
 
121
 
-
 
122
		return false;
-
 
123
	}
-
 
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
			}
120
		}
133
		}
121
 
134
 
122
		return false;
135
		return false;
123
	}
136
	}
124
 
137