#include <IOBStream.h>
| IBStream::IBStream |
( |
const AChar * |
s | ) |
|
- Parameters
-
| s | as text input stream in a null terminated string |
| IBStream::IBStream |
( |
const Path & |
file_path, |
|
|
bool |
text = true |
|
) |
| |
- Parameters
-
| file_path | path of a file as input stream |
| text | if true file is a text file |
- Parameters
-
| buffer | input stream in a communication buffer |
| const AChar * IBStream::dump |
( |
| ) |
|
| void IBStream::eatwhite |
( |
| ) |
|
- Returns
- true if stream is terminated
Get current character and go to next
- Returns
- -1 if end of stream
| int IBStream::get |
( |
char * |
dest, |
|
|
size_t |
len |
|
) |
| |
Get len character and copy them to dest
- Returns
- number of read character
| bool IBStream::is_open |
( |
| ) |
|
- Returns
- true if stream is open
| bool IBStream::open |
( |
const Path & |
file_path, |
|
|
bool |
text = true |
|
) |
| |
Open stream on a file content
- Parameters
-
| file_path | path of a file as input stream |
| text | if true file is a text file |
| bool IBStream::open |
( |
const AChar * |
s | ) |
|
Open stream on a string content
- Parameters
-
Open stream on a string buffer content
- Parameters
-
Open stream on a communication buffer content
- Parameters
-
Get current character
- Returns
- -1 if end of stream
| Impl* commore::IBStream::impl_ |
|
protected |
The documentation for this class was generated from the following files: