Vowpal Wabbit
Classes | Namespaces | Functions
io_adapter.h File Reference
#include "../vw_exception.h"
#include <string>
#include <memory>
#include <vector>
#include <unistd.h>

Classes

struct  VW::io::details::socket_closer
 
struct  VW::io::reader
 
struct  VW::io::writer
 
struct  VW::io::socket
 

Namespaces

 VW
 [Error Generator]
 
 VW::io
 
 VW::io::details
 

Functions

std::unique_ptr< writer > VW::io::open_file_writer (const std::string &file_path)
 
std::unique_ptr< reader > VW::io::open_file_reader (const std::string &file_path)
 
std::unique_ptr< writer > VW::io::open_compressed_file_writer (const std::string &file_path)
 
std::unique_ptr< reader > VW::io::open_compressed_file_reader (const std::string &file_path)
 
std::unique_ptr< reader > VW::io::open_compressed_stdin ()
 
std::unique_ptr< writer > VW::io::open_compressed_stdout ()
 
std::unique_ptr< reader > VW::io::open_stdin ()
 
std::unique_ptr< writer > VW::io::open_stdout ()
 
std::unique_ptr< socket > VW::io::wrap_socket_descriptor (int fd)
 
std::unique_ptr< writer > VW::io::create_vector_writer (std::shared_ptr< std::vector< char >> &buffer)
 
std::unique_ptr< reader > VW::io::create_buffer_view (const char *data, size_t len)