libkazv
|
#include <asio-std-file-handler.hpp>
Public Types | |
using | DataT = FileContent |
Public Member Functions | |
AsioStdFileStream (Exec exec, std::string filename, FileOpenMode mode) | |
Constructor. More... | |
bool | valid () |
template<class Callback > | |
void | read (int maxSize, Callback readCallback) |
template<class Callback > | |
void | write (DataT data, Callback writeCallback) |
using Kazv::AsioStdFileStream< Exec >::DataT = FileContent |
|
inline |
Constructor.
exec | A boost::asio executor. It should run actions sequentially. |
filename | The file name of this FileStream. |
|
inline |
|
inline |
|
inline |