Subversion Repositories spk

Rev

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

Rev 98 Rev 101
Line 37... Line 37...
37
	Utils::String CStringList::nextString()
37
	Utils::String CStringList::nextString()
38
	{
38
	{
39
		SStringList *node = this->Next();
39
		SStringList *node = this->Next();
40
		if ( node ) return node->str;
40
		if ( node ) return node->str;
41
		return Utils::String::Null();
41
		return Utils::String::Null();
-
 
42
	}
-
 
43
 
-
 
44
	Utils::String CStringList::findData(const Utils::String &data, bool bIgnoreCase) const
-
 
45
	{
-
 
46
		for(CListNode<SStringList> *node = this->Front(); node; node = node->next()) {
-
 
47
			if ( node->Data()->data.Compare(data, !bIgnoreCase) )
-
 
48
				return node->Data()->str;
-
 
49
		}
-
 
50
 
-
 
51
		return String::Null();
-
 
52
	}
-
 
53
 
-
 
54
	Utils::String CStringList::findString(const Utils::String &str, bool bIgnoreCase) const
-
 
55
	{
-
 
56
		for(CListNode<SStringList> *node = this->Front(); node; node = node->next()) {
-
 
57
			if ( node->Data()->str.Compare(str, !bIgnoreCase) )
-
 
58
				return node->Data()->data;
-
 
59
		}
-
 
60
 
-
 
61
		return String::Null();
42
	}
62
	}
43
}
63
}
44
/*
64
/*
45
StringList::StringList(void)
65
StringList::StringList(void)
46
{
66
{