5 #ifndef CMR_BSTREAM_INCLUDED
6 #define CMR_BSTREAM_INCLUDED
23 struct OBStreamFormatArg;
24 typedef OBStreamFormatArg* POBStreamFormatArg;
61 bool open(
const Path& file_path,
bool text =
true);
66 bool open(
const AChar* s);
94 int get(
char* dest,
size_t len);
134 void add(
const AChar* s)
const;
135 void add(AChar c)
const;
136 void add(
const Char* s)
const;
137 void add(Char c)
const;
139 void add(
int v)
const;
140 void add(
unsigned int v)
const;
141 void add(
bool v)
const;
142 void add(
const void* v)
const;
143 void add(Float v)
const;
144 void add(Double v)
const;
145 void add(Long v)
const;
158 const AChar* format_;
159 mutable OBStreamFormatArg* args_;
175 OBStream(
const Path& file_path,
bool append =
false,
bool text =
true);
200 bool open(
const Path& file_path,
bool append =
false,
bool text =
true);
230 void put(
const char* s);
240 void indent(
int i = 1);
246 void unindent(
int i = 1);
254 int get_current_col();
269 bool is_text()
const;
Definition: StringBuffer.h:21
CMREXD OBStream & bcout()
Definition: IOBStream.h:18
Definition: CommBuffer.h:28
Definition: IOBStream.h:166
Definition: IOBStream.h:29
Definition: IOBStream.h:22