view 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 source
1 // StringTokenizer.h: interface for the StringTokenizer class.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_STRINGTOKENIZER_H__1AB4CD12_6B7A_49E4_A87F_75D3DC3FF20F__INCLUDED_)
6 #define AFX_STRINGTOKENIZER_H__1AB4CD12_6B7A_49E4_A87F_75D3DC3FF20F__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
12 class StringTokenizer
13 {
14 public:
15 const char *next();
16 StringTokenizer(CString str, CString token);
17 virtual ~StringTokenizer();
18 private:
19 CString m_token;
20 CString m_delim;
21 CString m_right;
22 };
24 #endif // !defined(AFX_STRINGTOKENIZER_H__1AB4CD12_6B7A_49E4_A87F_75D3DC3FF20F__INCLUDED_)