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