Subversion Repositories spk

Rev

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

Rev 189 Rev 196
Line 2... Line 2...
2
 
2
 
3
#include <string>
3
#include <string>
-
 
4
#include <vector>
4
#include "../spkdll.h"
5
#include "../spkdll.h"
5
#include "../spkdef.h"
6
#include "../spkdef.h"
6
 
7
 
7
enum WStringCompare {
8
enum WStringCompare {
8
	Same		= 0,
9
	Same		= 0,
Line 144... Line 145...
144
	// tokens
145
	// tokens
145
	int countToken(const wchar_t *token) const;
146
	int countToken(const wchar_t *token) const;
146
	WString token(const wchar_t *token, int tok) const;
147
	WString token(const wchar_t *token, int tok) const;
147
	WString tokens(const wchar_t *token, int from, int to = 0) const;
148
	WString tokens(const wchar_t *token, int from, int to = 0) const;
148
	WString *tokenise(const wchar_t *token, int *max) const;
149
	WString *tokenise(const wchar_t *token, int *max) const;
-
 
150
	size_t tokenise(const wchar_t* token, std::vector<std::wstring> &str) const;
149
	WString replaceToken(const wchar_t *token, int from, const WString &replace) const;
151
	WString replaceToken(const wchar_t *token, int from, const WString &replace) const;
150
	WString remToken(const wchar_t* token, int from) const;
152
	WString remToken(const wchar_t* token, int from) const;
151
	WString remTokens(const wchar_t* token, int from, int to = -1) const;
153
	WString remTokens(const wchar_t* token, int from, int to = -1) const;
152
	WString word(int word) const;
154
	WString word(int word) const;
153
	WString words(int from, int to = 0) const;
155
	WString words(int from, int to = 0) const;