Subversion Repositories spk

Rev

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

Rev 213 Rev 216
Line 282... Line 282...
282
	const Utils::WStringNode* WStringList::operator[](int num) const
282
	const Utils::WStringNode* WStringList::operator[](int num) const
283
	{
283
	{
284
		return _lList->get(num);
284
		return _lList->get(num);
285
	}
285
	}
286
 
286
 
-
 
287
	Utils::WStringNode* WStringList::operator[](int num)
-
 
288
	{
-
 
289
		return _lList->get(num);
-
 
290
	}
-
 
291
	const Utils::WStringNode* WStringList::operator[](const WString& str) const
-
 
292
	{
-
 
293
		for (CList<WStringNode>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
-
 
294
			if ((*itr)->str.Compare(str, true))
-
 
295
				return *itr;
-
 
296
		}
-
 
297
 
-
 
298
		return nullptr;
-
 
299
	}
-
 
300
	Utils::WStringNode* WStringList::operator[](const WString& str)
-
 
301
	{
-
 
302
		for (CList<WStringNode>::iterator itr = _lList->begin(); itr != _lList->end(); itr++) {
-
 
303
			if ((*itr)->str.Compare(str, true))
-
 
304
				return *itr;
-
 
305
		}
-
 
306
 
-
 
307
		return nullptr;
-
 
308
	}
287
}
309
}