Wire Sysio
Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sstream.hpp
Go to the documentation of this file.
1
#pragma once
2
/*
3
#include <fc/io/iostream.hpp>
4
#include <fc/fwd.hpp>
5
6
namespace fc {
7
8
class stringstream : virtual public iostream {
9
public:
10
stringstream();
11
stringstream( fc::string& s);
12
stringstream( const fc::string& s);
13
~stringstream();
14
15
fc::string str();
16
void str(const fc::string& s);
17
18
void clear();
19
20
virtual bool eof()const;
21
virtual size_t writesome( const char* buf, size_t len );
22
virtual size_t writesome( const std::shared_ptr<const char>& buf, size_t len, size_t offset );
23
virtual size_t readsome( char* buf, size_t len );
24
virtual size_t readsome( const std::shared_ptr<char>& buf, size_t len, size_t offset );
25
virtual void close();
26
virtual void flush();
27
char peek();
28
29
private:
30
class impl;
31
fwd<impl, 392> my;
32
};
33
34
}
35
*/
libraries
fc
include
fc
io
sstream.hpp
Generated by
1.12.0