2
* This file is part of the Code::Blocks IDE and licensed under the GNU General Public License, version 3
3
* http://www.gnu.org/licenses/gpl-3.0.html
6
#ifndef ASSTREAMITERATOR_H
7
#define ASSTREAMITERATOR_H
10
#include <wx/string.h>
13
#include "./astyle/astyle.h"
15
class ASStreamIterator : public astyle::ASSourceIterator
18
ASStreamIterator(cbEditor *cbe, const wxChar *in);
19
virtual ~ASStreamIterator();
21
bool hasMoreLines() const;
22
std::string nextLine();
23
bool FoundBookmark() const { return m_foundBookmark; }
24
void ClearFoundBookmark() { m_foundBookmark = false; }
27
bool IsEOL(wxChar ch);
30
std::vector<wxChar> m_buffer;
36
#endif // ASSTREAMITERATOR_H