#include <stdio.hpp>
|
| ~cin_t () |
|
virtual size_t | readsome (char *buf, size_t len) |
|
virtual size_t | readsome (const std::shared_ptr< char > &buf, size_t len, size_t offset) |
|
virtual istream & | read (char *buf, size_t len) |
|
virtual bool | eof () const |
|
virtual | ~istream () |
|
istream & | read (char *buf, size_t len) |
|
istream & | read (const std::shared_ptr< char > &buf, size_t len, size_t offset=0) |
|
virtual char | get () |
|
void | get (char &c) |
|
Definition at line 23 of file stdio.hpp.
◆ ~cin_t()
◆ eof()
bool fc::cin_t::eof |
( |
| ) |
const |
|
virtual |
◆ read()
istream & fc::cin_t::read |
( |
char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
virtual |
◆ readsome() [1/2]
size_t fc::cin_t::readsome |
( |
char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
virtual |
read at least 1 byte or throw, if no data is available this method should block cooperatively until data is available or fc::eof is thrown.
- Exceptions
-
fc::eof | if at least 1 byte cannot be read |
Implements fc::istream.
Definition at line 103 of file iostream.cpp.
◆ readsome() [2/2]
size_t fc::cin_t::readsome |
( |
const std::shared_ptr< char > & |
buf, |
|
|
size_t |
len, |
|
|
size_t |
offset |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files: