BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | List of all members
fc::asio::ostream< AsyncWriteStream > Class Template Reference

#include <asio.hpp>

Inheritance diagram for fc::asio::ostream< AsyncWriteStream >:
fc::ostream

Public Member Functions

 ostream (std::shared_ptr< AsyncWriteStream > str)
 
virtual size_t writesome (const char *buf, size_t len)
 
virtual size_t writesome (const std::shared_ptr< const char > &buf, size_t len, size_t offset)
 
virtual void close ()
 
virtual void flush ()
 
- Public Member Functions inherited from fc::ostream
virtual ~ostream ()
 
void put (char c)
 
ostreamwrite (const char *buf, size_t len)
 
ostreamwrite (const std::shared_ptr< const char > &buf, size_t len, size_t offset=0)
 

Detailed Description

template<typename AsyncWriteStream>
class fc::asio::ostream< AsyncWriteStream >

Definition at line 299 of file asio.hpp.

Constructor & Destructor Documentation

◆ ostream()

template<typename AsyncWriteStream >
fc::asio::ostream< AsyncWriteStream >::ostream ( std::shared_ptr< AsyncWriteStream >  str)
inline

Definition at line 302 of file asio.hpp.

Member Function Documentation

◆ close()

template<typename AsyncWriteStream >
virtual void fc::asio::ostream< AsyncWriteStream >::close ( )
inlinevirtual

Implements fc::ostream.

Definition at line 315 of file asio.hpp.

◆ flush()

template<typename AsyncWriteStream >
virtual void fc::asio::ostream< AsyncWriteStream >::flush ( )
inlinevirtual

Implements fc::ostream.

Definition at line 316 of file asio.hpp.

◆ writesome() [1/2]

template<typename AsyncWriteStream >
virtual size_t fc::asio::ostream< AsyncWriteStream >::writesome ( const char *  buf,
size_t  len 
)
inlinevirtual

Implements fc::ostream.

Definition at line 305 of file asio.hpp.

◆ writesome() [2/2]

template<typename AsyncWriteStream >
virtual size_t fc::asio::ostream< AsyncWriteStream >::writesome ( const std::shared_ptr< const char > &  buf,
size_t  len,
size_t  offset 
)
inlinevirtual

Implements fc::ostream.

Definition at line 310 of file asio.hpp.


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