#include <genesis/utils/io/base_input_source.hpp>
Inherited by FileInputSource, GzipInputSource, StreamInputSource, and StringInputSource.
Abstract base class for reading byte data from input sources.
It offers to read() a certain amount of bytes into a char buffer.
Definition at line 50 of file base_input_source.hpp.
◆ BaseInputSource() [1/3]
◆ BaseInputSource() [2/3]
◆ BaseInputSource() [3/3]
◆ ~BaseInputSource()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ read()
size_t read |
( |
char * |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ source_name()
std::string source_name |
( |
| ) |
const |
|
inline |
Get a name of the input source. This is intended for user output.
Definition at line 85 of file base_input_source.hpp.
◆ source_string()
std::string source_string |
( |
| ) |
const |
|
inline |
Get a string representing the input source. This is intended for the reader classes, which for example might want to examine the input file name.
Definition at line 95 of file base_input_source.hpp.
The documentation for this class was generated from the following file: