Stream buffer for reading a SSH file.
More...
#include <cppfs/include/cppfs/ssh/SshInputStreamBuffer.h>
Stream buffer for reading a SSH file.
| cppfs::SshInputStreamBuffer::SshInputStreamBuffer |
( |
std::shared_ptr< SshFileSystem > |
fs, |
|
|
const std::string & |
path, |
|
|
std::ios_base::openmode |
mode, |
|
|
size_t |
bufferSize = size_kb(32), |
|
|
size_t |
putBackSize = size_b(128) |
|
) |
| |
Constructor.
- Parameters
-
| [in] | fs | File system that created this iterator |
| [in] | path | Path to file or directory |
| [in] | mode | Opening mode flags |
| | |
| virtual cppfs::SshInputStreamBuffer::~SshInputStreamBuffer |
( |
| ) |
|
|
virtual |
| virtual std::streambuf::int_type cppfs::SshInputStreamBuffer::underflow |
( |
| ) |
|
|
overridevirtual |
| virtual pos_type cppfs::SshInputStreamBuffer::seekoff |
( |
off_type |
off, |
|
|
std::ios_base::seekdir |
way, |
|
|
std::ios_base::openmode |
which |
|
) |
| |
|
overridevirtual |
| virtual pos_type cppfs::SshInputStreamBuffer::seekpos |
( |
pos_type |
pos, |
|
|
std::ios_base::openmode |
which |
|
) |
| |
|
overridevirtual |
File system that created this iterator.
| const std::string cppfs::SshInputStreamBuffer::m_path |
|
protected |
Path to file or directory.
| void* cppfs::SshInputStreamBuffer::m_file |
|
protected |
| const size_t cppfs::SshInputStreamBuffer::m_putbackSize |
|
protected |
Size of the putback area.
| std::vector<char> cppfs::SshInputStreamBuffer::m_buffer |
|
protected |
The documentation for this class was generated from the following file: