Stream buffer for writing a SSH file.
More...
#include <cppfs/include/cppfs/ssh/SshOutputStreamBuffer.h>
|
| SshOutputStreamBuffer (std::shared_ptr< SshFileSystem > fs, const std::string &path, std::ios_base::openmode mode, size_t bufferSize=size_kb(24)) |
| Constructor. More...
|
|
virtual | ~SshOutputStreamBuffer () |
| Destructor. More...
|
|
virtual std::streambuf::int_type | overflow (std::streambuf::int_type value) override |
|
virtual int | sync () override |
|
virtual pos_type | seekoff (off_type off, std::ios_base::seekdir way, std::ios_base::openmode which) override |
|
virtual pos_type | seekpos (pos_type pos, std::ios_base::openmode which) override |
|
Stream buffer for writing a SSH file.
cppfs::SshOutputStreamBuffer::SshOutputStreamBuffer |
( |
std::shared_ptr< SshFileSystem > |
fs, |
|
|
const std::string & |
path, |
|
|
std::ios_base::openmode |
mode, |
|
|
size_t |
bufferSize = size_kb(24) |
|
) |
| |
Constructor.
- Parameters
-
[in] | fs | File system that created this iterator |
[in] | path | Path to file or directory |
[in] | mode | Opening mode flags |
| | |
virtual cppfs::SshOutputStreamBuffer::~SshOutputStreamBuffer |
( |
| ) |
|
|
virtual |
virtual std::streambuf::int_type cppfs::SshOutputStreamBuffer::overflow |
( |
std::streambuf::int_type |
value | ) |
|
|
overridevirtual |
virtual int cppfs::SshOutputStreamBuffer::sync |
( |
| ) |
|
|
overridevirtual |
virtual pos_type cppfs::SshOutputStreamBuffer::seekoff |
( |
off_type |
off, |
|
|
std::ios_base::seekdir |
way, |
|
|
std::ios_base::openmode |
which |
|
) |
| |
|
overridevirtual |
virtual pos_type cppfs::SshOutputStreamBuffer::seekpos |
( |
pos_type |
pos, |
|
|
std::ios_base::openmode |
which |
|
) |
| |
|
overridevirtual |
std::shared_ptr<SshFileSystem> cppfs::SshOutputStreamBuffer::m_fs |
|
protected |
File system that created this iterator.
const std::string cppfs::SshOutputStreamBuffer::m_path |
|
protected |
Path to file or directory.
void* cppfs::SshOutputStreamBuffer::m_file |
|
protected |
std::vector<std::streambuf::char_type> cppfs::SshOutputStreamBuffer::m_buffer |
|
protected |
The documentation for this class was generated from the following file: