BitShares-Core  4.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
fc::cin_t Class Reference

#include <stdio.hpp>

Inheritance diagram for fc::cin_t:
fc::istream

Public Member Functions

 ~cin_t ()
 
virtual size_t readsome (char *buf, size_t len)
 
virtual size_t readsome (const std::shared_ptr< char > &buf, size_t len, size_t offset)
 
virtual istreamread (char *buf, size_t len)
 
virtual bool eof () const
 
- Public Member Functions inherited from fc::istream
virtual ~istream ()
 
istreamread (char *buf, size_t len)
 
istreamread (const std::shared_ptr< char > &buf, size_t len, size_t offset=0)
 
virtual char get ()
 
void get (char &c)
 

Detailed Description

Definition at line 23 of file stdio.hpp.

Constructor & Destructor Documentation

fc::cin_t::~cin_t ( )

Definition at line 128 of file iostream.cpp.

Member Function Documentation

bool fc::cin_t::eof ( ) const
virtual

Definition at line 169 of file iostream.cpp.

istream & fc::cin_t::read ( char *  buf,
size_t  len 
)
virtual

Definition at line 136 of file iostream.cpp.

size_t fc::cin_t::readsome ( char *  buf,
size_t  len 
)
virtual

read at least 1 byte or throw, if no data is available this method should block cooperatively until data is available or fc::eof is thrown.

Exceptions
fc::eofif at least 1 byte cannot be read

Implements fc::istream.

Definition at line 103 of file iostream.cpp.

size_t fc::cin_t::readsome ( const std::shared_ptr< char > &  buf,
size_t  len,
size_t  offset 
)
virtual

Implements fc::istream.

Definition at line 126 of file iostream.cpp.


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