Subversion Repositories spk

Rev

Rev 88 | Rev 101 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8 cycrow 1
#pragma once
2
 
3
#include "String.h"
4
#include "../lists.h"
5
 
6
namespace Utils {
88 cycrow 7
 
8 cycrow 8
	typedef struct {
9
		String str;
10
		String data;
11
	} SStringList;
12
 
88 cycrow 13
	typedef CListNode<SStringList> CStringListNode;
14
 
8 cycrow 15
	class SPKEXPORT CStringList : public CLinkList<SStringList>
16
	{
17
	public:
18
		void pushBack(const String &str, const String &data);
9 cycrow 19
		void clear();
98 cycrow 20
		void tokenise(const String &str, const String &token);
21
 
22
		Utils::String firstString();
23
		Utils::String nextString();
8 cycrow 24
	};
25
} //NAMESPACE
26