#include <IOBStream.h>
OBStream::OBStream |
( |
const Path & |
file_path, |
|
|
bool |
append = false , |
|
|
bool |
text = true |
|
) |
| |
- Parameters
-
file_path | of file where stream will be write |
append | if true append stream to file |
text | if true stream is a text stream |
- Parameters
-
s | string where stream will be write |
- Parameters
-
s | string buffer where stream will be write |
- Parameters
-
s | communication buffer where stream will be write |
text | if true stream is a text stream (force xml format) |
Close stream Flush remaining data
Write remaining data in stream to data container
Write formated data to text stream
int OBStream::get_current_col |
( |
| ) |
|
int OBStream::get_indent |
( |
| ) |
|
- Returns
- curent indent column
void OBStream::indent |
( |
int |
i = 1 | ) |
|
Increment indetation
- Parameters
-
bool OBStream::is_open |
( |
| ) |
|
- Returns
- true if stream regulary open
bool OBStream::is_text |
( |
| ) |
const |
bool OBStream::open |
( |
const Path & |
file_path, |
|
|
bool |
append = false , |
|
|
bool |
text = true |
|
) |
| |
Open stream on a file
- Parameters
-
file_path | of file where stream will be write |
append | if true append stream to file |
text | if true stream is a text stream |
Open stream on a string
- Parameters
-
s | string where stream will be write |
Open stream on a string buffer
- Parameters
-
s | string buffer where stream will be write |
Open stream on a communication buffer
- Parameters
-
c | communication buffer where stream will be write |
text | |
Write formated data to text stream
void OBStream::put |
( |
int |
c | ) |
|
Add a character to stream
- Parameters
-
void OBStream::put |
( |
const char * |
s | ) |
|
Add a character string to stream
- Parameters
-
void OBStream::unindent |
( |
int |
i = 1 | ) |
|
Decrement indetation
- Parameters
-
Impl* commore::OBStream::impl_ |
|
protected |
The documentation for this class was generated from the following files: