Made Stream members protected again.
This commit is contained in:
parent
544d4e0635
commit
d7b47797df
@ -33,6 +33,9 @@ struct Tag
|
|||||||
template<class ParserPolicy = CaseSensitiveParserPolicy>
|
template<class ParserPolicy = CaseSensitiveParserPolicy>
|
||||||
class Parser: public Stream, public ParserPolicy
|
class Parser: public Stream, public ParserPolicy
|
||||||
{
|
{
|
||||||
|
template<class OtherParserPolicy>
|
||||||
|
friend class Parser;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit Parser();
|
explicit Parser();
|
||||||
explicit Parser(std::string streamName, std::istream &istream);
|
explicit Parser(std::string streamName, std::istream &istream);
|
||||||
|
@ -70,8 +70,7 @@ class Stream
|
|||||||
|
|
||||||
void check() const;
|
void check() const;
|
||||||
|
|
||||||
// TODO: make protected again
|
protected:
|
||||||
//protected:
|
|
||||||
mutable std::stringstream m_stream;
|
mutable std::stringstream m_stream;
|
||||||
|
|
||||||
std::vector<Delimiter> m_delimiters;
|
std::vector<Delimiter> m_delimiters;
|
||||||
|
Reference in New Issue
Block a user