Mercurial > vba-linux
diff src/win32/StringTokenizer.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/StringTokenizer.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,24 @@ 1.4 +// StringTokenizer.h: interface for the StringTokenizer class. 1.5 +// 1.6 +////////////////////////////////////////////////////////////////////// 1.7 + 1.8 +#if !defined(AFX_STRINGTOKENIZER_H__1AB4CD12_6B7A_49E4_A87F_75D3DC3FF20F__INCLUDED_) 1.9 +#define AFX_STRINGTOKENIZER_H__1AB4CD12_6B7A_49E4_A87F_75D3DC3FF20F__INCLUDED_ 1.10 + 1.11 +#if _MSC_VER > 1000 1.12 +#pragma once 1.13 +#endif // _MSC_VER > 1000 1.14 + 1.15 +class StringTokenizer 1.16 +{ 1.17 +public: 1.18 + const char *next(); 1.19 + StringTokenizer(CString str, CString token); 1.20 + virtual ~StringTokenizer(); 1.21 +private: 1.22 + CString m_token; 1.23 + CString m_delim; 1.24 + CString m_right; 1.25 +}; 1.26 + 1.27 +#endif // !defined(AFX_STRINGTOKENIZER_H__1AB4CD12_6B7A_49E4_A87F_75D3DC3FF20F__INCLUDED_)