9 #ifndef guit_iobuffer_hpp
10 #define guit_iobuffer_hpp
13 #include <gstring.hpp>
20 GIOBuffer(std::ostream&);
21 GIOBuffer(std::istream&);
23 GString
const& data()
const {
return data_;}
24 bool valueMode()
const {
return valuemode_;}
25 void setValueMode(
bool);
29 void printTabbed(GString
const&);
32 int level()
const {
return level_;}
33 void incrLevel() {++level_;}
34 void decrLevel() {--level_;}
35 void resetLevel() {level_ = 0;}
37 int tabCount()
const {
return tabcount_;}
38 void setInsideRow(
bool);
42 bool begin_{
true}, valuemode_{}, skipbase_{}, insiderow_{};
43 int level_{}, tabcount_{}, hasdata_{};