WPILibC++ 2024.3.2
wpi::raw_socket_istream Class Reference

#include <wpinet/raw_socket_istream.h>

Inheritance diagram for wpi::raw_socket_istream:
wpi::raw_istream

Public Member Functions

 raw_socket_istream (NetworkStream &stream, int timeout=0)
 
void close () override
 
size_t in_avail () const override
 
- Public Member Functions inherited from wpi::raw_istream
 raw_istream ()=default
 
virtual ~raw_istream ()=default
 
raw_istreamread (char &c)
 
raw_istreamread (unsigned char &c)
 
raw_istreamread (signed char &c)
 
raw_istreamread (void *data, size_t len)
 
size_t readsome (void *data, size_t len)
 
raw_istreamreadinto (SmallVectorImpl< char > &buf, size_t len)
 
raw_istreamreadinto (SmallVectorImpl< uint8_t > &buf, size_t len)
 
raw_istreamreadinto (std::vector< char > &buf, size_t len)
 
raw_istreamreadinto (std::vector< uint8_t > &buf, size_t len)
 
raw_istreamreadinto (std::string &buf, size_t len)
 
std::string_view getline (SmallVectorImpl< char > &buf, int maxLen)
 
virtual void close ()=0
 
virtual size_t in_avail () const =0
 
size_t read_count () const
 
bool has_error () const
 
void clear_error ()
 
 raw_istream (const raw_istream &)=delete
 
raw_istreamoperator= (const raw_istream &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from wpi::raw_istream
void error_detected ()
 
void set_read_count (size_t count)
 

Constructor & Destructor Documentation

◆ raw_socket_istream()

wpi::raw_socket_istream::raw_socket_istream ( NetworkStream stream,
int  timeout = 0 
)
inlineexplicit

Member Function Documentation

◆ close()

void wpi::raw_socket_istream::close ( )
overridevirtual

Implements wpi::raw_istream.

◆ in_avail()

size_t wpi::raw_socket_istream::in_avail ( ) const
overridevirtual

Implements wpi::raw_istream.


The documentation for this class was generated from the following file: