/* String Split Library for Native C++ 1.1 Copyright (c) 2007 - 2008 Wong Shao Voon The Code Project Open License (CPOL) http://www.codeproject.com/info/cpol10.aspx */ #ifndef __STRTOKSTRATEGY_H__ #define __STRTOKSTRATEGY_H__ #include <vector> #include <string> #include "SplitStrategy.h" #include "DataTypeRef.h" class StrtokStrategy : public ISplitStrategy { public: // Constructor StrtokStrategy( const std::wstring& sDelimit ) : m_sDelimit(sDelimit) { } virtual ~StrtokStrategy() {} void Init( const std::wstring& sDelimit) { m_sDelimit = sDelimit; } virtual size_t Extract( const std::wstring& StrToExtract, std::vector<Elmax::DataTypeRef*> vecDTR ); std::wstring m_sDelimit; }; #endif // __STRTOKSTRATEGY_H__
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)
The Next Version of Android - Some of What's Coming